diff options
author | D. Van Assche <dimitri.vanassche@macq.eu> | 2016-08-18 17:33:13 +0200 |
---|---|---|
committer | D. Van Assche <dimitri.vanassche@macq.eu> | 2016-08-18 17:33:13 +0200 |
commit | 57f1aa76857cf0566e05b43b9b2a98a3a6139c8b (patch) | |
tree | 4ed277095302ea0870b764dde32936dad56bb410 /src/kernels/level2/xgemv_fast.opencl | |
parent | 7c13bacf129291e3e295ecb6e833788477085fa0 (diff) |
Adapt opencl files for 1.1 OpenCL
In OpenCL 1.1 __kernel has to be before __attribute__, at least with
Vivante compiler.
Diffstat (limited to 'src/kernels/level2/xgemv_fast.opencl')
-rw-r--r-- | src/kernels/level2/xgemv_fast.opencl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernels/level2/xgemv_fast.opencl b/src/kernels/level2/xgemv_fast.opencl index 6a494e84..dae31a2b 100644 --- a/src/kernels/level2/xgemv_fast.opencl +++ b/src/kernels/level2/xgemv_fast.opencl @@ -94,8 +94,8 @@ inline realVFR LoadMatrixAVFR(const __global realVFR* restrict agm, const int x, // --> 'a_ld' is a multiple of VW2 // --> 'a_rotated' is 0 // --> 'do_conjugate' is 0 -__attribute__((reqd_work_group_size(WGS2, 1, 1))) -__kernel void XgemvFast(const int m, const int n, +__kernel __attribute__((reqd_work_group_size(WGS2, 1, 1))) +void XgemvFast(const int m, const int n, const __constant real* restrict arg_alpha, const __constant real* restrict arg_beta, const int a_rotated, @@ -196,8 +196,8 @@ __kernel void XgemvFast(const int m, const int n, // --> 'a_ld' is a multiple of VW3 // --> 'a_rotated' is 1 // --> 'do_conjugate' is 0 -__attribute__((reqd_work_group_size(WGS3, 1, 1))) -__kernel void XgemvFastRot(const int m, const int n, +__kernel __attribute__((reqd_work_group_size(WGS3, 1, 1))) +void XgemvFastRot(const int m, const int n, const __constant real* restrict arg_alpha, const __constant real* restrict arg_beta, const int a_rotated, |