|
| unsigned | hipDeviceArch_t::hasGlobalInt32Atomics: 1 |
| | 32-bit integer atomics for global memory. More...
|
| |
| unsigned | hipDeviceArch_t::hasGlobalFloatAtomicExch: 1 |
| | 32-bit float atomic exch for global memory. More...
|
| |
| unsigned | hipDeviceArch_t::hasSharedInt32Atomics: 1 |
| | 32-bit integer atomics for shared memory. More...
|
| |
| unsigned | hipDeviceArch_t::hasSharedFloatAtomicExch: 1 |
| | 32-bit float atomic exch for shared memory. More...
|
| |
| unsigned | hipDeviceArch_t::hasFloatAtomicAdd: 1 |
| | 32-bit float atomic add in global and shared memory. More...
|
| |
| unsigned | hipDeviceArch_t::hasGlobalInt64Atomics: 1 |
| | 64-bit integer atomics for global memory. More...
|
| |
| unsigned | hipDeviceArch_t::hasSharedInt64Atomics: 1 |
| | 64-bit integer atomics for shared memory. More...
|
| |
| unsigned | hipDeviceArch_t::hasDoubles: 1 |
| | Double-precision floating point. More...
|
| |
| unsigned | hipDeviceArch_t::hasWarpVote: 1 |
| | Warp vote instructions (__any, __all). More...
|
| |
| unsigned | hipDeviceArch_t::hasWarpBallot: 1 |
| | Warp ballot instructions (__ballot). More...
|
| |
| unsigned | hipDeviceArch_t::hasWarpShuffle: 1 |
| | Warp shuffle operations. (__shfl_*). More...
|
| |
| unsigned | hipDeviceArch_t::hasFunnelShift: 1 |
| | Funnel two words into one with shift&mask caps. More...
|
| |
| unsigned | hipDeviceArch_t::hasThreadFenceSystem: 1 |
| | __threadfence_system. More...
|
| |
| unsigned | hipDeviceArch_t::hasSyncThreadsExt: 1 |
| | __syncthreads_count, syncthreads_and, syncthreads_or. More...
|
| |
| unsigned | hipDeviceArch_t::hasSurfaceFuncs: 1 |
| | Surface functions. More...
|
| |
| unsigned | hipDeviceArch_t::has3dGrid: 1 |
| | Grid and group dims are 3D (rather than 2D). More...
|
| |
| unsigned | hipDeviceArch_t::hasDynamicParallelism: 1 |
| | Dynamic parallelism. More...
|
| |
| char | hipDeviceProp_t::name [256] |
| | Device name. More...
|
| |
| size_t | hipDeviceProp_t::totalGlobalMem |
| | Size of global memory region (in bytes). More...
|
| |
| size_t | hipDeviceProp_t::sharedMemPerBlock |
| | Size of shared memory region (in bytes). More...
|
| |
| int | hipDeviceProp_t::regsPerBlock |
| | Registers per block. More...
|
| |
| int | hipDeviceProp_t::warpSize |
| | Warp size. More...
|
| |
| int | hipDeviceProp_t::maxThreadsPerBlock |
| | Max work items per work group or workgroup max size. More...
|
| |
| int | hipDeviceProp_t::maxThreadsDim [3] |
| | Max number of threads in each dimension (XYZ) of a block. More...
|
| |
| int | hipDeviceProp_t::maxGridSize [3] |
| | Max grid dimensions (XYZ). More...
|
| |
| int | hipDeviceProp_t::clockRate |
| | Max clock frequency of the multiProcessors in khz. More...
|
| |
| int | hipDeviceProp_t::memoryClockRate |
| | Max global memory clock frequency in khz. More...
|
| |
| int | hipDeviceProp_t::memoryBusWidth |
| | Global memory bus width in bits. More...
|
| |
| size_t | hipDeviceProp_t::totalConstMem |
| | Size of shared memory region (in bytes). More...
|
| |
| int | hipDeviceProp_t::major |
| |
| int | hipDeviceProp_t::minor |
| |
| int | hipDeviceProp_t::multiProcessorCount |
| | Number of multi-processors (compute units). More...
|
| |
| int | hipDeviceProp_t::l2CacheSize |
| | L2 cache size. More...
|
| |
| int | hipDeviceProp_t::maxThreadsPerMultiProcessor |
| | Maximum resident threads per multi-processor. More...
|
| |
| int | hipDeviceProp_t::computeMode |
| | Compute mode. More...
|
| |
| int | hipDeviceProp_t::clockInstructionRate |
| |
| hipDeviceArch_t | hipDeviceProp_t::arch |
| | Architectural feature flags. New for HIP. More...
|
| |
| int | hipDeviceProp_t::concurrentKernels |
| | Device can possibly execute multiple kernels concurrently. More...
|
| |
| int | hipDeviceProp_t::pciDomainID |
| | PCI Domain ID. More...
|
| |
| int | hipDeviceProp_t::pciBusID |
| | PCI Bus ID. More...
|
| |
| int | hipDeviceProp_t::pciDeviceID |
| | PCI Device ID. More...
|
| |
| size_t | hipDeviceProp_t::maxSharedMemoryPerMultiProcessor |
| | Maximum Shared Memory Per Multiprocessor. More...
|
| |
| int | hipDeviceProp_t::isMultiGpuBoard |
| | 1 if device is on a multi-GPU board, 0 if not. More...
|
| |
| int | hipDeviceProp_t::canMapHostMemory |
| | Check whether HIP can map host memory. More...
|
| |
| int | hipDeviceProp_t::gcnArch |
| | DEPRECATED: use gcnArchName instead. More...
|
| |
| char | hipDeviceProp_t::gcnArchName [256] |
| | AMD GCN Arch Name. More...
|
| |
| int | hipDeviceProp_t::integrated |
| | APU vs dGPU. More...
|
| |
| int | hipDeviceProp_t::cooperativeLaunch |
| | HIP device supports cooperative launch. More...
|
| |
| int | hipDeviceProp_t::cooperativeMultiDeviceLaunch |
| | HIP device supports cooperative launch on multiple devices. More...
|
| |
| int | hipDeviceProp_t::maxTexture1DLinear |
| | Maximum size for 1D textures bound to linear memory. More...
|
| |
| int | hipDeviceProp_t::maxTexture1D |
| | Maximum number of elements in 1D images. More...
|
| |
| int | hipDeviceProp_t::maxTexture2D [2] |
| | Maximum dimensions (width, height) of 2D images, in image elements. More...
|
| |
| int | hipDeviceProp_t::maxTexture3D [3] |
| | Maximum dimensions (width, height, depth) of 3D images, in image elements. More...
|
| |
| unsigned int * | hipDeviceProp_t::hdpMemFlushCntl |
| | Addres of HDP_MEM_COHERENCY_FLUSH_CNTL register. More...
|
| |
| unsigned int * | hipDeviceProp_t::hdpRegFlushCntl |
| | Addres of HDP_REG_COHERENCY_FLUSH_CNTL register. More...
|
| |
| size_t | hipDeviceProp_t::memPitch |
| | Maximum pitch in bytes allowed by memory copies. More...
|
| |
| size_t | hipDeviceProp_t::textureAlignment |
| | Alignment requirement for textures. More...
|
| |
| size_t | hipDeviceProp_t::texturePitchAlignment |
| | Pitch alignment requirement for texture references bound to pitched memory. More...
|
| |
| int | hipDeviceProp_t::kernelExecTimeoutEnabled |
| | Run time limit for kernels executed on the device. More...
|
| |
| int | hipDeviceProp_t::ECCEnabled |
| | Device has ECC support enabled. More...
|
| |
| int | hipDeviceProp_t::tccDriver |
| | 1:If device is Tesla device using TCC driver, else 0 More...
|
| |
| int | hipDeviceProp_t::cooperativeMultiDeviceUnmatchedFunc |
| |
| int | hipDeviceProp_t::cooperativeMultiDeviceUnmatchedGridDim |
| |
| int | hipDeviceProp_t::cooperativeMultiDeviceUnmatchedBlockDim |
| |
| int | hipDeviceProp_t::cooperativeMultiDeviceUnmatchedSharedMem |
| |
| int | hipDeviceProp_t::isLargeBar |
| | 1: if it is a large PCI bar device, else 0 More...
|
| |
| int | hipDeviceProp_t::asicRevision |
| | Revision of the GPU in this device. More...
|
| |
| int | hipDeviceProp_t::managedMemory |
| | Device supports allocating managed memory on this system. More...
|
| |
| int | hipDeviceProp_t::directManagedMemAccessFromHost |
| | Host can directly access managed memory on the device without migration. More...
|
| |
| int | hipDeviceProp_t::concurrentManagedAccess |
| | Device can coherently access managed memory concurrently with the CPU. More...
|
| |
| int | hipDeviceProp_t::pageableMemoryAccess |
| |
| int | hipDeviceProp_t::pageableMemoryAccessUsesHostPageTables |
| | Device accesses pageable memory via the host's page tables. More...
|
| |
| enum hipMemoryType | hipPointerAttribute_t::memoryType |
| |
| int | hipPointerAttribute_t::device |
| |
| void * | hipPointerAttribute_t::devicePointer |
| |
| void * | hipPointerAttribute_t::hostPointer |
| |
| int | hipPointerAttribute_t::isManaged |
| |
| unsigned | hipPointerAttribute_t::allocationFlags |
| |
| | hipSuccess = 0 |
| | Successful completion. More...
|
| |
| | hipErrorInvalidValue = 1 |
| |
| | hipErrorOutOfMemory = 2 |
| |
| | hipErrorMemoryAllocation = 2 |
| | Memory allocation error. More...
|
| |
| | hipErrorNotInitialized = 3 |
| |
| | hipErrorInitializationError = 3 |
| |
| | hipErrorDeinitialized = 4 |
| |
| | hipErrorProfilerDisabled = 5 |
| |
| | hipErrorProfilerNotInitialized = 6 |
| |
| | hipErrorProfilerAlreadyStarted = 7 |
| |
| | hipErrorProfilerAlreadyStopped = 8 |
| |
| | hipErrorInvalidConfiguration = 9 |
| |
| | hipErrorInvalidPitchValue = 12 |
| |
| | hipErrorInvalidSymbol = 13 |
| |
| | hipErrorInvalidDevicePointer = 17 |
| | Invalid Device Pointer. More...
|
| |
| | hipErrorInvalidMemcpyDirection = 21 |
| | Invalid memory copy direction. More...
|
| |
| | hipErrorInsufficientDriver = 35 |
| |
| | hipErrorMissingConfiguration = 52 |
| |
| | hipErrorPriorLaunchFailure = 53 |
| |
| | hipErrorInvalidDeviceFunction = 98 |
| |
| | hipErrorNoDevice = 100 |
| | Call to hipGetDeviceCount returned 0 devices. More...
|
| |
| | hipErrorInvalidDevice = 101 |
| | DeviceID must be in range 0...#compute-devices. More...
|
| |
| | hipErrorInvalidImage = 200 |
| |
| | hipErrorInvalidContext = 201 |
| | Produced when input context is invalid. More...
|
| |
| | hipErrorContextAlreadyCurrent = 202 |
| |
| | hipErrorMapFailed = 205 |
| |
| | hipErrorMapBufferObjectFailed = 205 |
| | Produced when the IPC memory attach failed from ROCr. More...
|
| |
| | hipErrorUnmapFailed = 206 |
| |
| | hipErrorArrayIsMapped = 207 |
| |
| | hipErrorAlreadyMapped = 208 |
| |
| | hipErrorNoBinaryForGpu = 209 |
| |
| | hipErrorAlreadyAcquired = 210 |
| |
| | hipErrorNotMapped = 211 |
| |
| | hipErrorNotMappedAsArray = 212 |
| |
| | hipErrorNotMappedAsPointer = 213 |
| |
| | hipErrorECCNotCorrectable = 214 |
| |
| | hipErrorUnsupportedLimit = 215 |
| |
| | hipErrorContextAlreadyInUse = 216 |
| |
| | hipErrorPeerAccessUnsupported = 217 |
| |
| | hipErrorInvalidKernelFile = 218 |
| | In CUDA DRV, it is CUDA_ERROR_INVALID_PTX. More...
|
| |
| | hipErrorInvalidGraphicsContext = 219 |
| |
| | hipErrorInvalidSource = 300 |
| |
| | hipErrorFileNotFound = 301 |
| |
| | hipErrorSharedObjectSymbolNotFound = 302 |
| |
| | hipErrorSharedObjectInitFailed = 303 |
| |
| | hipErrorOperatingSystem = 304 |
| |
| | hipErrorInvalidHandle = 400 |
| |
| | hipErrorInvalidResourceHandle = 400 |
| | Resource handle (hipEvent_t or hipStream_t) invalid. More...
|
| |
| | hipErrorIllegalState = 401 |
| | Resource required is not in a valid state to perform operation. More...
|
| |
| | hipErrorNotFound = 500 |
| |
| | hipErrorNotReady = 600 |
| |
| | hipErrorIllegalAddress = 700 |
| |
| | hipErrorLaunchOutOfResources = 701 |
| | Out of resources error. More...
|
| |
| | hipErrorLaunchTimeOut = 702 |
| |
| | hipErrorPeerAccessAlreadyEnabled |
| | Peer access was already enabled from the current device. More...
|
| |
| | hipErrorPeerAccessNotEnabled |
| | Peer access was never enabled from the current device. More...
|
| |
| | hipErrorSetOnActiveProcess = 708 |
| |
| | hipErrorContextIsDestroyed = 709 |
| |
| | hipErrorAssert = 710 |
| | Produced when the kernel calls assert. More...
|
| |
| | hipErrorHostMemoryAlreadyRegistered |
| | Produced when trying to lock a page-locked memory. More...
|
| |
| | hipErrorHostMemoryNotRegistered |
| | Produced when trying to unlock a non-page-locked memory. More...
|
| |
| | hipErrorLaunchFailure |
| | An exception occurred on the device while executing a kernel. More...
|
| |
| | hipErrorCooperativeLaunchTooLarge |
| |
| | hipErrorNotSupported = 801 |
| | Produced when the hip API is not supported/implemented. More...
|
| |
| | hipErrorStreamCaptureUnsupported = 900 |
| |
| | hipErrorStreamCaptureInvalidated = 901 |
| |
| | hipErrorStreamCaptureMerge = 902 |
| |
| | hipErrorStreamCaptureUnmatched = 903 |
| | The capture was not initiated in this stream. More...
|
| |
| | hipErrorStreamCaptureUnjoined = 904 |
| |
| | hipErrorStreamCaptureIsolation = 905 |
| |
| | hipErrorStreamCaptureImplicit = 906 |
| |
| | hipErrorCapturedEvent = 907 |
| |
| | hipErrorStreamCaptureWrongThread = 908 |
| |
| | hipErrorGraphExecUpdateFailure = 910 |
| |
| | hipErrorUnknown = 999 |
| |
| | hipErrorRuntimeMemory = 1052 |
| |
| | hipErrorRuntimeOther = 1053 |
| |
| char | hipIpcMemHandle_t::reserved [HIP_IPC_HANDLE_SIZE] |
| |
| char | hipIpcEventHandle_t::reserved [HIP_IPC_HANDLE_SIZE] |
| |
| int | hipFuncAttributes::binaryVersion |
| |
| int | hipFuncAttributes::cacheModeCA |
| |
| size_t | hipFuncAttributes::constSizeBytes |
| |
| size_t | hipFuncAttributes::localSizeBytes |
| |
| int | hipFuncAttributes::maxDynamicSharedSizeBytes |
| |
| int | hipFuncAttributes::maxThreadsPerBlock |
| |
| int | hipFuncAttributes::numRegs |
| |
| int | hipFuncAttributes::preferredShmemCarveout |
| |
| int | hipFuncAttributes::ptxVersion |
| |
| size_t | hipFuncAttributes::sharedSizeBytes |
| |
| uint32_t | dim3::x |
| | x More...
|
| |
| uint32_t | dim3::y |
| | y More...
|
| |
| uint32_t | dim3::z |
| | z More...
|
| |
| void * | hipLaunchParams::func |
| | Device function symbol. More...
|
| |
| dim3 | hipLaunchParams::gridDim |
| | Grid dimentions. More...
|
| |
| dim3 | hipLaunchParams::blockDim |
| | Block dimentions. More...
|
| |
| void ** | hipLaunchParams::args |
| | Arguments. More...
|
| |
| size_t | hipLaunchParams::sharedMem |
| | Shared memory. More...
|
| |
| hipStream_t | hipLaunchParams::stream |
| | Stream identifier. More...
|
| |
| hipExternalMemoryHandleType | hipExternalMemoryHandleDesc::type |
| |
| int hipExternalMemoryHandleDesc::fd |
| |
| void * hipExternalMemoryHandleDesc::handle |
| |
| const void * hipExternalMemoryHandleDesc::name |
| |
| struct { |
| void * hipExternalMemoryHandleDesc::handle |
| |
| const void * hipExternalMemoryHandleDesc::name |
| |
| } hipExternalMemoryHandleDesc::win32 |
| |
| union { |
| int hipExternalMemoryHandleDesc::fd |
| |
| struct { |
| void * hipExternalMemoryHandleDesc::handle |
| |
| const void * hipExternalMemoryHandleDesc::name |
| |
| } hipExternalMemoryHandleDesc::win32 |
| |
| } | hipExternalMemoryHandleDesc::handle |
| |
| unsigned long long | hipExternalMemoryHandleDesc::size |
| |
| unsigned int | hipExternalMemoryHandleDesc::flags |
| |
| unsigned long long | hipExternalMemoryBufferDesc::offset |
| |
| unsigned long long | hipExternalMemoryBufferDesc::size |
| |
| unsigned int | hipExternalMemoryBufferDesc::flags |
| |
| hipExternalSemaphoreHandleType | hipExternalSemaphoreHandleDesc::type |
| |
| int hipExternalSemaphoreHandleDesc::fd |
| |
| void * hipExternalSemaphoreHandleDesc::handle |
| |
| const void * hipExternalSemaphoreHandleDesc::name |
| |
| struct { |
| void * hipExternalSemaphoreHandleDesc::handle |
| |
| const void * hipExternalSemaphoreHandleDesc::name |
| |
| } hipExternalSemaphoreHandleDesc::win32 |
| |
| union { |
| int hipExternalSemaphoreHandleDesc::fd |
| |
| struct { |
| void * hipExternalSemaphoreHandleDesc::handle |
| |
| const void * hipExternalSemaphoreHandleDesc::name |
| |
| } hipExternalSemaphoreHandleDesc::win32 |
| |
| } | hipExternalSemaphoreHandleDesc::handle |
| |
| unsigned int | hipExternalSemaphoreHandleDesc::flags |
| |
| unsigned long long hipExternalSemaphoreSignalParams::value |
| |
| struct { |
| unsigned long long hipExternalSemaphoreSignalParams::value |
| |
| } hipExternalSemaphoreSignalParams::fence |
| |
| unsigned long long hipExternalSemaphoreSignalParams::key |
| |
| struct { |
| unsigned long long hipExternalSemaphoreSignalParams::key |
| |
| } hipExternalSemaphoreSignalParams::keyedMutex |
| |
| unsigned int hipExternalSemaphoreSignalParams::reserved [12] |
| |
| struct { |
| struct { |
| unsigned long long hipExternalSemaphoreSignalParams::value |
| |
| } hipExternalSemaphoreSignalParams::fence |
| |
| struct { |
| unsigned long long hipExternalSemaphoreSignalParams::key |
| |
| } hipExternalSemaphoreSignalParams::keyedMutex |
| |
| unsigned int hipExternalSemaphoreSignalParams::reserved [12] |
| |
| } | hipExternalSemaphoreSignalParams::params |
| |
| unsigned int | hipExternalSemaphoreSignalParams::flags |
| |
| unsigned long long hipExternalSemaphoreWaitParams::value |
| |
| struct { |
| unsigned long long hipExternalSemaphoreWaitParams::value |
| |
| } hipExternalSemaphoreWaitParams::fence |
| |
| unsigned long long hipExternalSemaphoreWaitParams::key |
| |
| unsigned int hipExternalSemaphoreWaitParams::timeoutMs |
| |
| struct { |
| unsigned long long hipExternalSemaphoreWaitParams::key |
| |
| unsigned int hipExternalSemaphoreWaitParams::timeoutMs |
| |
| } hipExternalSemaphoreWaitParams::keyedMutex |
| |
| unsigned int hipExternalSemaphoreWaitParams::reserved [10] |
| |
| struct { |
| struct { |
| unsigned long long hipExternalSemaphoreWaitParams::value |
| |
| } hipExternalSemaphoreWaitParams::fence |
| |
| struct { |
| unsigned long long hipExternalSemaphoreWaitParams::key |
| |
| unsigned int hipExternalSemaphoreWaitParams::timeoutMs |
| |
| } hipExternalSemaphoreWaitParams::keyedMutex |
| |
| unsigned int hipExternalSemaphoreWaitParams::reserved [10] |
| |
| } | hipExternalSemaphoreWaitParams::params |
| |
| unsigned int | hipExternalSemaphoreWaitParams::flags |
| |
| hipHostFn_t | hipHostNodeParams::fn |
| |
| void * | hipHostNodeParams::userData |
| |
| dim3 | hipKernelNodeParams::blockDim |
| |
| void ** | hipKernelNodeParams::extra |
| |
| void * | hipKernelNodeParams::func |
| |
| dim3 | hipKernelNodeParams::gridDim |
| |
| void ** | hipKernelNodeParams::kernelParams |
| |
| unsigned int | hipKernelNodeParams::sharedMemBytes |
| |
| void * | hipMemsetParams::dst |
| |
| unsigned int | hipMemsetParams::elementSize |
| |
| size_t | hipMemsetParams::height |
| |
| size_t | hipMemsetParams::pitch |
| |
| unsigned int | hipMemsetParams::value |
| |
| size_t | hipMemsetParams::width |
| |
Defines the HIP API. See the individual sections for more information.