SWDEV-374401 - Surface the ammount of used constant memory by kernel

Change-Id: I6de0e46482f27b9068582fdaee0e562f9f71f9f0


[ROCm/clr commit: 4d49204fb9]
This commit is contained in:
Ioannis Assiouras
2023-01-06 01:38:22 +00:00
parent f903a6c2c9
commit ab81da6544
3 changed files with 25 additions and 0 deletions
+1
View File
@@ -385,6 +385,7 @@ class Kernel : public amd::HeapObject {
bool uniformWorkGroupSize_; //!< uniform work group size option
size_t wavesPerSimdHint_; //!< waves per simd hit
int maxOccupancyPerCu_; //!< Max occupancy per compute unit in threads
size_t constMemSize_; //!< size of user-allocated constant memory
};
//! Default constructor