Correct limit query return type to match spec ABI.

Change-Id: I2eeed1f4b79d10c7d9ab0fd36c0146063053c76a


[ROCm/ROCR-Runtime commit: 7826d4ca2d]
This commit is contained in:
Sean Keely
2020-09-08 15:32:11 -05:00
zatwierdzone przez David Yat Sin
rodzic b22add5052
commit 689e9ce6a4
7 zmienionych plików z 45 dodań i 44 usunięć
@@ -188,9 +188,9 @@ ImageProperty ImageManagerKv::GetImageProperty(
void ImageManagerKv::GetImageInfoMaxDimension(hsa_agent_t component,
hsa_ext_image_geometry_t geometry,
uint32_t& width, uint32_t& height,
uint32_t& depth,
uint32_t& array_size) const {
size_t& width, size_t& height,
size_t& depth,
size_t& array_size) const {
width = ImageLut().GetMaxWidth(geometry);
height = ImageLut().GetMaxHeight(geometry);
depth = ImageLut().GetMaxDepth(geometry);