6c390e32cc
This commit introduces a new AvailableMemory API to the KfdDriver and XdnaDriver classes. - Implemented AvailableMemory in KfdDriver to return the available memory size using hsaKmtAvailableMemory. - Added a stub implementation of AvailableMemory in XdnaDriver that returns an error. - Updated the GpuAgent class to use the new AvailableMemory API instead of directly calling hsaKmtAvailableMemory. Signed-off-by: Honglei Huang <Honglei1.Huang@amd.com>