diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2019-11-29 11:37:09 +0000 |
---|---|---|
committer | Giorgio Arena <giorgio.arena@arm.com> | 2019-11-29 12:19:49 +0000 |
commit | e9c4a991f32fc65cf88acf1857ecb1d13e921f3c (patch) | |
tree | da9878c2bbc4edf870c2c6cff3e0cbc882d8a998 /src/core/CL/cl_kernels | |
parent | 1f7f988c1e9829fa8c395809b91cbdd181585676 (diff) | |
download | ComputeLibrary-e9c4a991f32fc65cf88acf1857ecb1d13e921f3c.tar.gz |
COMPMID-2972 OCLGrind complains about scalar rank issue
Change-Id: I1b9f34d84aa067c7105bcc8fa426f2a8072a4e5a
Signed-off-by: Giorgio Arena <giorgio.arena@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2389
Reviewed-by: Pablo Marquez <pablo.tello@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/cl_kernels')
-rw-r--r-- | src/core/CL/cl_kernels/depth_convert.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/cl_kernels/depth_convert.cl b/src/core/CL/cl_kernels/depth_convert.cl index b48300fff2..5e9a3a1608 100644 --- a/src/core/CL/cl_kernels/depth_convert.cl +++ b/src/core/CL/cl_kernels/depth_convert.cl @@ -76,7 +76,7 @@ __kernel void convert_depth_down( in_data = VLOAD(VEC_SIZE)(0, (__global DATA_TYPE_IN *)in.ptr); #if defined(IS_DATA_TYPE_QUANTIZED) - in_data ^= 0x80; + in_data ^= (VEC_DATA_TYPE(DATA_TYPE_IN, VEC_SIZE))0x80; #endif // defined(IS_DATA_TYPE_QUANTIZED) #if defined(IS_DATA_TYPE_FLOAT) |