hipfuncsetattribute Interface Reference

hipfuncsetattribute Interface Reference#

HIPFORT API Reference: hipfort::hipfuncsetattribute Interface Reference
hipfort::hipfuncsetattribute Interface Reference

Set attribute for a specific function. More...

Public Member Functions

integer(kind(hipsuccess)) function hipfuncsetattribute_ (func, attr, myValue)
 

Detailed Description

Set attribute for a specific function.

Parameters
[in]func;
[in]attr;
[in]value;
Returns
hipSuccess, hipErrorInvalidDeviceFunction, hipErrorInvalidValue

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

◆ hipfuncsetattribute_()

integer(kind(hipsuccess)) function hipfort::hipfuncsetattribute::hipfuncsetattribute_ ( type(c_ptr), value  func,
integer(kind(hipfuncattributemaxdynamicsharedmemorysize)), value  attr,
integer(c_int), value  myValue 
)

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