This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipmalloc3darray Interface Reference

hipmalloc3darray Interface Reference#

HIPFORT API Reference: hipfort::hipmalloc3darray Interface Reference
hipfort::hipmalloc3darray Interface Reference

Allocate an array on the device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmalloc3darray_ (array, desc, extent, flags)
 

Detailed Description

Allocate an array on the device.

Parameters
[out]arrayPointer to allocated array in device memory
[in]descRequested channel format
[in]extentRequested array allocation width, height and depth
[in]flagsRequested properties of allocated array
Returns
hipSuccess, hipErrorOutOfMemory
See also
hipMalloc, hipMallocPitch, hipFree, hipFreeArray, hipHostMalloc, hipHostFree

Member Function/Subroutine Documentation

◆ hipmalloc3darray_()

integer(kind(hipsuccess)) function hipfort::hipmalloc3darray::hipmalloc3darray_ ( type(c_ptr)  array,
type(c_ptr)  desc,
type(c_ptr), value  extent,
integer(c_int), value  flags 
)

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