Skip to content

Commit 3eb5131

Browse files
authored
Create lunch_cuda.sh
1 parent f2fcdac commit 3eb5131

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

examples/cuda/lunch_cuda.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
#SBATCH --job-name=Cuda # create a short name for your job
3+
#SBATCH --output="Cuda-%j.out" # %j will be replaced by the slurm jobID
4+
#SBATCH --nodes=1 # node count
5+
#SBATCH --ntasks=1 # total number of tasks across all nodes
6+
#SBATCH --cpus-per-task=2 # cpu-cores per task (>1 if multi-threaded tasks)
7+
#SBATCH --gres=gpu:1 # number of gpus per node
8+
9+
# run the compiled binary
10+
./vector_addition

0 commit comments

Comments
 (0)