summaryrefslogtreecommitdiff
path: root/src/kernels/level1/xamax.opencl
diff options
context:
space:
mode:
authorAngus, Alexander <aangus@qti.qualcomm.com>2023-01-17 08:35:29 -0800
committerAngus, Alexander <aangus@qti.qualcomm.com>2023-01-17 08:35:29 -0800
commit73f49e9b3d4abc4214122e4b8c07a736e01626ee (patch)
tree588a426b6350a5c982d89d98749ae78667fd23b4 /src/kernels/level1/xamax.opencl
parentff6a5689dff31ed3c1f1906a6b425252fd60a9ee (diff)
Updated according to feedback from CNugteren
Diffstat (limited to 'src/kernels/level1/xamax.opencl')
-rw-r--r--src/kernels/level1/xamax.opencl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernels/level1/xamax.opencl b/src/kernels/level1/xamax.opencl
index 3600b9d2..06a6773b 100644
--- a/src/kernels/level1/xamax.opencl
+++ b/src/kernels/level1/xamax.opencl
@@ -32,7 +32,7 @@ R"(
// The main reduction kernel, performing the loading and the majority of the operation
#if RELAX_WORKGROUP_SIZE == 1
__kernel
-#elif
+#else
__kernel __attribute__((reqd_work_group_size(WGS1, 1, 1)))
#endif
void Xamax(const int n,
@@ -102,7 +102,7 @@ void Xamax(const int n,
// be launched with a single workgroup only.
#if RELAX_WORKGROUP_SIZE == 1
__kernel
-#elif
+#else
__kernel __attribute__((reqd_work_group_size(WGS2, 1, 1)))
#endif
void XamaxEpilogue(const __global singlereal* restrict maxgm,