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

hipdevicegetsharedmemconfig Interface Reference

hipdevicegetsharedmemconfig Interface Reference#

HIPFORT API Reference: hipfort::hipdevicegetsharedmemconfig Interface Reference
hipfort::hipdevicegetsharedmemconfig Interface Reference

Returns bank width of shared memory for current device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdevicegetsharedmemconfig_ (pConfig)
 

Detailed Description

Returns bank width of shared memory for current device.

Parameters
[out]pConfig
Returns
hipSuccess, hipErrorInvalidValue, hipErrorNotInitialized

Note: AMD devices and some Nvidia GPUS do not support shared cache banking, and the hint is ignored on those architectures.

Member Function/Subroutine Documentation

◆ hipdevicegetsharedmemconfig_()

integer(kind(hipsuccess)) function hipfort::hipdevicegetsharedmemconfig::hipdevicegetsharedmemconfig_ ( type(c_ptr), value  pConfig)

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