dtfft_mem_alloc_c Function

private function dtfft_mem_alloc_c(plan_ptr, alloc_bytes, ptr) result(error_code) bind(C)

Allocates memory for dtFFT Plan, C/C++ interface

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: plan_ptr

C pointer to Fortran plan

integer(kind=c_size_t), value :: alloc_bytes

Number of bytes to allocate

type(c_ptr) :: ptr

Allocated pointer

Return Value integer(kind=c_int32_t)

The enumerated type dtfft_error_t defines API call result codes.


Calls

proc~~dtfft_mem_alloc_c~~CallsGraph proc~dtfft_mem_alloc_c dtfft_mem_alloc_c is_null_ptr is_null_ptr proc~dtfft_mem_alloc_c->is_null_ptr proc~mem_alloc_ptr dtfft_plan_t%mem_alloc_ptr proc~dtfft_mem_alloc_c->proc~mem_alloc_ptr proc~mem_alloc_ptr->is_null_ptr interface~mem_alloc_host mem_alloc_host proc~mem_alloc_ptr->interface~mem_alloc_host mem_alloc mem_alloc proc~mem_alloc_ptr->mem_alloc proc~dtfft_get_error_string dtfft_get_error_string proc~mem_alloc_ptr->proc~dtfft_get_error_string proc~get_log_enabled get_log_enabled proc~mem_alloc_ptr->proc~get_log_enabled proc~write_message write_message proc~mem_alloc_ptr->proc~write_message mpi_comm_rank mpi_comm_rank proc~write_message->mpi_comm_rank mpi_finalized mpi_finalized proc~write_message->mpi_finalized