diff --git a/gprMax/cuda_opencl/knl_source_updates.py b/gprMax/cuda_opencl/knl_source_updates.py index 6e2a5c41..85203c32 100644 --- a/gprMax/cuda_opencl/knl_source_updates.py +++ b/gprMax/cuda_opencl/knl_source_updates.py @@ -126,9 +126,9 @@ update_magnetic_dipole = { $REAL dx, $REAL dy, $REAL dz, - __global const int* restrict rcinfo1, - __global const $REAL* restrict rcinfo2, - __global const $REAL* restrict rcwaveforms, + __global const int* restrict srcinfo1, + __global const $REAL* restrict srcinfo2, + __global const $REAL* restrict srcwaveforms, __global const unsigned int* restrict ID, __global $REAL *Hx, __global $REAL *Hy, @@ -208,9 +208,9 @@ update_voltage_source = { $REAL dx, $REAL dy, $REAL dz, - __global const int* restrict rcinfo1, - __global const $REAL* restrict rcinfo2, - __global const $REAL* restrict rcwaveforms, + __global const int* restrict srcinfo1, + __global const $REAL* restrict srcinfo2, + __global const $REAL* restrict srcwaveforms, __global const unsigned int* restrict ID, __global $REAL *Ex, __global $REAL *Ey,