hipdevicesetsharedmemconfig Interface Reference

hipdevicesetsharedmemconfig Interface Reference#

hipFORT API Reference: hipfort::hipdevicesetsharedmemconfig Interface Reference
hipfort::hipdevicesetsharedmemconfig Interface Reference

The bank width of shared memory on current device is set. More...

Public Member Functions

integer(c_int) function hipdevicesetsharedmemconfig_ (config)
 

Detailed Description

The bank width of shared memory on current device is set.

Parameters
[in]configConfiguration for the bank width of 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

◆ hipdevicesetsharedmemconfig_()

integer(c_int) function hipfort::hipdevicesetsharedmemconfig::hipdevicesetsharedmemconfig_ ( integer(c_int), value  config)

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