Download samples/cpp/tutorial_code/gpu/gpu-thrust-interop/CMakeLists.txt from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/tgollogly/test/resolve/main/samples/cpp/tutorial_code/gpu/gpu-thrust-interop/CMakeLists.txt
- Command line
-
hf download hf://tgollogly/test/samples/cpp/tutorial_code/gpu/gpu-thrust-interop/CMakeLists.txt
-
curl -L -o CMakeLists.txt https://huggingface.co/tgollogly/test/resolve/main/samples/cpp/tutorial_code/gpu/gpu-thrust-interop/CMakeLists.txt
293 Bytes
| CMAKE_MINIMUM_REQUIRED(VERSION 2.8) | |
| FIND_PACKAGE(CUDA REQUIRED) | |
| INCLUDE_DIRECTORIES(${CUDA_INCLUDE_DIRS}) | |
| FIND_PACKAGE(OpenCV REQUIRED COMPONENTS core) | |
| INCLUDE_DIRECTORIES(${OpenCV_INCLUDE_DIRS}) | |
| CUDA_ADD_EXECUTABLE(opencv_thrust main.cu) | |
| TARGET_LINK_LIBRARIES(opencv_thrust ${OpenCV_LIBS}) |