8 #ifndef PW_GPU_KERNELS_H
9 #define PW_GPU_KERNELS_H
11 #include "../../offload/offload_runtime.h"
12 #if defined(__OFFLOAD) && !defined(__NO_OFFLOAD_PW)
22 void pw_gpu_launch_real_to_complex(
const double *din,
double *zout,
23 const int ngpts, offloadStream_t stream);
29 void pw_gpu_launch_complex_to_real(
const double *zin,
double *dout,
30 const int ngpts, offloadStream_t stream);
36 void pw_gpu_launch_gather(
double *pwcc,
const double *
c,
const double scale,
37 const int ngpts,
const int *ghatmap,
38 offloadStream_t stream);
44 void pw_gpu_launch_scatter(
double *
c,
const double *pwcc,
const double scale,
45 const int ngpts,
const int nmaps,
const int *ghatmap,
46 offloadStream_t stream);