36 use,
intrinsic :: iso_c_binding, only : c_ptr
43 bind(c, name =
'hip_inflow_apply_vector')
44 use,
intrinsic :: iso_c_binding
47 type(c_ptr),
value :: msk, x, y, z, g, strm
55 bind(c, name =
'cuda_inflow_apply_vector')
56 use,
intrinsic :: iso_c_binding
59 type(c_ptr),
value :: msk, x, y, z, g, strm
67 bind(c, name =
'opencl_inflow_apply_vector')
68 use,
intrinsic :: iso_c_binding
71 type(c_ptr),
value :: msk, x, y, z, g, strm
78 subroutine metal_inflow_apply_vector(msk, x, y, z, g, m, strm) &
79 bind(c, name =
'metal_inflow_apply_vector')
80 use,
intrinsic :: iso_c_binding
83 type(c_ptr),
value :: msk, x, y, z, g, strm
84 end subroutine metal_inflow_apply_vector
94 integer,
intent(in) :: m
95 type(c_ptr) :: msk, x, y, z, g, strm
104 call metal_inflow_apply_vector(msk, x, y, z, g, m, strm)
106 call neko_error(
'No device backend configured')
void opencl_inflow_apply_vector(void *msk, void *x, void *y, void *z, void *g, int *m, cl_command_queue cmd_queue)
void cuda_inflow_apply_vector(void *msk, void *x, void *y, void *z, void *g, int *m, cudaStream_t strm)
subroutine, public device_inflow_apply_vector(msk, x, y, z, g, m, strm)
integer, parameter, public c_rp