HIP API

HIP API#

HIP Runtime API Reference: HIP API
Collaboration diagram for HIP API:

Modules

 Initialization and Version
 
 Device Management
 
 Execution Control
 
 Error Handling
 
 Stream Management
 
 Event Management
 
 Memory Management
 
 PeerToPeer Device Memory Access
 
 Context Management
 
 Module Management
 
 Occupancy
 
 Profiler Control[Deprecated]
 
 Launch API to support the triple-chevron syntax
 
 Texture Management
 
 Runtime Compilation
 
 Callback Activity APIs
 
 Graph Management
 
 Memory Management
 
 Interop
 

Data Structures

struct  hipMemAllocationProp
 
struct  hipArrayMapInfo
 

Typedefs

typedef struct ihipMemGenericAllocationHandle * hipMemGenericAllocationHandle_t
 

Enumerations

enum  hipMemAllocationGranularity_flags {
  hipMemAllocationGranularityMinimum = 0x0 ,
  hipMemAllocationGranularityRecommended = 0x1
}
 
enum  hipMemHandleType { hipMemHandleTypeGeneric = 0x0 }
 
enum  hipMemOperationType {
  hipMemOperationTypeMap = 0x1 ,
  hipMemOperationTypeUnmap = 0x2
}
 
enum  hipArraySparseSubresourceType {
  hipArraySparseSubresourceTypeSparseLevel = 0x0 ,
  hipArraySparseSubresourceTypeMiptail = 0x1
}
 

Detailed Description

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

Typedef Documentation

◆ hipMemGenericAllocationHandle_t

typedef struct ihipMemGenericAllocationHandle* hipMemGenericAllocationHandle_t

Generic handle for memory allocation

Enumeration Type Documentation

◆ hipArraySparseSubresourceType

Enumerator
hipArraySparseSubresourceTypeSparseLevel 

Sparse level.

hipArraySparseSubresourceTypeMiptail 

Miptail.

◆ hipMemAllocationGranularity_flags

Enumerator
hipMemAllocationGranularityMinimum 

Minimum granularity.

hipMemAllocationGranularityRecommended 

Recommended granularity for performance.

◆ hipMemHandleType

Enumerator
hipMemHandleTypeGeneric 

Generic handle type.

◆ hipMemOperationType

Enumerator
hipMemOperationTypeMap 

Map operation.

hipMemOperationTypeUnmap 

Unmap operation.