summaryrefslogtreecommitdiff
path: root/src/kernels/level3/copy_pad.opencl
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernels/level3/copy_pad.opencl')
-rw-r--r--src/kernels/level3/copy_pad.opencl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernels/level3/copy_pad.opencl b/src/kernels/level3/copy_pad.opencl
index d276cc60..d0771c31 100644
--- a/src/kernels/level3/copy_pad.opencl
+++ b/src/kernels/level3/copy_pad.opencl
@@ -31,9 +31,9 @@ __kernel void CopyPadMatrix(const int src_one, const int src_two,
const int dest_one, const int dest_two,
const int dest_ld, const int dest_offset,
__global real* dest,
- const __constant real* restrict arg_alpha,
+ const real_arg arg_alpha,
const int do_conjugate) {
- const real alpha = arg_alpha[0];
+ const real alpha = GetRealArg(arg_alpha);
// Loops over the work per thread in both dimensions
#pragma unroll
@@ -72,10 +72,10 @@ __kernel void CopyMatrix(const int src_one, const int src_two,
const int dest_one, const int dest_two,
const int dest_ld, const int dest_offset,
__global real* dest,
- const __constant real* restrict arg_alpha,
+ const real_arg arg_alpha,
const int upper, const int lower,
const int diagonal_imag_zero) {
- const real alpha = arg_alpha[0];
+ const real alpha = GetRealArg(arg_alpha);
// Loops over the work per thread in both dimensions
#pragma unroll