Adjust policy for memory display on APUs (#1967)
* Read the ids_flags when fetching GPU info The ids_flags contains the flags that can help identify if a GPU is a dGPU or an APU. * Show correct memory pool for APUs The kernel policy for APUs will be to choose the bigger pool of memory (GTT or VRAM) for KFD work. Adjust the policy for the monitor and default commands to show the right memory pool when using an APU.
This commit is contained in:
committed by
GitHub
parent
879d010974
commit
73778bf83c
@@ -2123,7 +2123,8 @@ def amdsmi_get_gpu_asic_info(
|
||||
"oam_id": _validate_if_max_uint(asic_info_struct.oam_id, MaxUIntegerTypes.UINT32_T),
|
||||
"num_compute_units": _validate_if_max_uint(asic_info_struct.num_of_compute_units, MaxUIntegerTypes.UINT32_T),
|
||||
"target_graphics_version": "gfx" + target_graphics_version,
|
||||
"subsystem_id": subsystem_id
|
||||
"subsystem_id": subsystem_id,
|
||||
"flags": asic_info_struct.flags
|
||||
}
|
||||
|
||||
string_values = ["market_name", "vendor_name"]
|
||||
|
||||
Reference in New Issue
Block a user