diff options
author | Angus, Alexander <aangus@qti.qualcomm.com> | 2023-01-17 08:35:29 -0800 |
---|---|---|
committer | Angus, Alexander <aangus@qti.qualcomm.com> | 2023-01-17 08:35:29 -0800 |
commit | 73f49e9b3d4abc4214122e4b8c07a736e01626ee (patch) | |
tree | 588a426b6350a5c982d89d98749ae78667fd23b4 /src/kernels/level1/xscal.opencl | |
parent | ff6a5689dff31ed3c1f1906a6b425252fd60a9ee (diff) |
Updated according to feedback from CNugteren
Diffstat (limited to 'src/kernels/level1/xscal.opencl')
-rw-r--r-- | src/kernels/level1/xscal.opencl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernels/level1/xscal.opencl b/src/kernels/level1/xscal.opencl index 19ca9135..e4260c7c 100644 --- a/src/kernels/level1/xscal.opencl +++ b/src/kernels/level1/xscal.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 Xscal(const int n, const real_arg arg_alpha, @@ -46,7 +46,7 @@ void Xscal(const int n, const real_arg arg_alpha, // 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 XscalFast(const int n, const real_arg arg_alpha, |