From 53a02af44356e687318954d959cca22c3a473796 Mon Sep 17 00:00:00 2001 From: Rob Armstrong Date: Wed, 11 Dec 2024 15:25:53 -0800 Subject: [PATCH] Uniquify fatbin generation target for matrixMulDrv --- Samples/0_Introduction/matrixMulDrv/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt b/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt index cffbb099..bd9fd5c5 100644 --- a/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt +++ b/Samples/0_Introduction/matrixMulDrv/CMakeLists.txt @@ -29,7 +29,7 @@ add_custom_command( ) # Create a dummy target for fatbin generation -add_custom_target(generate_fatbin ALL DEPENDS ${CUDA_FATBIN_FILE}) +add_custom_target(generate_fatbin_matmulDrv ALL DEPENDS ${CUDA_FATBIN_FILE}) # Ensure matrixMulDrv depends on the fatbin -add_dependencies(matrixMulDrv generate_fatbin) +add_dependencies(matrixMulDrv generate_fatbin_matmulDrv)