mirror of
https://github.com/nlohmann/json.git
synced 2026-07-09 12:05:10 +00:00
f3d48e4f2f
The ci_cuda_example job compiled against the json-ci image's CUDA 11.0 toolkit at cuda_std_11, which cannot exercise #3907 (a c++20 parse error in iteration_proxy.hpp's enable_borrowed_range reported under nvcc). Switch the job to pull official nvidia/cuda devel images directly and matrix across CUDA 11.8-12.6 at cuda_std_20 so CI can empirically confirm which versions are actually affected before any source-level fix is attempted. Signed-off-by: Niels Lohmann <mail@nlohmann.me>
11 lines
324 B
CMake
11 lines
324 B
CMake
cmake_minimum_required(VERSION 3.18)
|
|
project(json_cuda LANGUAGES CUDA)
|
|
|
|
add_executable(json_cuda json_cuda.cu)
|
|
target_include_directories(json_cuda PRIVATE ../../include)
|
|
target_compile_features(json_cuda PUBLIC cuda_std_20)
|
|
set_target_properties(json_cuda PROPERTIES
|
|
CUDA_EXTENSIONS OFF
|
|
CUDA_STANDARD_REQUIRED ON
|
|
)
|