Skip to content

Commit a0ce722

Browse files
committed
fix(kernel): use c++17 for nvrtc
Signed-off-by: YdrMaster <ydrml@hotmail.com>
1 parent cddc548 commit a0ce722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/04kernel/src/generator/nvrtc_repo.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace refactor::kernel::nvrtc {
2929
}
3030
NVRTC_ASSERT(nvrtcCreateProgram(&prog, code.data(), name.data(), 0, nullptr, nullptr));
3131

32-
std::vector<std::string> opts{"--std=c++20", "--gpu-architecture=compute_80"};
32+
std::vector<std::string> opts{"--std=c++17", "--gpu-architecture=compute_80"};
3333
#ifdef CUDA_INCLUDE_PATH
3434
opts.emplace_back(fmt::format("-I{}", CUDA_INCLUDE_PATH));
3535
#endif

0 commit comments

Comments
 (0)