mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 06:05:29 -04:00
[cmake] Update cuda standard to c++14
gcc 14 and cuda 12.8:12.9 require c++14 to work properly.
This commit is contained in:
parent
c9db3194df
commit
5e46bb3ced
1 changed files with 6 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules")
|
|||
#
|
||||
|
||||
if(NOT DEFINED CMAKE_CUDA_STANDARD)
|
||||
set(CMAKE_CUDA_STANDARD 11)
|
||||
set(CMAKE_CUDA_STANDARD 14)
|
||||
set(CMAKE_CUDA_STANDARD_REQUIRED ON)
|
||||
endif()
|
||||
|
||||
|
|
@ -213,6 +213,11 @@ cmake_dependent_option(
|
|||
"Enable SpLA dgemm offloading (only valid with GPU support on)"
|
||||
"(NOT CP2K_USE_ACCEL MATCHES \"NONE\") AND (CP2K_USE_SPLA)" OFF)
|
||||
|
||||
cmake_dependent_option(
|
||||
CP2K_USE_LIBVDWXC OFF
|
||||
"Compile CP2K with libvdwxc support when SIRIUS is compiled with it"
|
||||
"CP2K_USE_SIRIUS" OFF)
|
||||
|
||||
set(CP2K_BLAS_VENDOR
|
||||
"auto"
|
||||
CACHE STRING "BLAS library for computations on host")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue