aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/cl_kernels/transpose.cl
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/cl_kernels/transpose.cl')
-rw-r--r--src/core/CL/cl_kernels/transpose.cl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/CL/cl_kernels/transpose.cl b/src/core/CL/cl_kernels/transpose.cl
index c30158f280..daa0129e7d 100644
--- a/src/core/CL/cl_kernels/transpose.cl
+++ b/src/core/CL/cl_kernels/transpose.cl
@@ -98,7 +98,7 @@
#ifndef DATA_TYPE_IN_BYTES
#error DATA_TYPE_IN_BYTES not set for the transpose OpenCL kernel
-#endif
+#endif /* not DATA_TYPE_IN_BYTES */
#if DATA_TYPE_IN_BYTES == 4
#define DATA_TYPE uint
@@ -118,9 +118,9 @@
#define VLOAD(x, y) vload16(x, y)
#define VSTORE(x, y, z) vstore16(x, y, z)
#define BLOCK_SIZE 16
-#else
+#else /* switch DATA_TYPE_IN_BYTES */
#error DATA_TYPE_IN_BYTES not supported for transpose
-#endif
+#endif /* switch DATA_TYPE_IN_BYTES */
/** This OpenCL kernel computes the matrix transposition of input matrix
*