diff options
author | Derick Huth <derickhuth@gmail.com> | 2015-09-24 11:26:53 -0600 |
---|---|---|
committer | Derick Huth <derickhuth@gmail.com> | 2015-09-24 11:26:53 -0600 |
commit | c285135eb903c31cd221f90f03e288a6b67770cd (patch) | |
tree | 1f6ea3120a09feef7236dac579d5a2d5b774aaa7 /examples/cuda-chill/mm.lua | |
parent | f5c39e4c6ff55520948c2ef331c968cd84b817d9 (diff) | |
download | chill-c285135eb903c31cd221f90f03e288a6b67770cd.tar.gz chill-c285135eb903c31cd221f90f03e288a6b67770cd.tar.bz2 chill-c285135eb903c31cd221f90f03e288a6b67770cd.zip |
pre-v0.2.1
Diffstat (limited to 'examples/cuda-chill/mm.lua')
-rw-r--r-- | examples/cuda-chill/mm.lua | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/examples/cuda-chill/mm.lua b/examples/cuda-chill/mm.lua deleted file mode 100644 index 5bde1b0..0000000 --- a/examples/cuda-chill/mm.lua +++ /dev/null @@ -1,38 +0,0 @@ -init("mm.c", "normalMM", 0) -dofile("cudaize.lua") -N=1024 -Ti=128 -Tj=64 -Tk=16 -Tii=16 -Tjj=16 - - - - -N=1024 - - - - - - - - - - - - - -tile_by_index({"i","j"},{Ti,Tj},{l1_control="ii",l2_control="jj"},{"ii","jj","i","j","k"})CU=1 - -tile_by_index({"k"},{Tk},{l1_control="kk"},{"ii","jj","kk","i","j","k"})CU=3 - -tile_by_index({"i","j"},{Tii,Tjj},{l1_control="iii",l2_control="jjj"},{"ii","jj","kk","i","iii","j","jjj","k"},1)CU=2 - -cudaize("mm_GPU",{a=1048576,b=1048576,c=1048576},{block={"ii","jj"}, thread={"i","j"}})CU=2 -copy_to_shared("tx","a",-16) -copy_to_shared("tx","b",-16) -copy_to_registers("kk","c") ---print_code() -unroll_to_depth(2) |