Skip to content

Commit

Permalink
[skip ci] Update script prepare_gpu_build.sh for nightly build (#648)
Browse files Browse the repository at this point in the history
Signed-off-by: Cai Yudong <[email protected]>
  • Loading branch information
cydrain committed Jun 14, 2024
1 parent 8ad9fca commit 6ee20d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/prepare_gpu_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
# This script is to modify CMakeLists.txt to build knowhere for certain GPU serials
# GTX 1060 - sm_61
# GTX 1660 - sm_75
sed 's/set(CMAKE_CUDA_ARCHITECTURES .*$/set(CMAKE_CUDA_ARCHITECTURES \"61-real;75-real\")/' CMakeLists.txt > tmp
# GTX 2080 SUPER - sm_75
sed 's/set(CMAKE_CUDA_ARCHITECTURES .*$/set(CMAKE_CUDA_ARCHITECTURES \"75-real\")/' CMakeLists.txt > tmp
mv tmp CMakeLists.txt

0 comments on commit 6ee20d3

Please sign in to comment.