diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2018-06-14 14:55:14 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:52:54 +0000 |
commit | 14bd2cf5671031062deb7cb9f36b47bded77e294 (patch) | |
tree | 8065a76d0eb3de7ae4a12bcf1bb9b789ac489a6b /src/core | |
parent | d226d8dd6599b16ebbb22f4930abb49798ec811b (diff) | |
download | ComputeLibrary-14bd2cf5671031062deb7cb9f36b47bded77e294.tar.gz |
COMPMID-1246: (OCLgrind) Fix casting from __global pointer
Change-Id: I0e437a43d3ae0fb7d0e425e8cb8bb56314604297
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/135659
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/CL/cl_kernels/im2col.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/cl_kernels/im2col.cl b/src/core/CL/cl_kernels/im2col.cl index f53ce21d05..c60c9a996c 100644 --- a/src/core/CL/cl_kernels/im2col.cl +++ b/src/core/CL/cl_kernels/im2col.cl @@ -123,7 +123,7 @@ __kernel void im2col1x1_stridex1_dchw( } #endif // defined(CONVOLVED_WIDTH) && defined(STRIDE_Y) && defined(KERNEL_DEPTH) -#define PTR_TO_VALUE(PTR, DATA_TYPE) *((DATA_TYPE *)(PTR)) +#define PTR_TO_VALUE(PTR, DATA_TYPE) *((__global DATA_TYPE *)(PTR)) #if defined(CONVOLVED_WIDTH) && defined(SRC_WIDTH) && defined(SRC_HEIGHT) && defined(STRIDE_X) && defined(STRIDE_Y) && defined(KERNEL_DEPTH) && defined(PAD_LEFT) && defined(PAD_RIGHT) && defined(PAD_TOP) && defined(PAD_BOTTOM) && defined(PAD_VALUE) |