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

hipdevicetotalmem Interface Reference

hipdevicetotalmem Interface Reference#

HIPFORT API Reference: hipfort::hipdevicetotalmem Interface Reference
hipfort::hipdevicetotalmem Interface Reference

Returns the total amount of memory on the device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdevicetotalmem_ (bytes, device)
 

Detailed Description

Returns the total amount of memory on the device.

Parameters
[out]bytes
[in]device
Returns
hipSuccess, hipErrorInavlidDevice

Member Function/Subroutine Documentation

◆ hipdevicetotalmem_()

integer(kind(hipsuccess)) function hipfort::hipdevicetotalmem::hipdevicetotalmem_ ( integer(c_size_t)  bytes,
integer(c_int), value  device 
)

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