hipmipmappedarraygetmemoryrequirements Interface Reference

hipmipmappedarraygetmemoryrequirements Interface Reference#

HIPFORT API Reference: hipfort::hipmipmappedarraygetmemoryrequirements Interface Reference
hipfort::hipmipmappedarraygetmemoryrequirements Interface Reference

Returns the memory requirements of a HIP mipmapped array. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmipmappedarraygetmemoryrequirements_ (memoryrequirements, mipmap, device)
 

Detailed Description

Returns the memory requirements of a HIP mipmapped array.

Parameters
[out]memoryRequirements- Pointer to hipArrayMemoryRequirements
[in]mipmap- HIP mipmapped array to get the memory requirements of
[in]device- Device to get the memory requirements for
Returns
hipSuccess, hipErrorInvalidValue

Returns the memory requirements of a HIP mipmapped array in memoryRequirements.

The returned value in hipArrayMemoryRequirements::size represents the total size of the HIP mipmapped array. The returned value in hipArrayMemoryRequirements::alignment represents the alignment necessary for mapping the HIP mipmapped array.

Member Function/Subroutine Documentation

◆ hipmipmappedarraygetmemoryrequirements_()

integer(kind(hipsuccess)) function hipfort::hipmipmappedarraygetmemoryrequirements::hipmipmappedarraygetmemoryrequirements_ ( type(hiparraymemoryrequirements memoryrequirements,
type(c_ptr), value  mipmap,
integer(c_int), value  device 
)

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