From f22f92b538ac24c121845456eacbdfb1bd908757 Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Thu, 10 Oct 2024 10:54:01 +0800 Subject: [PATCH] Fixed NVIDIA compiler arguments on build script. --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 5bedd2d..4e13ec9 100644 --- a/build.py +++ b/build.py @@ -52,7 +52,7 @@ gpp_command += cpp_files + ['-o', OUTPUT_EXECUTABLE] nvcc_command = [ - 'nvcc', '-x cu', '-Iinclude', + 'nvcc', '-Iinclude', '-Xcompiler /std:c++17' ] + cpp_files + ['-o', OUTPUT_EXECUTABLE + '-cuda']