File: common

package info (click to toggle)
modules 5.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 20,572 kB
  • sloc: exp: 46,525; sh: 5,261; tcl: 3,182; makefile: 1,355; ansic: 466; python: 251; csh: 201; perl: 47; ruby: 44
file content (21 lines) | stat: -rw-r--r-- 560 bytes parent folder | download | duplicates (4)
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