Skip to content

Commit f12191a

Browse files
Handle cuda
1 parent 123b829 commit f12191a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

include/pybind11/detail/common.h

-5
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@
2323
# define PYBIND11_PRAGMA(...) __pragma(__VA_ARGS__)
2424
# define PYBIND11_WARNING_PUSH PYBIND11_PRAGMA(warning(push))
2525
# define PYBIND11_WARNING_POP PYBIND11_PRAGMA(warning(pop))
26-
#elif defined(__NVCC__)
27-
# define PYBIND11_COMPILER_NVCC
28-
# define PYBIND11_PRAGMA(...) _Pragma(# __VA_ARGS__)
29-
# define PYBIND11_WARNING_PUSH PYBIND11_PRAGMA(nv_diagnostic push)
30-
# define PYBIND11_WARNING_POP PYBIND11_PRAGMA(nv_diagnostic pop)
3126
#elif defined(__INTEL_COMPILER)
3227
# define PYBIND11_COMPILER_INTEL
3328
# define PYBIND11_PRAGMA(...) _Pragma(# __VA_ARGS__)

0 commit comments

Comments
 (0)