mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-07-02 13:20:30 +08:00
Add missed CMakeLists
This commit is contained in:
parent
e53fcad712
commit
190d0cbaa7
11
Samples/0_Introduction/matrixMulDrv/CMakeLists.txt
Normal file
11
Samples/0_Introduction/matrixMulDrv/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Include directories and libraries
|
||||||
|
include_directories(../../../Common)
|
||||||
|
|
||||||
|
# Source file
|
||||||
|
set(SRC_FILES
|
||||||
|
matrixMulDrv.cu
|
||||||
|
)
|
||||||
|
|
||||||
|
# Add target for matrixMulDrv
|
||||||
|
add_executable(matrixMulDrv ${SRC_FILES})
|
||||||
|
set_target_properties(matrixMulDrv PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
11
Samples/0_Introduction/matrixMul_nvrtc/CMakeLists.txt
Normal file
11
Samples/0_Introduction/matrixMul_nvrtc/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Include directories and libraries
|
||||||
|
include_directories(../../../Common)
|
||||||
|
|
||||||
|
# Source file
|
||||||
|
set(SRC_FILES
|
||||||
|
matrixMul_nvrtc.cu
|
||||||
|
)
|
||||||
|
|
||||||
|
# Add target for matrixMul_nvrtc
|
||||||
|
add_executable(matrixMul_nvrtc ${SRC_FILES})
|
||||||
|
set_target_properties(matrixMul_nvrtc PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
Loading…
x
Reference in New Issue
Block a user