hipdevicesetcacheconfig Interface Reference

hipdevicesetcacheconfig Interface Reference#

HIPFORT API Reference: hipfort::hipdevicesetcacheconfig Interface Reference
hipfort::hipdevicesetcacheconfig Interface Reference

Set L1/Shared cache partition. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdevicesetcacheconfig_ (cacheconfig)
 

Detailed Description

Set L1/Shared cache partition.

Parameters
[in]cacheConfigCache configuration
Returns
hipSuccess, hipErrorNotInitialized, hipErrorNotSupported

Note: AMD devices do not support reconfigurable cache. This API is not implemented on AMD platform. If the function is called, it will return hipErrorNotSupported.

Member Function/Subroutine Documentation

◆ hipdevicesetcacheconfig_()

integer(kind(hipsuccess)) function hipfort::hipdevicesetcacheconfig::hipdevicesetcacheconfig_ ( integer(kind(hipfunccacheprefernone)), value  cacheconfig)

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