Revert "Correct limit query return type to match spec ABI."

This reverts commit 689e9ce6a4.

Changing the parameter sizes breaks backward ABI.

Change-Id: Iff14b7c11294f0931f36fcfd42fff11a492d4205


[ROCm/ROCR-Runtime commit: b9d1ad8604]
This commit is contained in:
David Yat Sin
2022-11-15 00:01:18 +00:00
parent 3e6721df9f
commit 406115eaac
7 changed files with 44 additions and 45 deletions
@@ -188,9 +188,9 @@ ImageProperty ImageManagerKv::GetImageProperty(
void ImageManagerKv::GetImageInfoMaxDimension(hsa_agent_t component,
hsa_ext_image_geometry_t geometry,
size_t& width, size_t& height,
size_t& depth,
size_t& array_size) const {
uint32_t& width, uint32_t& height,
uint32_t& depth,
uint32_t& array_size) const {
width = ImageLut().GetMaxWidth(geometry);
height = ImageLut().GetMaxHeight(geometry);
depth = ImageLut().GetMaxDepth(geometry);