diff options
| author | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-02 11:55:17 -0700 |
|---|---|---|
| committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-02 11:55:17 -0700 |
| commit | 6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6 (patch) | |
| tree | ed97e39ec77c5231ffd2c394493e68d00ddac5a4 /Homework/cs3460/smart_pointers/build/_deps/fmt-src/test/cuda-test/cpp14.cc | |
| download | misc-undergrad-main.tar.gz misc-undergrad-main.zip | |
Diffstat (limited to 'Homework/cs3460/smart_pointers/build/_deps/fmt-src/test/cuda-test/cpp14.cc')
| -rw-r--r-- | Homework/cs3460/smart_pointers/build/_deps/fmt-src/test/cuda-test/cpp14.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Homework/cs3460/smart_pointers/build/_deps/fmt-src/test/cuda-test/cpp14.cc b/Homework/cs3460/smart_pointers/build/_deps/fmt-src/test/cuda-test/cpp14.cc new file mode 100644 index 0000000..ad84639 --- /dev/null +++ b/Homework/cs3460/smart_pointers/build/_deps/fmt-src/test/cuda-test/cpp14.cc @@ -0,0 +1,11 @@ +#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); +} |
