HIP: Heterogenous-computing Interface for Portability
Public Attributes | List of all members
hipDeviceProp_t Struct Reference

#include <hip_runtime_api.h>

Public Attributes

char name [256]
 Device name.
 
size_t totalGlobalMem
 Size of global memory region (in bytes).
 
size_t sharedMemPerBlock
 Size of shared memory region (in bytes).
 
int regsPerBlock
 Registers per block.
 
int warpSize
 Warp size.
 
int maxThreadsPerBlock
 Max work items per work group or workgroup max size.
 
int maxThreadsDim [3]
 Max number of threads in each dimension (XYZ) of a block.
 
int maxGridSize [3]
 Max grid dimensions (XYZ).
 
int clockRate
 Max clock frequency of the multiProcessors in khz.
 
int memoryClockRate
 Max global memory clock frequency in khz.
 
int memoryBusWidth
 Global memory bus width in bits.
 
size_t totalConstMem
 Size of shared memory region (in bytes).
 
int major
 Major compute capability. On HCC, this is an approximation and features may differ from CUDA CC. See the arch feature flags for portable ways to query feature caps.
 
int minor
 Minor compute capability. On HCC, this is an approximation and features may differ from CUDA CC. See the arch feature flags for portable ways to query feature caps.
 
int multiProcessorCount
 Number of multi-processors (compute units).
 
int l2CacheSize
 L2 cache size.
 
int maxThreadsPerMultiProcessor
 Maximum resident threads per multi-processor.
 
int computeMode
 Compute mode.
 
int clockInstructionRate
 Frequency in khz of the timer used by the device-side "clock*" instructions. New for HIP.
 
hipDeviceArch_t arch
 Architectural feature flags. New for HIP.
 
int concurrentKernels
 Device can possibly execute multiple kernels concurrently.
 
int pciBusID
 PCI Bus ID.
 
int pciDeviceID
 PCI Device ID.
 
size_t maxSharedMemoryPerMultiProcessor
 Maximum Shared Memory Per Multiprocessor.
 
int isMultiGpuBoard
 1 if device is on a multi-GPU board, 0 if not.
 
int canMapHostMemory
 Check whether HIP can map host memory.
 
int gcnArch
 AMD GCN Arch Value. Eg: 803, 701.
 

Detailed Description

hipDeviceProp


The documentation for this struct was generated from the following file: