diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-07-08 17:12:16 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-07-08 17:12:16 +0200 |
commit | 442c31dd508c573023594a803160ddb69d4929f2 (patch) | |
tree | 55474d09086481117204626b27cbec4ee465be9a /src/kernels/level2/xgemv_fast.opencl | |
parent | 75c0e861b842dbd08def5e55696fd79d713afc96 (diff) |
Made the inline keyword in kernels optional currently only enabled for NVIDIA and ARM GPUs
Diffstat (limited to 'src/kernels/level2/xgemv_fast.opencl')
-rw-r--r-- | src/kernels/level2/xgemv_fast.opencl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernels/level2/xgemv_fast.opencl b/src/kernels/level2/xgemv_fast.opencl index 02a1f956..8a08f076 100644 --- a/src/kernels/level2/xgemv_fast.opencl +++ b/src/kernels/level2/xgemv_fast.opencl @@ -75,8 +75,8 @@ R"( // ================================================================================================= // Loads a vector input value -inline realVF LoadMatrixAVF(const __global realVF* restrict agm, const int x, const int y, - const int a_ld) { +INLINE_FUNC realVF LoadMatrixAVF(const __global realVF* restrict agm, const int x, const int y, + const int a_ld) { return agm[a_ld*y + x]; } |