Merge "Add API for the memory type" into amd-dev

This commit is contained in:
Shuzhou Liu
2023-09-12 09:34:03 -04:00
committed by Gerrit Code Review
7 changed files with 145 additions and 13 deletions
+1 -1
View File
@@ -621,7 +621,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");
+1 -1
View File
@@ -305,7 +305,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");