From 43cfbe00863dbd8ebe0ea4a13b32fac29eba8378 Mon Sep 17 00:00:00 2001 From: Guray Ozen Date: Sat, 15 Apr 2023 07:23:22 +0200 Subject: [PATCH] Allow L2 prefect for clang compiler (#914) --- include/cutlass/arch/memory.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/cutlass/arch/memory.h b/include/cutlass/arch/memory.h index f4902b31..db6c4073 100644 --- a/include/cutlass/arch/memory.h +++ b/include/cutlass/arch/memory.h @@ -59,8 +59,7 @@ struct global_load; #if (((__CUDACC_VER_MAJOR__ == 11) && (__CUDACC_VER_MINOR__ >= 4)) || \ (__CUDACC_VER_MAJOR__ > 11)) && \ - defined(__CUDA_ARCH__) && (__CUDA_ARCH__ >= 750) && \ - ! (defined(__clang__) && defined(__CUDA__)) + defined(__CUDA_ARCH__) && (__CUDA_ARCH__ >= 750) #define CUTLASS_ENABLE_L2_PREFETCH 1 #else #define CUTLASS_ENABLE_L2_PREFETCH 0