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