From 41eceed8f1f90ad2d2a99f2863a94e83e448e93e Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 25 Nov 2016 13:04:36 -0500 Subject: [PATCH] P4 to Git Change 1346120 by gandryey@gera-w8 on 2016/11/25 13:00:01 SWDEV-86035 - Add PAL backend to OpenCL - Fix a regression after LC path integration. sampler, image and queue pointers have uint64_t size always. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#26 edit --- rocclr/runtime/device/pal/palkernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/runtime/device/pal/palkernel.cpp b/rocclr/runtime/device/pal/palkernel.cpp index 53b5e22b7c..8c8c376156 100644 --- a/rocclr/runtime/device/pal/palkernel.cpp +++ b/rocclr/runtime/device/pal/palkernel.cpp @@ -248,7 +248,7 @@ GetHSAILArgSize(const aclArgData *argInfo) case ARG_TYPE_IMAGE: case ARG_TYPE_SAMPLER: case ARG_TYPE_QUEUE: - return sizeof(void*); + return sizeof(uint64_t); default: return -1; }