Closed v01dXYZ closed 3 weeks ago
@v01dXYZ Apologies for the lack of response. Can you please check if this issue still occurs with the latest ROCm 6.2? If not, please close the ticket. Thanks!
@v01dXYZ Closing ticket. Please feel free to re-open ticket if you still need assistance. Thank!
By looking at the code,
hsa_executable_load_program_code_object
is equivalent tohsa_executable_load_agent_code_object
withagent := {0}
.This could not succeed as it seems the code calls
hsa_agent_get_info
with the handle. It fails since the handle is not valid (internally it is actually a pointer).hsa_agent_get_info
is called here: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/45e6039881b606bc04fedbfed41f9e9ef21d43cf/src/core/runtime/amd_loader_context.cpp#L435-L436 This induces aOUT_OF_RESOURCES
error status: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/45e6039881b606bc04fedbfed41f9e9ef21d43cf/src/loader/executable.cpp#L1325-L1327