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~int_to_str int_to_str proc~free_mem->interface~int_to_str interface~ncclcommderegister ncclCommDeregister proc~free_mem->interface~ncclcommderegister interface~ncclmemfree ncclMemFree proc~free_mem->interface~ncclmemfree interface~nvshmem_free nvshmem_free proc~free_mem->interface~nvshmem_free mpi_abort mpi_abort proc~free_mem->mpi_abort 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~int_to_str_int32 int_to_str_int32 interface~int_to_str->proc~int_to_str_int32 proc~int_to_str_int64 int_to_str_int64 interface~int_to_str->proc~int_to_str_int64 proc~int_to_str_int8 int_to_str_int8 interface~int_to_str->proc~int_to_str_int8 interface~ncclgeterrorstring_c ncclGetErrorString_c proc~ncclgeterrorstring->interface~ncclgeterrorstring_c proc~string_c2f string_c2f proc~ncclgeterrorstring->proc~string_c2f

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