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
[ROCm/clr commit: 22bd466daf]
Dieser Commit ist enthalten in:
1 Ursprung
5c33b0db9d
Commit
21be61e078
1 Datei geändert
+1
-1
@@ -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)) {
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren