/
srv
/
osrm
/
osrm-backend
/
third_party
/
fmt-9.1.0
/
test
/
cuda-test
/
/srv/osrm/osrm-backend/third_party/fmt-9.1.0/test/cuda-test
mkdir
upload
Name
Size
Mode
Actions
CMakeLists.txt
3364
0644
edit
dl
rm
cpp14.cc
418
0644
edit
dl
rm
cuda-cpp14.cu
905
0644
edit
dl
rm
Edit:
/srv/osrm/osrm-backend/third_party/fmt-9.1.0/test/cuda-test/cpp14.cc
(418B)
#include <fmt/core.h> // The purpose of this part is to ensure NVCC's host compiler also supports // the standard version. See 'cuda-cpp14.cu'. // // https://en.cppreference.com/w/cpp/preprocessor/replace#Predefined_macros static_assert(__cplusplus >= 201402L, "expect C++ 2014 for host compiler"); auto make_message_cpp() -> std::string { return fmt::format("host compiler \t: __cplusplus == {}", __cplusplus); }
Save
cmd:
run