Launches a CUDA function CUfunction or a CUDA kernel CUkernel.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CUfunction), | value | :: | func |
Function CUfunction or Kernel CUkernel to launch |
||
type(c_ptr), | value | :: | in |
Input pointer |
||
type(c_ptr), | value | :: | out |
Output pointer |
||
type(dim3) | :: | blocks |
Grid in blocks |
|||
type(dim3) | :: | threads |
Thread block |
|||
type(dtfft_stream_t), | value | :: | stream |
Stream identifier |
||
type(kernelArgs) | :: | args |
Kernel parameters |
|||
type(c_funptr), | value | :: | funptr |
Pointer to |
Driver result code
Wrapper around cuLaunchKernel
, since I have to idea how to pass array of pointers to cuLaunchKernel
.
Launches a CUDA function CUfunction or a CUDA kernel CUkernel.