hipfree Interface Reference#
hipfort_hipmalloc::hipfree Interface Reference
Public Member Functions | |
integer(kind(hipsuccess)) function | hipfree_ (ptr) |
Free memory allocated by the amd hip memory allocation API. More... | |
integer(kind(hipsuccess)) function | hipfree_l_0 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_l_1 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_l_2 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_l_3 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_l_4 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_l_5 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_l_6 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_l_7 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i4_0 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i4_1 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i4_2 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i4_3 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i4_4 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i4_5 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i4_6 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i4_7 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i8_0 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i8_1 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i8_2 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i8_3 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i8_4 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i8_5 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i8_6 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_i8_7 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r4_0 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r4_1 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r4_2 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r4_3 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r4_4 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r4_5 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r4_6 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r4_7 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r8_0 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r8_1 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r8_2 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r8_3 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r8_4 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r8_5 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r8_6 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_r8_7 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c4_0 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c4_1 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c4_2 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c4_3 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c4_4 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c4_5 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c4_6 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c4_7 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c8_0 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c8_1 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c8_2 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c8_3 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c8_4 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c8_5 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c8_6 (ptr, only_if_allocated) |
integer(kind(hipsuccess)) function | hipfree_c8_7 (ptr, only_if_allocated) |
Member Function/Subroutine Documentation
◆ hipfree_()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_ | ( | type(c_ptr), value | ptr | ) |
Free memory allocated by the amd hip memory allocation API.
This API performs an implicit hipDeviceSynchronize() call. If pointer is NULL, the hip runtime is initialized and hipSuccess is returned.
- Parameters
-
[in] ptr Pointer to memory to be freed
- Returns
- #hipSuccess
- #hipErrorInvalidDevicePointer (if pointer is invalid, including host pointers allocated with hipHostMalloc)
- See also
- hipMalloc, hipMallocPitch, hipMallocArray, hipFreeArray, hipHostFree, hipMalloc3D, hipMalloc3DArray, hipHostMalloc
◆ hipfree_c4_0()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c4_0 | ( | complex(4), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c4_1()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c4_1 | ( | complex(4), dimension(:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c4_2()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c4_2 | ( | complex(4), dimension(:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c4_3()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c4_3 | ( | complex(4), dimension(:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c4_4()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c4_4 | ( | complex(4), dimension(:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c4_5()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c4_5 | ( | complex(4), dimension(:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c4_6()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c4_6 | ( | complex(4), dimension(:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c4_7()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c4_7 | ( | complex(4), dimension(:,:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c8_0()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c8_0 | ( | complex(8), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c8_1()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c8_1 | ( | complex(8), dimension(:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c8_2()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c8_2 | ( | complex(8), dimension(:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c8_3()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c8_3 | ( | complex(8), dimension(:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c8_4()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c8_4 | ( | complex(8), dimension(:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c8_5()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c8_5 | ( | complex(8), dimension(:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c8_6()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c8_6 | ( | complex(8), dimension(:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_c8_7()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_c8_7 | ( | complex(8), dimension(:,:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i4_0()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i4_0 | ( | integer(4), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i4_1()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i4_1 | ( | integer(4), dimension(:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i4_2()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i4_2 | ( | integer(4), dimension(:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i4_3()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i4_3 | ( | integer(4), dimension(:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i4_4()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i4_4 | ( | integer(4), dimension(:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i4_5()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i4_5 | ( | integer(4), dimension(:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i4_6()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i4_6 | ( | integer(4), dimension(:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i4_7()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i4_7 | ( | integer(4), dimension(:,:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i8_0()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i8_0 | ( | integer(8), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i8_1()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i8_1 | ( | integer(8), dimension(:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i8_2()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i8_2 | ( | integer(8), dimension(:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i8_3()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i8_3 | ( | integer(8), dimension(:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i8_4()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i8_4 | ( | integer(8), dimension(:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i8_5()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i8_5 | ( | integer(8), dimension(:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i8_6()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i8_6 | ( | integer(8), dimension(:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_i8_7()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_i8_7 | ( | integer(8), dimension(:,:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_l_0()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_l_0 | ( | logical, pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_l_1()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_l_1 | ( | logical, dimension(:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_l_2()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_l_2 | ( | logical, dimension(:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_l_3()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_l_3 | ( | logical, dimension(:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_l_4()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_l_4 | ( | logical, dimension(:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_l_5()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_l_5 | ( | logical, dimension(:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_l_6()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_l_6 | ( | logical, dimension(:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_l_7()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_l_7 | ( | logical, dimension(:,:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r4_0()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r4_0 | ( | real(4), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r4_1()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r4_1 | ( | real(4), dimension(:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r4_2()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r4_2 | ( | real(4), dimension(:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r4_3()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r4_3 | ( | real(4), dimension(:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r4_4()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r4_4 | ( | real(4), dimension(:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r4_5()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r4_5 | ( | real(4), dimension(:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r4_6()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r4_6 | ( | real(4), dimension(:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r4_7()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r4_7 | ( | real(4), dimension(:,:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r8_0()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r8_0 | ( | real(8), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r8_1()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r8_1 | ( | real(8), dimension(:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r8_2()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r8_2 | ( | real(8), dimension(:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r8_3()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r8_3 | ( | real(8), dimension(:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r8_4()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r8_4 | ( | real(8), dimension(:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r8_5()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r8_5 | ( | real(8), dimension(:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r8_6()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r8_6 | ( | real(8), dimension(:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
◆ hipfree_r8_7()
integer(kind(hipsuccess)) function hipfort_hipmalloc::hipfree::hipfree_r8_7 | ( | real(8), dimension(:,:,:,:,:,:,:), pointer | ptr, |
logical, intent(in), optional | only_if_allocated | ||
) |
The documentation for this interface was generated from the following file: