Commit 864f7ff3 authored by Cianciosa, Mark's avatar Cianciosa, Mark
Browse files

Change header to header directory.

parent a4bd8e53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+3 −2
Original line number Diff line number Diff line
@@ -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())) {