Update defines to use old neighbor code for CUDA >= 11.2
This commit is contained in:
@ -26,8 +26,8 @@
|
||||
|
||||
#if !defined(USE_OPENCL) && !defined(USE_HIP)
|
||||
#ifndef LAL_USE_OLD_NEIGHBOR
|
||||
// Issue with incorrect results with CUDA 11.2
|
||||
#if (CUDA_VERSION > 11019) && (CUDA_VERSION < 11030)
|
||||
// Issue with incorrect results with CUDA >= 11.2
|
||||
#if (CUDA_VERSION > 11019)
|
||||
#define LAL_USE_OLD_NEIGHBOR
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -34,8 +34,8 @@ _texture_2d( pos_tex,int4);
|
||||
#endif
|
||||
|
||||
#ifdef NV_KERNEL
|
||||
#if (__CUDACC_VER_MAJOR__ == 11) && (__CUDACC_VER_MINOR__ == 2)
|
||||
// Issue with incorrect results in CUDA 11.2
|
||||
#if (__CUDACC_VER_MAJOR__ == 11) && (__CUDACC_VER_MINOR__ >= 2)
|
||||
// Issue with incorrect results in CUDA >= 11.2
|
||||
#define LAL_USE_OLD_NEIGHBOR
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user