File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1- # This example uses C++20 ranges. CUDA 13 nvcc has incompatibilities with GCC 14's libstdc++ ranges implementation.
1+ # This example uses C++20 ranges, so it requires C++20.
2+ if (NOT "20" STREQUAL "${config_dialect} " )
3+ set_target_properties (${example_target} PROPERTIES EXCLUDE_FROM_ALL TRUE )
4+ set_tests_properties (${example_target} PROPERTIES DISABLED TRUE )
5+ return ()
6+ endif ()
7+
8+ # CUDA 13 nvcc has incompatibilities with GCC 14's libstdc++ ranges implementation.
29# Disable this example for CUDA 13 + GCC 14 combination.
310if ("CUDA" STREQUAL "${config_device} " AND "${CMAKE_CUDA_COMPILER_VERSION} " VERSION_LESS "14.0" )
411 if ("GNU" STREQUAL "${CMAKE_CXX_COMPILER_ID} " AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 14)
You can’t perform that action at this time.
0 commit comments