Skip to content

Commit 2a73b3f

Browse files
committed
Remove CUDA system include
1 parent a46c55d commit 2a73b3f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,6 @@ if (MATX_MULTI_GPU)
172172
find_package(Nvshmem REQUIRED)
173173
endif()
174174

175-
# NVHPC has a bug where it doesn't create the CUDA includes as system includes. This causes errors with
176-
# the warnings we enable. Forcefully add it here.
177-
target_compile_options(matx INTERFACE -isystem=${CUDAToolkit_INCLUDE_DIRS})
178-
179175
# Find python3 and pybind11 for generating unit tests and benchmarks
180176
if (MATX_EN_FILEIO OR MATX_EN_VISUALIZATION OR MATX_EN_PYBIND11 OR MATX_BUILD_EXAMPLES OR MATX_BUILD_TESTS OR MATX_BUILD_BENCHMARKS)
181177
message(STATUS "Enabling pybind11 support")

0 commit comments

Comments
 (0)