P4 to Git Change 1784838 by gandryey@gera-win10 on 2019/05/17 17:36:58

SWDEV-189453 - [Navi10][OpenCl][x32][Converter] Process hang
	- Use the argument size from the caller. With LC path and 32 bit the both sizes are different and runtime has to use the caller's size, which matches the host bitness, because the optimized path updates 32 bit values only.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#30 edit
Este commit está contenido en:
foreman
2019-05-17 18:08:20 -04:00
padre ab218e9710
commit 22bd466daf
+1 -1
Ver fichero
@@ -952,7 +952,7 @@ static void setArgument(amd::Kernel* kernel, size_t index, size_t size, const vo
uint32_t uint32_value = 0;
uint64_t uint64_value = 0;
size_t argSize = desc.size_;
size_t argSize = size;
if (desc.type_ == T_POINTER && (desc.addressQualifier_ != CL_KERNEL_ARG_ADDRESS_LOCAL)) {
if ((value == NULL) || (static_cast<const cl_mem*>(value) == NULL)) {