From 1e751edfe260b04a5f5ba34b02062a5fb227ddfa Mon Sep 17 00:00:00 2001 From: Shun-Cheng Wu <23650527+ShunChengWu@users.noreply.github.com> Date: Thu, 28 Sep 2023 21:50:31 +0200 Subject: [PATCH] fix the error of illegal memory access caused by cub --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bb7220d2..abd23469 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ "cuda_rasterizer/backward.cu", "rasterize_points.cu", "ext.cpp"], - extra_compile_args={"nvcc": ["-I" + os.path.join(os.path.dirname(os.path.abspath(__file__)), "third_party/glm/")]}) + extra_compile_args={"nvcc": ["-Xcompiler", "-fno-gnu-unique","-I" + os.path.join(os.path.dirname(os.path.abspath(__file__)), "third_party/glm/")]}) ], cmdclass={ 'build_ext': BuildExtension