hiphostfree Interface Reference

hiphostfree Interface Reference#

HIPFORT API Reference: hipfort_hipmalloc::hiphostfree Interface Reference
hipfort_hipmalloc::hiphostfree Interface Reference

Public Member Functions

integer(kind(hipsuccess)) function hiphostfree_ (ptr)
 Free memory allocated by the amd hip host memory allocation API This API performs an implicit hipDeviceSynchronize() call. More...
 
integer(kind(hipsuccess)) function hiphostfree_l_0 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_l_1 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_l_2 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_l_3 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_l_4 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_l_5 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_l_6 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_l_7 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i4_0 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i4_1 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i4_2 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i4_3 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i4_4 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i4_5 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i4_6 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i4_7 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i8_0 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i8_1 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i8_2 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i8_3 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i8_4 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i8_5 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i8_6 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_i8_7 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r4_0 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r4_1 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r4_2 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r4_3 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r4_4 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r4_5 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r4_6 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r4_7 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r8_0 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r8_1 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r8_2 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r8_3 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r8_4 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r8_5 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r8_6 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_r8_7 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c4_0 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c4_1 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c4_2 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c4_3 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c4_4 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c4_5 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c4_6 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c4_7 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c8_0 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c8_1 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c8_2 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c8_3 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c8_4 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c8_5 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c8_6 (ptr, only_if_allocated)
 
integer(kind(hipsuccess)) function hiphostfree_c8_7 (ptr, only_if_allocated)
 

Member Function/Subroutine Documentation

◆ hiphostfree_()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_ ( type(c_ptr), value  ptr)

Free memory allocated by the amd hip host 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]ptrPointer to memory to be freed
Returns
hipSuccess, hipErrorInvalidValue (if pointer is invalid, including device pointers allocated with hipMalloc)
See also
hipMalloc, hipMallocPitch, hipFree, hipMallocArray, hipFreeArray, hipMalloc3D, hipMalloc3DArray, hipHostMalloc

◆ hiphostfree_c4_0()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c4_0 ( complex(c_float_complex), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c4_1()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c4_1 ( complex(c_float_complex), dimension(:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c4_2()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c4_2 ( complex(c_float_complex), dimension(:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c4_3()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c4_3 ( complex(c_float_complex), dimension(:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c4_4()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c4_4 ( complex(c_float_complex), dimension(:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c4_5()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c4_5 ( complex(c_float_complex), dimension(:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c4_6()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c4_6 ( complex(c_float_complex), dimension(:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c4_7()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c4_7 ( complex(c_float_complex), dimension(:,:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c8_0()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c8_0 ( complex(c_double_complex), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c8_1()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c8_1 ( complex(c_double_complex), dimension(:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c8_2()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c8_2 ( complex(c_double_complex), dimension(:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c8_3()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c8_3 ( complex(c_double_complex), dimension(:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c8_4()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c8_4 ( complex(c_double_complex), dimension(:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c8_5()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c8_5 ( complex(c_double_complex), dimension(:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c8_6()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c8_6 ( complex(c_double_complex), dimension(:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_c8_7()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_c8_7 ( complex(c_double_complex), dimension(:,:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i4_0()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i4_0 ( integer(c_int), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i4_1()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i4_1 ( integer(c_int), dimension(:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i4_2()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i4_2 ( integer(c_int), dimension(:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i4_3()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i4_3 ( integer(c_int), dimension(:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i4_4()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i4_4 ( integer(c_int), dimension(:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i4_5()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i4_5 ( integer(c_int), dimension(:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i4_6()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i4_6 ( integer(c_int), dimension(:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i4_7()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i4_7 ( integer(c_int), dimension(:,:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i8_0()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i8_0 ( integer(c_long), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i8_1()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i8_1 ( integer(c_long), dimension(:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i8_2()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i8_2 ( integer(c_long), dimension(:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i8_3()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i8_3 ( integer(c_long), dimension(:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i8_4()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i8_4 ( integer(c_long), dimension(:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i8_5()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i8_5 ( integer(c_long), dimension(:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i8_6()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i8_6 ( integer(c_long), dimension(:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_i8_7()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_i8_7 ( integer(c_long), dimension(:,:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_l_0()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_l_0 ( logical(c_bool), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_l_1()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_l_1 ( logical(c_bool), dimension(:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_l_2()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_l_2 ( logical(c_bool), dimension(:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_l_3()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_l_3 ( logical(c_bool), dimension(:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_l_4()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_l_4 ( logical(c_bool), dimension(:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_l_5()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_l_5 ( logical(c_bool), dimension(:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_l_6()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_l_6 ( logical(c_bool), dimension(:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_l_7()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_l_7 ( logical(c_bool), dimension(:,:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r4_0()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r4_0 ( real(c_float), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r4_1()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r4_1 ( real(c_float), dimension(:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r4_2()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r4_2 ( real(c_float), dimension(:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r4_3()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r4_3 ( real(c_float), dimension(:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r4_4()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r4_4 ( real(c_float), dimension(:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r4_5()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r4_5 ( real(c_float), dimension(:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r4_6()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r4_6 ( real(c_float), dimension(:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r4_7()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r4_7 ( real(c_float), dimension(:,:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r8_0()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r8_0 ( real(c_double), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r8_1()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r8_1 ( real(c_double), dimension(:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r8_2()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r8_2 ( real(c_double), dimension(:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r8_3()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r8_3 ( real(c_double), dimension(:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r8_4()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r8_4 ( real(c_double), dimension(:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r8_5()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r8_5 ( real(c_double), dimension(:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r8_6()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r8_6 ( real(c_double), dimension(:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

◆ hiphostfree_r8_7()

integer(kind(hipsuccess)) function hipfort_hipmalloc::hiphostfree::hiphostfree_r8_7 ( real(c_double), dimension(:,:,:,:,:,:,:), pointer  ptr,
logical, intent(in), optional  only_if_allocated 
)

The documentation for this interface was generated from the following file: