From 190d0cbaa76c0be7555b06a2338d7a97fe0ff54a Mon Sep 17 00:00:00 2001 From: Rob Armstrong Date: Wed, 11 Dec 2024 20:24:08 +0000 Subject: [PATCH] Add missed CMakeLists --- Samples/0_Introduction/matrixMulDrv/CMakeLists.txt | 11 +++++++++++ Samples/0_Introduction/matrixMul_nvrtc/CMakeLists.txt | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 Samples/0_Introduction/matrixMulDrv/CMakeLists.txt create mode 100644 Samples/0_Introduction/matrixMul_nvrtc/CMakeLists.txt diff --git a/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt b/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt new file mode 100644 index 00000000..eca94038 --- /dev/null +++ b/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt @@ -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) diff --git a/Samples/0_Introduction/matrixMul_nvrtc/CMakeLists.txt b/Samples/0_Introduction/matrixMul_nvrtc/CMakeLists.txt new file mode 100644 index 00000000..620d8d30 --- /dev/null +++ b/Samples/0_Introduction/matrixMul_nvrtc/CMakeLists.txt @@ -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)