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)) || \
|
#if (((__CUDACC_VER_MAJOR__ == 11) && (__CUDACC_VER_MINOR__ >= 4)) || \
|
||||||
(__CUDACC_VER_MAJOR__ > 11)) && \
|
(__CUDACC_VER_MAJOR__ > 11)) && \
|
||||||
defined(__CUDA_ARCH__) && (__CUDA_ARCH__ >= 750) && \
|
defined(__CUDA_ARCH__) && (__CUDA_ARCH__ >= 750)
|
||||||
! (defined(__clang__) && defined(__CUDA__))
|
|
||||||
#define CUTLASS_ENABLE_L2_PREFETCH 1
|
#define CUTLASS_ENABLE_L2_PREFETCH 1
|
||||||
#else
|
#else
|
||||||
#define CUTLASS_ENABLE_L2_PREFETCH 0
|
#define CUTLASS_ENABLE_L2_PREFETCH 0
|
||||||
|
Loading…
Reference in New Issue
Block a user