Add API for the memory type

Get the memory type from libdrm and add a new API.

Change-Id: I89327bca2ef860f2e3f4f6ca20def2331eba66c0
Este commit está contenido en:
Bill(Shuzhou) Liu
2023-08-31 09:08:46 -05:00
padre f96c7663b5
commit b52034fed8
Se han modificado 7 ficheros con 145 adiciones y 13 borrados
+1 -1
Ver fichero
@@ -619,7 +619,7 @@ int main() {
<< "\n\n";
// Get frame buffer
amdsmi_vram_info_t vram_usage = {};
amdsmi_vram_usage_t vram_usage = {};
ret = amdsmi_get_gpu_vram_usage(processor_handles[j], &vram_usage);
CHK_AMDSMI_RET(ret)
printf(" Output of amdsmi_get_gpu_vram_usage:\n");