Skip to content

Commit

Permalink
Fixed NVIDIA compiler arguments on build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Oct 10, 2024
1 parent 0d79bb0 commit 1f068c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@

gpp_command += cpp_files + ['-o', OUTPUT_EXECUTABLE]
nvcc_command = [
'nvcc',
'-Iinclude'
'nvcc', '-x cu', '-Iinclude',
'-Xcompiler /std:c++17'
] + cpp_files + ['-o', OUTPUT_EXECUTABLE + '-cuda']

os.makedirs(OUT_DIR, exist_ok=True)
Expand Down

0 comments on commit 1f068c7

Please sign in to comment.