hipmallocarray Interface Reference

hipmallocarray Interface Reference#

HIPFORT API Reference: hipfort::hipmallocarray Interface Reference
hipfort::hipmallocarray Interface Reference

Allocate an array on the device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmallocarray_ (array, desc, width, height, flags)
 

Detailed Description

Allocate an array on the device.

Parameters
[out]array- Pointer to allocated array in device memory
[in]desc- Requested channel format
[in]width- Requested array allocation width
[in]height- Requested array allocation height
[in]flags- Requested properties of allocated array
Returns
hipSuccess, hipErrorOutOfMemory
See also
hipMalloc, hipMallocPitch, hipFree, hipFreeArray, hipHostMalloc, hipHostFree

Member Function/Subroutine Documentation

◆ hipmallocarray_()

integer(kind(hipsuccess)) function hipfort::hipmallocarray::hipmallocarray_ ( type(c_ptr)  array,
type(hipchannelformatdesc desc,
integer(c_size_t), value  width,
integer(c_size_t), value  height,
integer(c_int), value  flags 
)

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