I've no idea to know if AMDGPU belongs to APU unless amdgpu_device->flag exports it.
The "mem_info_vram_total" seems work in amd iGPU and dGPU. Let's consider to count them by gpu vendor.
I've no idea to know if AMDGPU belongs to APU unless amdgpu_device->flag exports it.
The "mem_info_ vram_total" seems work in amd iGPU and dGPU.
Let's consider to count them by gpu vendor.