Host code now compiled according to the C++11 standard. The device code has used C++11 for a while now and it's good to use a single standard consistently throughout the project. Old Intel compilers (~14.0) do not seem to support C++11 but the code should still compile since the flag is ignored in that case.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#-------------------General---------------------------------------------------#
|
||||
|
||||
project(ASTAROTH_2.0 CXX)
|
||||
set (CMAKE_CXX_STANDARD 98)
|
||||
set (CMAKE_CXX_STANDARD 11)
|
||||
cmake_minimum_required (VERSION 3.5.1) # Need >= 3.8 for first-class CUDA support
|
||||
cmake_policy (SET CMP0023 NEW)
|
||||
|
||||
|
Reference in New Issue
Block a user