Harish Kasiviswanathan 5cc56a2647 Fix init process apertures
Kernel ioctl AMDKFD_IOC_GET_PROCESS_APERTURES returns process apertures
only for GPU nodes. The current implementation assumed that this list of
GPU nodes returned by the ioctl has one to one correpondence to sysfs
topology nodes. This fails when non-GPU nodes exist in topology as in
case of Intel + gfx802

Fix this by using gpu_id (./sys/.../kfd/topology/nodes/1/gpu_id) to map
information obtained from kernel ioctl call.

Change-Id: I4ab8ae5354f12cf0b6609fc4b24182b82eb3677f
2015-10-15 15:38:14 -04:00
2015-10-15 15:38:14 -04:00
2014-10-28 17:50:33 +02:00
2014-12-08 15:52:51 +02:00
S
Beschreibung
Keine Beschreibung vorhanden
282 MiB
Sprachen
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Andere 1.1%