Skip to content
Snippets Groups Projects
Commit 0df0f832 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing installation when enable gpu and cuda on cpu are both enabled

parent 4c6aa6d2
No related branches found
No related tags found
No related merge requests found
Pipeline #2634 passed
......@@ -37,6 +37,10 @@ set(OPENBLAS_ROOT CACHE PATH "Root path for blas library")
set(SuiteSparse_ROOT ${SUITESPARSE_ROOT})
set(CUDA_ON_CPU CACHE BOOL "Make Cuda work on heap")
# Enabling real GPU is stronger than using CUDA_ON_CPU
if (ENABLE_GPU)
set(CUDA_ON_CPU OFF)
endif()
set (CMAKE_CXX_STANDARD 14)
set (CMAKE_CUDA_STANDARD 14)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment