Build with correct CUDA release flags
This commit is contained in:
parent
a743d76a01
commit
280c93a429
1 changed files with 1 additions and 0 deletions
|
@ -868,6 +868,7 @@ if (LLAMA_ALL_WARNINGS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CUDA_CXX_FLAGS "")
|
set(CUDA_CXX_FLAGS "")
|
||||||
|
set(CMAKE_CUDA_FLAGS_RELEASE "-O3 -DNDEBUG")
|
||||||
|
|
||||||
if (LLAMA_CUDA)
|
if (LLAMA_CUDA)
|
||||||
set(CUDA_FLAGS -use_fast_math)
|
set(CUDA_FLAGS -use_fast_math)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue