mirror of
https://github.com/g-truc/glm.git
synced 2025-04-08 06:43:10 +00:00
Merge pull request #613 from blahgeek/cuda-compiler-version
Properly set cuda compiler version #613
This commit is contained in:
commit
ff790f3593
1 changed files with 6 additions and 2 deletions
|
@ -146,8 +146,12 @@
|
|||
# endif
|
||||
# if CUDA_VERSION < 7000
|
||||
# error "GLM requires CUDA 7.0 or higher"
|
||||
# else
|
||||
# define GLM_COMPILER GLM_COMPILER_CUDA
|
||||
# elif (CUDA_VERSION >= 7000 && CUDA_VERSION < 7500)
|
||||
# define GLM_COMPILER GLM_COMPILER_CUDA70
|
||||
# elif (CUDA_VERSION >= 7500 && CUDA_VERSION < 8000)
|
||||
# define GLM_COMPILER GLM_COMPILER_CUDA75
|
||||
# elif (CUDA_VERSION >= 8000)
|
||||
# define GLM_COMPILER GLM_COMPILER_CUDA80
|
||||
# endif
|
||||
|
||||
// Clang
|
||||
|
|
Loading…
Add table
Reference in a new issue