Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion include/hip/hip_deprecated.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ typedef struct hipDeviceProp_tR0000 {
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 multiProcessorCount; ///< Number of multi-processors. When the GPU works in Compute
///< Unit (CU) mode, this value equals the number of CUs;
///< when in Workgroup Processor (WGP) mode, this value equels
///< half of CUs, because a single WGP contains two CUs.
int l2CacheSize; ///< L2 cache size.
int maxThreadsPerMultiProcessor; ///< Maximum resident threads per multi-processor.
int computeMode; ///< Compute mode.
Expand Down
10 changes: 8 additions & 2 deletions include/hip/hip_runtime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ typedef struct hipDeviceProp_t {
size_t textureAlignment; ///< Alignment requirement for textures
size_t texturePitchAlignment; ///< Pitch alignment requirement for texture references bound to
int deviceOverlap; ///< Deprecated. Use asyncEngineCount instead
int multiProcessorCount; ///< Number of multi-processors (compute units).
int multiProcessorCount; ///< Number of multi-processors. When the GPU works in Compute
///< Unit (CU) mode, this value equals the number of CUs;
///< when in Workgroup Processor (WGP) mode, this value equels
///< half of CUs, because a single WGP contains two CUs.
int kernelExecTimeoutEnabled; ///< Run time limit for kernels executed on the device
int integrated; ///< APU vs dGPU
int canMapHostMemory; ///< Check whether HIP can map host memory
Expand Down Expand Up @@ -507,7 +510,10 @@ typedef enum hipDeviceAttribute_t {
hipDeviceAttributeComputeCapabilityMinor, ///< Minor compute capability version number.
hipDeviceAttributeMultiGpuBoardGroupID, ///< Unique ID of device group on the same multi-GPU
///< board
hipDeviceAttributeMultiprocessorCount, ///< Number of multiprocessors on the device.
hipDeviceAttributeMultiprocessorCount, ///< Number of multi-processors. When the GPU works in Compute
///< Unit (CU) mode, this value equals the number of CUs;
///< when in Workgroup Processor (WGP) mode, this value equels
///< half of CUs, because a single WGP contains two CUs.
hipDeviceAttributeUnused1, ///< Previously hipDeviceAttributeName
hipDeviceAttributePageableMemoryAccess, ///< Device supports coherently accessing pageable memory
///< without calling hipHostRegister on it
Expand Down
Loading