diff --git a/OpenCL/types_ocl.c b/OpenCL/types_ocl.c index 74d00b957..0d5817298 100644 --- a/OpenCL/types_ocl.c +++ b/OpenCL/types_ocl.c @@ -19,6 +19,10 @@ static inline u64 swap64 (const u64 v) } #ifdef IS_AMD +static inline u32 __bfe (const u32 a, const u32 b, const u32 c) +{ + return amd_bfe (a, b, c); +} #endif #ifdef IS_NV @@ -40,7 +44,6 @@ static inline u32 __bfe (const u32 a, const u32 b, const u32 c) return r; } - #if CUDA_ARCH >= 350 static inline u32 amd_bytealign (const u32 a, const u32 b, const u32 c)