Allow L2 prefect for clang compiler (#914)
This commit is contained in:
parent
4a68cf748e
commit
43cfbe0086
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user