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; }