Adding and populating available registers per cu value

Change-Id: Ide012038a9d74b20166ce1e69a9f2c0cbdce0d73


[ROCm/clr commit: d0f009a0ee]
This commit is contained in:
Jatin Chaudhary
2020-09-22 07:24:16 -04:00
parent fcebc82e75
commit 2a16ef5d04
2 changed files with 45 additions and 0 deletions
+4
View File
@@ -473,6 +473,10 @@ struct Info : public amd::EmbeddedObject {
uint32_t wavefrontWidth_;
//! Available number of SGPRs
uint32_t availableSGPRs_;
//! Available number of VGPRs
uint32_t availableVGPRs_;
//! Available number of registers per CU
uint32_t availableRegistersPerCU_;
//! Number of global memory channels
uint32_t globalMemChannels_;
//! Number of banks in each global memory channel