diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fafbde..06fd3b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,7 @@ if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS}) endif() -set(CUDAVER 9.2) +set(CUDAVER 10.0) set(PGI_YEAR 2019) if(OPENACC_GPU) find_path(cuFFT_INCLUDE_DIR cufft.h HINTS $ENV{PGI}/linux86-64/${PGI_YEAR}/cuda/${CUDAVER}/include) @@ -123,7 +123,7 @@ else() add_definitions(-DBOOST_NO_ALIGNMENT) if(OPENACC_GPU) add_definitions(-DOPENACC_GPU) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mp -tp=px -Mnollvm -Mcuda -Minfo=accel -fast -acc -ta=tesla:cc35,cc60,cuda${CUDAVER},flushz -pgf90libs") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mp -tp=px -Mnollvm -Mcuda -Minfo=accel -fast -acc -ta=tesla:cc35,cc60,cc75,cuda${CUDAVER},flushz -pgf90libs") elseif(OPENACC_MP) add_definitions(-DOPENACC_MP) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Mnollvm -O1 -Minfo=accel -acc -ta=multicore -pgf90libs")