Skip to content

Commit

Permalink
Add additional CI program options
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Aug 6, 2024
1 parent 51cd063 commit faba323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_gamma_nvrtc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ int main()
nvrtcAddNameExpression(prog, "test_gamma_kernel");

#ifdef BOOST_MATH_NVRTC_CI_RUN
const char* opts[] = {"--std=c++14", "--include-path=/home/runner/work/cuda-math/boost-root/libs/cuda-math/include/"};
const char* opts[] = {"--std=c++14", "--gpu-architecture=compute_75", "--include-path=/home/runner/work/cuda-math/boost-root/libs/cuda-math/include/"};
#else
const char* opts[] = {"--std=c++14", "--include-path=/home/mborland/Documents/boost/libs/cuda-math/include/"};
#endif

// Compile the program
res = nvrtcCompileProgram(prog, 2, opts);
res = nvrtcCompileProgram(prog, sizeof(opts) / sizeof(const char*), opts);
if (res != NVRTC_SUCCESS)
{
size_t log_size;
Expand Down

0 comments on commit faba323

Please sign in to comment.