We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2fcdac commit 3eb5131Copy full SHA for 3eb5131
examples/cuda/lunch_cuda.sh
@@ -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