HIP: Heterogenous-computing Interface for Portability
Modules | Functions
HIP API

Defines the HIP API. See the individual sections for more information. More...

Collaboration diagram for HIP API:

Modules

 Initialization and Version
 This section describes the initializtion and version functions of HIP runtime API.
 
 Device Management
 This section describes the device management functions of HIP runtime API.
 
 Execution Control
 This section describes the execution control functions of HIP runtime API.
 
 Error Handling
 This section describes the error handling functions of HIP runtime API.
 
 Stream Management
 This section describes the stream management functions of HIP runtime API. The following Stream APIs are not (yet) supported in HIP:
 
 Event Management
 This section describes the event management functions of HIP runtime API.
 
 Memory Management
 This section describes the memory management functions of HIP runtime API. The following CUDA APIs are not currently supported:
 
 PeerToPeer Device Memory Access
 
 Context Management
 This section describes the context management functions of HIP runtime API.
 
 Module Management
 This section describes the module management functions of HIP runtime API.
 
 Occupancy
 This section describes the occupancy functions of HIP runtime API.
 
 Profiler Control[Deprecated]
 This section describes the profiler control functions of HIP runtime API.
 
 Launch API to support the triple-chevron syntax
 This section describes the API to support the triple-chevron syntax.
 
 Texture Management
 This section describes the texture management functions of HIP runtime API.
 
 Runtime Compilation
 This section describes the runtime compilation functions of HIP runtime API.
 
 Graph Management
 This section describes the graph management types & functions of HIP runtime API.
 
 Interop
 This section describes Stream Memory Wait and Write functions of HIP runtime API.
 

Functions

hipError_t hipTexRefSetBorderColor (textureReference *texRef, float *pBorderColor)
 
hipError_t hipTexRefSetMipmapFilterMode (textureReference *texRef, enum hipTextureFilterMode fm)
 
hipError_t hipTexRefSetMipmapLevelBias (textureReference *texRef, float bias)
 
hipError_t hipTexRefSetMipmapLevelClamp (textureReference *texRef, float minMipMapLevelClamp, float maxMipMapLevelClamp)
 
hipError_t hipTexRefSetMipmappedArray (textureReference *texRef, struct hipMipmappedArray *mipmappedArray, unsigned int Flags)
 
hipError_t hipMipmappedArrayCreate (hipMipmappedArray_t *pHandle, HIP_ARRAY3D_DESCRIPTOR *pMipmappedArrayDesc, unsigned int numMipmapLevels)
 
hipError_t hipMipmappedArrayDestroy (hipMipmappedArray_t hMipmappedArray)
 
hipError_t hipMipmappedArrayGetLevel (hipArray_t *pLevelArray, hipMipmappedArray_t hMipMappedArray, unsigned int level)
 
hipError_t hipRegisterApiCallback (uint32_t id, void *fun, void *arg)
 
hipError_t hipRemoveApiCallback (uint32_t id)
 
hipError_t hipRegisterActivityCallback (uint32_t id, void *fun, void *arg)
 
hipError_t hipRemoveActivityCallback (uint32_t id)
 
const char * hipApiName (uint32_t id)
 
const char * hipKernelNameRef (const hipFunction_t f)
 
const char * hipKernelNameRefByPtr (const void *hostFunction, hipStream_t stream)
 
int hipGetStreamDeviceId (hipStream_t stream)
 

Detailed Description

Defines the HIP API. See the individual sections for more information.

Function Documentation

◆ hipRegisterApiCallback()

hipError_t hipRegisterApiCallback ( uint32_t  id,
void *  fun,
void *  arg 
)

Callback/Activity API