mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-07-02 05:10:31 +08:00
17 lines
431 B
CMake
17 lines
431 B
CMake
# Include directories and libraries
|
|
include_directories(../../../Common)
|
|
|
|
# Source file
|
|
set(SRC_FILES
|
|
conjugateGradientCudaGraphs.cu
|
|
)
|
|
|
|
# Add target for conjugateGradientCudaGraphs
|
|
add_executable(conjugateGradientCudaGraphs ${SRC_FILES})
|
|
set_target_properties(conjugateGradientCudaGraphs PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
|
|
|
target_link_libraries(conjugateGradientCudaGraphs PRIVATE
|
|
CUDA::cublas
|
|
CUDA::cusparse
|
|
)
|