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(c_int) function hipdevicegetsharedmemconfig_ (pconfig)
 
integer(kind(hipsuccess)) function hipdevicegetsharedmemconfig_typed (pconfig)
 

Detailed Description

Returns bank width of shared memory for current device.

Parameters
[out]pConfigThe pointer of the bank width for shared memory
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(c_int) function hipfort::hipdevicegetsharedmemconfig::hipdevicegetsharedmemconfig_ ( type(c_ptr), value  pconfig)

◆ hipdevicegetsharedmemconfig_typed()

integer(kind(hipsuccess)) function hipfort::hipdevicegetsharedmemconfig::hipdevicegetsharedmemconfig_typed ( integer(kind(hipsharedmembanksizedefault)), target  pconfig)

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