Download examples/cmake/add_subdir/dummy.cpp from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 825 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/examples/cmake/add_subdir/dummy.cpp
- Command line
-
hf download hf://camenduru/thrust/examples/cmake/add_subdir/dummy.cpp
-
curl -L -o dummy.cpp https://huggingface.co/camenduru/thrust/resolve/main/examples/cmake/add_subdir/dummy.cpp
825 Bytes
| int main() | |
| { | |
| std::cout << "Hello from Thrust version " << THRUST_VERSION << ":\n" | |
| << "Host system: " | |
| << "CPP\n" | |
| << "OMP\n" | |
| << "TBB\n" | |
| << "Unknown\n" | |
| << "Device system: " | |
| << "CPP\n"; | |
| << "CUDA\n"; | |
| << "OMP\n"; | |
| << "TBB\n"; | |
| << "Unknown\n"; | |
| } | |