Skip to content

Commit

Permalink
specify gcc&cuda version for CUDA compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
zqh-wz authored Apr 9, 2024
1 parent 608c764 commit 9da25e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/assignments/4.cuda0.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ cd ~/exp4/
加载环境并编译 CUDA 代码

```bash
spack load cuda
spack load [email protected]
spack load [email protected]
make
srun --gpus 1 --exclusive ./run_cuda
```
Expand Down

0 comments on commit 9da25e9

Please sign in to comment.