summaryrefslogtreecommitdiff
path: root/src/kernels/level1/xswap.opencl
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernels/level1/xswap.opencl')
-rw-r--r--src/kernels/level1/xswap.opencl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernels/level1/xswap.opencl b/src/kernels/level1/xswap.opencl
index a2b44de3..2d384423 100644
--- a/src/kernels/level1/xswap.opencl
+++ b/src/kernels/level1/xswap.opencl
@@ -24,7 +24,7 @@ R"(
// Full version of the kernel with offsets and strided accesses
#if RELAX_WORKGROUP_SIZE == 1
__kernel
-#elif
+#else
__kernel __attribute__((reqd_work_group_size(WGS, 1, 1)))
#endif
void Xswap(const int n,
@@ -45,7 +45,7 @@ void Xswap(const int n,
// dividable by 'VW', 'WGS' and 'WPT'.
#if RELAX_WORKGROUP_SIZE == 1
__kernel
-#elif
+#else
__kernel __attribute__((reqd_work_group_size(WGS, 1, 1)))
#endif
void XswapFast(const int n,