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

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]cacheConfig
Returns
hipSuccess, hipErrorNotInitialized Note: AMD devices and some Nvidia GPUS do not support reconfigurable cache. This hint is ignored on those architectures.

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: