From 9b89154d1ddb1047d2772853f047c55898b2d0dd Mon Sep 17 00:00:00 2001 From: Finlay Marno Date: Fri, 6 Dec 2024 15:45:21 +0000 Subject: [PATCH 1/2] Only enable example 14 when the backend is CUDA --- examples/14_ampere_tf32_tensorop_gemm/CMakeLists.txt | 10 ++++++---- .../ampere_tf32_tensorop_gemm_cute.cpp | 0 2 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 examples/14_ampere_tf32_tensorop_gemm/ampere_tf32_tensorop_gemm_cute.cpp diff --git a/examples/14_ampere_tf32_tensorop_gemm/CMakeLists.txt b/examples/14_ampere_tf32_tensorop_gemm/CMakeLists.txt index 876afdfba7..1d875a416e 100644 --- a/examples/14_ampere_tf32_tensorop_gemm/CMakeLists.txt +++ b/examples/14_ampere_tf32_tensorop_gemm/CMakeLists.txt @@ -34,7 +34,9 @@ if (NOT CUTLASS_ENABLE_SYCL) ) endif() -cutlass_example_add_executable( - 14_ampere_tf32_tensorop_gemm_cute - ampere_tf32_tensorop_gemm_cute.cu -) +if (SYCL_NVIDIA_TARGET) + cutlass_example_add_executable( + 14_ampere_tf32_tensorop_gemm_cute + ampere_tf32_tensorop_gemm_cute.cu + ) +endif() diff --git a/examples/14_ampere_tf32_tensorop_gemm/ampere_tf32_tensorop_gemm_cute.cpp b/examples/14_ampere_tf32_tensorop_gemm/ampere_tf32_tensorop_gemm_cute.cpp deleted file mode 100644 index e69de29bb2..0000000000 From 1a7ed99ae84583c71386e5f3f6072c969f5e181c Mon Sep 17 00:00:00 2001 From: Finlay Marno Date: Tue, 10 Dec 2024 13:43:42 +0000 Subject: [PATCH 2/2] include cute example 14 for cuda backend --- examples/14_ampere_tf32_tensorop_gemm/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/14_ampere_tf32_tensorop_gemm/CMakeLists.txt b/examples/14_ampere_tf32_tensorop_gemm/CMakeLists.txt index 1d875a416e..766676ba10 100644 --- a/examples/14_ampere_tf32_tensorop_gemm/CMakeLists.txt +++ b/examples/14_ampere_tf32_tensorop_gemm/CMakeLists.txt @@ -34,7 +34,7 @@ if (NOT CUTLASS_ENABLE_SYCL) ) endif() -if (SYCL_NVIDIA_TARGET) +if (NOT SYCL_INTEL_TARGET) cutlass_example_add_executable( 14_ampere_tf32_tensorop_gemm_cute ampere_tf32_tensorop_gemm_cute.cu