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 Pointer of the function [in] attr Attribute to set [in] value Value to set
- 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: