diff options
| author | Sv. Lockal <lockalsash@gmail.com> | 2025-10-28 02:53:51 +0800 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-11-02 05:16:10 +0000 |
| commit | 276eb87f41378617e146e0aff60c0476b6838f86 (patch) | |
| tree | c036f048d8e09cf6ab9bc00f5d8e5188e82abb89 /dev-python/coverage/coverage-7.10.7.ebuild | |
| parent | 1ffaa410380a3fb20a39184856ffa7c8b0eafe45 (diff) | |
| download | gentoo-276eb87f41378617e146e0aff60c0476b6838f86.tar.gz gentoo-276eb87f41378617e146e0aff60c0476b6838f86.tar.bz2 gentoo-276eb87f41378617e146e0aff60c0476b6838f86.zip | |
rocm.eclass: add graceful rocm_add_sandbox; allow NPU for the sandbox
1) With upcoming firmware AMD NPU will be exposed as /dev/accel/accel0.
This device is owned by root:render, similarly to GPU.
When present, tools like rocminfo try to query device capabilities,
breaking sandbox. To fix this issue, this device has now addwrite in
check_amdgpu.
2) There are a bunch of bugs from tinderbox and users who forgot to
enable KFD in kernel. Instead of recommendation to check permissions,
they will see a better message, that AMD device is missing.
3) In cases when we just want to addwrite to AMD devices, new function
rocm_add_sandbox (similar to cuda_add_sandbox) was added. No errors are
raised if device is missing.
Bug: https://bugs.gentoo.org/965198
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44355
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/coverage/coverage-7.10.7.ebuild')
0 files changed, 0 insertions, 0 deletions
