Download cmake/ThrustRunTest.cmake from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/cmake/ThrustRunTest.cmake
- Command line
-
hf download hf://camenduru/thrust/cmake/ThrustRunTest.cmake
-
curl -L -o ThrustRunTest.cmake https://huggingface.co/camenduru/thrust/resolve/main/cmake/ThrustRunTest.cmake
189 Bytes
| execute_process( | |
| COMMAND "${THRUST_BINARY}" | |
| RESULT_VARIABLE EXIT_CODE | |
| ) | |
| if (NOT "0" STREQUAL "${EXIT_CODE}") | |
| message(FATAL_ERROR "${THRUST_BINARY} failed (${EXIT_CODE})") | |
| endif () | |