1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
# Common stuff for CPU vectorization support modulefiles
#
# This is really a placeholder modulefile, does not define anything
#
# Expects the following Tcl variable to have been set
# simd: level of SIMD/CPU vectorization support.
# Eg avx, avx2, sse4.1, etc
proc ModulesHelp { } {
global simd
puts stderr "
This is a dummy modulefile to indicate that the CPU vectorization
should be set to '$simd' where possible.
"
}
module-whatis "CPU Vectorization support level: $simd"
# Even in production, this modulefile would not do anything
conflict simd
|