Execution Control#
Execution Control
This section describes the execution control functions of HIP runtime API. More...
Data Types | |
| interface | hipfort::hipfuncgetattributes |
| Find out attributes for a given function. More... | |
| interface | hipfort::hipfuncgetattribute |
| Find out a specific attribute for a given function. More... | |
| interface | hipfort::hipmodulelaunchkernel |
| launches kernel f with launch parameters and shared memory on stream with arguments passed to kernelparams or extra More... | |
| interface | hipfort::hipextlaunchmultikernelmultidevice |
| Launches kernels on multiple devices and guarantees all specified kernels are dispatched on respective streams before enqueuing any other work on the specified streams from any other threads. More... | |
| interface | hipfort::hiplaunchkernelexc |
| Launches a HIP kernel using a generic function pointer and the specified configuration. More... | |
| interface | hipfort::hipdrvlaunchkernelex |
| Launches a HIP kernel using the driver API with the specified configuration. More... | |
Detailed Description
This section describes the execution control functions of HIP runtime API.
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.