Loading graph_framework/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ target_compile_definitions (rays $<$<PLATFORM_ID:Linux>:CXX="${CMAKE_CXX_COMPILER} -I${CMAKE_CURRENT_SOURCE_DIR} -std=gnu++2a"> $<$<PLATFORM_ID:Linux>:CXX_FLAGS="-g -fsanitize=undefined -fsanitize=float-divide-by-zero"> NC_FILE="${CMAKE_CURRENT_SOURCE_DIR}/../graph_tests/efit.nc" $<$<BOOL:${USE_CUDA}>:HEADERS=$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/special_functions.hpp>> $<$<BOOL:${USE_CUDA}>:HEADER_DIR=$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>> ) target_include_directories (rays INTERFACE Loading graph_framework/cuda_context.hpp +3 −2 Original line number Diff line number Diff line Loading @@ -203,11 +203,12 @@ namespace gpu { } const std::string temp = arch.str(); std::array<const char *, 4> options({ std::array<const char *, 5> options({ temp.c_str(), "--std=c++17", "--include-path=" CUDA_INCLUDE, "--include-path=" HEADERS "--include-path=" HEADER_DIR, "--extra-device-vectorization" }); if (nvrtcCompileProgram(kernel_program, options.size(), options.data())) { Loading Loading
graph_framework/CMakeLists.txt +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ target_compile_definitions (rays $<$<PLATFORM_ID:Linux>:CXX="${CMAKE_CXX_COMPILER} -I${CMAKE_CURRENT_SOURCE_DIR} -std=gnu++2a"> $<$<PLATFORM_ID:Linux>:CXX_FLAGS="-g -fsanitize=undefined -fsanitize=float-divide-by-zero"> NC_FILE="${CMAKE_CURRENT_SOURCE_DIR}/../graph_tests/efit.nc" $<$<BOOL:${USE_CUDA}>:HEADERS=$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/special_functions.hpp>> $<$<BOOL:${USE_CUDA}>:HEADER_DIR=$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>> ) target_include_directories (rays INTERFACE Loading
graph_framework/cuda_context.hpp +3 −2 Original line number Diff line number Diff line Loading @@ -203,11 +203,12 @@ namespace gpu { } const std::string temp = arch.str(); std::array<const char *, 4> options({ std::array<const char *, 5> options({ temp.c_str(), "--std=c++17", "--include-path=" CUDA_INCLUDE, "--include-path=" HEADERS "--include-path=" HEADER_DIR, "--extra-device-vectorization" }); if (nvrtcCompileProgram(kernel_program, options.size(), options.data())) { Loading