Comment # 11 on bug 107898 from
rocminfo reports both the CPU and the GPU.

If OpenCL can't use the CPU as a compute device, that's probably a limitation
of the OpenCL implementation.

The max memory allocation size is strange. rocminfo reports a single 16GB
memory pool attached to the CPU. That's system memory from the CRAT table and
looks reasonable. It should be possible to use at least 3/8 of that with the
upstream KFD. If CLinfo is reporting something different I'm wondering if it's
an OpenCL limitation rather than a ROCm limitation.

If you're interested in the raw information reported by KFD to user mode,
checkout /sys/class/kfd/kfd/topology/nodes. On an APU there should be only one
node (0). Underneath that you'll find node properties as well as memory
properties that may be interesting.


You are receiving this mail because: