aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compute/hs/cl/intel/gen8/u64/make_all.bat
diff options
context:
space:
mode:
Diffstat (limited to 'src/compute/hs/cl/intel/gen8/u64/make_all.bat')
-rw-r--r--src/compute/hs/cl/intel/gen8/u64/make_all.bat26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/compute/hs/cl/intel/gen8/u64/make_all.bat b/src/compute/hs/cl/intel/gen8/u64/make_all.bat
new file mode 100644
index 0000000000..ee075b3f92
--- /dev/null
+++ b/src/compute/hs/cl/intel/gen8/u64/make_all.bat
@@ -0,0 +1,26 @@
+@ECHO OFF
+
+SET HS_GEN=..\..\..\..\..\..\spinel\bin\x64\Debug\hs_gen
+
+:: --- 32-bit keys ---
+
+:: %HS_GEN% -v -a "opencl" -t 1 -w 8 -r 24 -s 32768 -S 65536 -b 28 -B 56 -m 1 -M 1 -f 1 -F 1 -c 1 -C 1 -z
+:: %HS_GEN% -v -a "opencl" -t 1 -w 8 -r 32 -s 21504 -S 65536 -b 16 -B 48 -m 1 -M 1 -f 1 -F 1 -c 1 -C 1 -z
+:: %HS_GEN% -v -a "opencl" -t 1 -w 8 -r 32 -s 8192 -S 65536 -b 8 -B 56 -m 1 -M 1 -f 0 -F 0 -c 0 -C 0 -z
+
+:: --- 64-bit keys
+
+%HS_GEN% -v -a "opencl" -t 2 -w 8 -r 16 -s 21504 -S 65536 -b 16 -B 48 -m 1 -M 1 -f 1 -F 1 -c 1 -C 1 -z
+:: %HS_GEN% -v -a "opencl" -t 2 -w 8 -r 16 -s 32768 -S 65536 -b 28 -B 56 -m 1 -M 1 -f 0 -F 0 -c 0 -C 0 -z
+
+::
+:: remove trailing whitespace from generated files
+::
+
+sed -i 's/[[:space:]]*$//' hs_cl.h
+
+::
+:: preprocess and build kernels
+::
+
+make_inl_cl.bat hs_cl.cl