Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
RussWong committed Mar 5, 2024
1 parent b3c5455 commit 369b7bc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ if that does not work, pls try:
`nvcc xxx.cu --gpu-architecture=compute_yy -o xxx`
xxx is file name, yy is GPU compute capability, ep.A100's compute capability is 86.
2. one-click compile and run
please ensure:
1.cmake version >= 3.8
2.you have CUDA TOOLKIT installed in system root directory, downloaded link is https://developer.nvidia.com/cuda-downloads.
```
mkdir build \
cd build \
cmake .. && make -j8 \
cd bin \
mkdir build
cd build
cmake .. && make -j8
cd bin
./xxx
```
## remark
Expand Down

0 comments on commit 369b7bc

Please sign in to comment.