User Tools

Site Tools


howto:libcusmm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howto:libcusmm [2014/03/28 14:31] oschuetthowto:libcusmm [2014/03/28 14:33] oschuett
Line 37: Line 37:
 tune_8x8x8.job tune_8x8x8.job
 </code> </code>
-For each possible parameter-set a //launcher// is generated. A launcher is a small snipped of C code, which launches the kernel by using the cuda specific ''<<< >>>''-notation. It also instantiates the C++ template which contains the actual kernel code.+For each possible parameter-set a //launcher// is generated. A launcher is a small snipped of C code, which launches the kernel by using the cuda specific ''%%<<< >>>%%''-notation. It also instantiates the C++ template which contains the actual kernel code.
  
 In order to parallelize the benchmarking the launchers are distributed over multiple executables. In order to parallelize the benchmarking the launchers are distributed over multiple executables.
Line 44: Line 44:
 === Step 3: Submit Jobs === === Step 3: Submit Jobs ===
 Each tune-directory contains a job file. Each tune-directory contains a job file.
-Since, there might be many tune-directories the convince script ''submit.py'' can be used. It will go through all the ''tune_*''-directories and check if it has already been submited or run. For this the script calls ''squeue'' in the background and it searches for ''slurm-*.out'' files.+Since, there might be many tune-directories the convenience script ''submit.py'' can be used. It will go through all the ''tune_*''-directories and check if it has already been submited or run. For this the script calls ''squeue'' in the background and it searches for ''slurm-*.out'' files.
  
 When ''submit.py'' is called without arguments it will just list the jobs that could be submitted: When ''submit.py'' is called without arguments it will just list the jobs that could be submitted:
Line 60: Line 60:
 </code> </code>
  
-Only when ''submit.py'' is called with ''doit!'' as its first argument it will actually submit job:+Only when ''submit.py'' is called with ''doit!'' as its first argument it will actually submit jobs:
 <code> <code>
 $ ./submit.py doit! $ ./submit.py doit!