Allocates memory based on backend
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(dtfft_platform_t), | intent(in) | :: | platform | |||
| type(backend_helper), | intent(inout) | :: | helper |
Backend helper |
||
| type(dtfft_backend_t), | intent(in) | :: | backend |
GPU backend |
||
| type(MPI_Comm), | intent(in) | :: | comm |
MPI communicator |
||
| integer(kind=int64), | intent(in) | :: | alloc_bytes |
Number of bytes to allocate |
||
| type(c_ptr), | intent(out) | :: | ptr |
Pointer to the allocated memory |
||
| integer(kind=int32), | intent(out) | :: | error_code |
Error code |