SWDEV-432785 - Remove the mapping of __shfl* to __shfl*_sync functions on CUDA
Change-Id: I93d2ce360b834b3da01731cabc22841f7d0a092d
[ROCm/hipother commit: eb16d72255]
此提交包含在:
@@ -752,13 +752,6 @@ typedef enum cudaGraphInstantiateFlags hipGraphInstantiateFlags;
|
|||||||
#define hipGraphInstantiateFlagDeviceLaunch cudaGraphInstantiateFlagDeviceLaunch
|
#define hipGraphInstantiateFlagDeviceLaunch cudaGraphInstantiateFlagDeviceLaunch
|
||||||
#define hipGraphInstantiateFlagUseNodePriority cudaGraphInstantiateFlagUseNodePriority
|
#define hipGraphInstantiateFlagUseNodePriority cudaGraphInstantiateFlagUseNodePriority
|
||||||
|
|
||||||
#if CUDA_VERSION >= CUDA_9000
|
|
||||||
#define __shfl(...) __shfl_sync(0xffffffff, __VA_ARGS__)
|
|
||||||
#define __shfl_up(...) __shfl_up_sync(0xffffffff, __VA_ARGS__)
|
|
||||||
#define __shfl_down(...) __shfl_down_sync(0xffffffff, __VA_ARGS__)
|
|
||||||
#define __shfl_xor(...) __shfl_xor_sync(0xffffffff, __VA_ARGS__)
|
|
||||||
#endif // CUDA_VERSION >= CUDA_9000
|
|
||||||
|
|
||||||
inline static hipError_t hipCUDAErrorTohipError(cudaError_t cuError) {
|
inline static hipError_t hipCUDAErrorTohipError(cudaError_t cuError) {
|
||||||
switch (cuError) {
|
switch (cuError) {
|
||||||
case cudaSuccess:
|
case cudaSuccess:
|
||||||
|
|||||||
新增問題並參考
封鎖使用者