ROCclr
ROCclr copied to clipboard
Using textures causes "Depth set on single layer image geometry."
See https://github.com/RadeonOpenCompute/ROCR-Runtime/issues/113
According to HSA v1.1 http://www.hsafoundation.com/html_spec111/HSA_Library.htm#Runtime/Topics/03_Extensions/hsa_ext_image_descriptor_t.htm%3FTocPath%3DHSA%2520Runtime%2520Programmer%25E2%2580%2599s%2520Reference%2520Manual%2520Version%25201.1.1%2520|Chapter%25203.%2520HSA%2520Extensions%2520Programming%2520Guide|3.3%2520Images%2520and%2520samplers|3.3.1%2520Images%2520and%2520samplers%2520API|_____10
height, depth and array_size must be 0 if they are not used with the current geometry.
ROCclr sets them to 1: https://github.com/ROCm-Developer-Tools/ROCclr/blob/main/device/rocm/rocmemory.cpp#L959
Hi, this is fixed in the latest internal builds. You can expect the fix to become public with the next ROCm release.
@vsytch Thank you!