P4 to Git Change 1604296 by jatang@jatang-opencl-hsa-stg5 on 2018/09/11 14:13:12
SWDEV-126897 - Fix a regression of Device Enqueue in LC path.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#6 edit
[ROCm/clr commit: e615155636]
Этот коммит содержится в:
@@ -252,6 +252,8 @@ static inline uint32_t GetOclArgumentTypeOCL(const KernelArgMD& lcArg, bool* isH
|
||||
return amd::KernelParameterDescriptor::ImageObject;
|
||||
case ValueKind::Sampler:
|
||||
return amd::KernelParameterDescriptor::SamplerObject;
|
||||
case ValueKind::Queue:
|
||||
return amd::KernelParameterDescriptor::QueueObject;
|
||||
case ValueKind::HiddenGlobalOffsetX:
|
||||
*isHidden = true;
|
||||
return amd::KernelParameterDescriptor::HiddenGlobalOffsetX;
|
||||
@@ -347,6 +349,8 @@ static inline clk_value_type_t GetOclTypeOCL(const KernelArgMD& lcArg, size_t si
|
||||
return T_POINTER;
|
||||
case ValueKind::Sampler:
|
||||
return T_SAMPLER;
|
||||
case ValueKind::Queue:
|
||||
return T_QUEUE;
|
||||
default:
|
||||
return T_VOID;
|
||||
}
|
||||
@@ -1089,4 +1093,4 @@ void Kernel::InitPrintf(const aclPrintfFmt* aclPrintf) {
|
||||
}
|
||||
#endif // defined(WITH_COMPILER_LIB)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user