rocr/driver: add support for getting GPU tile configuration

- Implemented GetTileConfig in KfdDriver to retrieve tile configuration for
a specific node.
- Added a stub implementation of GetTileConfig in XdnaDriver.
- Updated driver.h to include a virtual GetTileConfig method.
- Extended hsa_internal.h with a new hsa_get_tile_config function.
- Integrated hsa_get_tile_config into hsa.cpp to call the driver-specific
  implementation.
- Updated driver headers to declare the new GetTileConfig method.

Signed-off-by: Honglei Huang <Honglei1.Huang@amd.com>


[ROCm/ROCR-Runtime commit: 9bc38e2ee6]
Bu işleme şunda yer alıyor:
Honglei Huang
2025-06-27 13:29:03 +08:00
işlemeyi yapan: Huang, Honglei1
ebeveyn e459cc0c3b
işleme 309e8b1a9f
8 değiştirilmiş dosya ile 40 ekleme ve 2 silme
+13
Dosyayı Görüntüle
@@ -2590,6 +2590,19 @@ hsa_status_t hsa_executable_iterate_program_symbols(
CATCH;
}
hsa_status_t hsa_get_tile_config(hsa_agent_t agent_handle, void* config) {
TRY;
IS_OPEN();
IS_BAD_PTR(config);
const core::Agent* agent_object = core::Agent::Convert(agent_handle);
IS_VALID(agent_object);
return agent_object->driver().GetTileConfig(agent_object->node_id(),
static_cast<HsaGpuTileConfig*>(config));
CATCH;
}
//===--- Runtime Notifications --------------------------------------------===//
hsa_status_t hsa_status_string(