From e87e2d4c118efe3f8f577d59e50fa3a6adf28d9d Mon Sep 17 00:00:00 2001
From: foreman
Date: Mon, 21 Jul 2014 15:06:08 -0400
Subject: [PATCH] P4 to Git Change 1057460 by gandryey@gera-dev-w7 on
2014/07/21 14:56:59
ECR #304775 - Device enqueuing
- Report proper size for the device queue.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#259 edit
---
rocclr/runtime/device/gpu/gpukernel.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/rocclr/runtime/device/gpu/gpukernel.cpp b/rocclr/runtime/device/gpu/gpukernel.cpp
index e477080fcc..0a40baefed 100644
--- a/rocclr/runtime/device/gpu/gpukernel.cpp
+++ b/rocclr/runtime/device/gpu/gpukernel.cpp
@@ -3374,6 +3374,7 @@ GetOclSize(const aclArgData* argInfo)
}
case ARG_TYPE_IMAGE: return sizeof(cl_mem);
case ARG_TYPE_SAMPLER: return sizeof(cl_sampler);
+ case ARG_TYPE_QUEUE: return sizeof(cl_command_queue);
default: return -1;
}
}