mem_free Subroutine

private subroutine mem_free(self, ptr, error_code)

Frees memory allocated with mem_alloc

Type Bound

abstract_transpose_plan

Arguments

Type IntentOptional Attributes Name
class(abstract_transpose_plan), intent(inout) :: self

Transposition class

type(c_ptr), intent(in) :: ptr

Pointer to the memory to free

integer(kind=int32), intent(out) :: error_code

Error code


Calls

proc~~mem_free~3~~CallsGraph proc~mem_free~3 abstract_transpose_plan%mem_free proc~free_mem free_mem proc~mem_free~3->proc~free_mem interface~cudafree cudaFree proc~free_mem->interface~cudafree interface~ncclcommderegister ncclCommDeregister proc~free_mem->interface~ncclcommderegister interface~ncclmemfree ncclMemFree proc~free_mem->interface~ncclmemfree interface~to_str to_str proc~free_mem->interface~to_str mpi_abort mpi_abort proc~free_mem->mpi_abort nvshmem_free nvshmem_free proc~free_mem->nvshmem_free proc~get_conf_log_enabled get_conf_log_enabled proc~free_mem->proc~get_conf_log_enabled proc~is_backend_nccl is_backend_nccl proc~free_mem->proc~is_backend_nccl proc~is_backend_nvshmem is_backend_nvshmem proc~free_mem->proc~is_backend_nvshmem proc~is_same_ptr is_same_ptr proc~free_mem->proc~is_same_ptr proc~ncclgeterrorstring ncclGetErrorString proc~free_mem->proc~ncclgeterrorstring proc~write_message write_message proc~free_mem->proc~write_message proc~double_to_string double_to_string interface~to_str->proc~double_to_string proc~float_to_string float_to_string interface~to_str->proc~float_to_string proc~int32_to_string int32_to_string interface~to_str->proc~int32_to_string proc~int64_to_string int64_to_string interface~to_str->proc~int64_to_string proc~int8_to_string int8_to_string interface~to_str->proc~int8_to_string interface~get_conf_internal get_conf_internal proc~get_conf_log_enabled->interface~get_conf_internal interface~ncclgeterrorstring_c ncclGetErrorString_c proc~ncclgeterrorstring->interface~ncclgeterrorstring_c proc~string_c2f string_c2f proc~ncclgeterrorstring->proc~string_c2f mpi_comm_rank mpi_comm_rank proc~write_message->mpi_comm_rank mpi_finalized mpi_finalized proc~write_message->mpi_finalized proc~get_conf_internal_int32 get_conf_internal_int32 interface~get_conf_internal->proc~get_conf_internal_int32 proc~get_conf_internal_logical get_conf_internal_logical interface~get_conf_internal->proc~get_conf_internal_logical

Called by

proc~~mem_free~3~~CalledByGraph proc~mem_free~3 abstract_transpose_plan%mem_free proc~destroy_cuda transpose_plan_cuda%destroy_cuda proc~destroy_cuda->proc~mem_free~3