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(kind(hipsuccess)) function hipdevicesetsharedmemconfig_ (config)
 

Detailed Description

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

Parameters
[in]config
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(kind(hipsuccess)) function hipfort::hipdevicesetsharedmemconfig::hipdevicesetsharedmemconfig_ ( integer(kind(hipsharedmembanksizedefault)), value  config)

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