From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107898] "kfd: Failed to resume IOMMU for device 1002:15dd" on Raven Ridge Date: Mon, 01 Oct 2018 18:40:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0656698893==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 30F3A6E288 for ; Mon, 1 Oct 2018 18:40:10 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0656698893== Content-Type: multipart/alternative; boundary="15384192100.0B7F7.9186" Content-Transfer-Encoding: 7bit --15384192100.0B7F7.9186 Date: Mon, 1 Oct 2018 18:40:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D107898 --- Comment #11 from Felix Kuehling --- rocminfo reports both the CPU and the GPU. If OpenCL can't use the CPU as a compute device, that's probably a limitati= on 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 a= nd 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 i= t'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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15384192100.0B7F7.9186 Date: Mon, 1 Oct 2018 18:40:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 11 on bug 10789= 8 from Felix Kuehling
rocminfo reports both the CPU and the GPU.

If OpenCL can't use the CPU as a compute device, that's probably a limitati=
on
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 a=
nd
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 i=
t'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:
  • You are the assignee for the bug.
= --15384192100.0B7F7.9186-- --===============0656698893== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0656698893==--