|
HIP: Heterogenous-computing Interface for Portability
|
#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. | |
| 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. | |
hipDeviceProp
1.8.6