mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
Both HIP and HIP RT rely on the HIP runtime, which is provided by the rocm-hip package as both a versioned and an unversioned library (libamdhip64.so.x and libamdhip64.so). On Fedora, however, rocm-hip ships only the versioned library, while the unversioned one is provided by rocm-hip-devel. The version of HIP RT used in Blender currently looks only for the unversioned library and fails to load the driver if it’s missing. HIP itself, by contrast, looks for both the versioned and unversioned libraries. Cycles enables HIP RT as long as the hiprt library is present, even if HIP RT fails to load the runtime—leading to undefined behavior. This addresses the issue by disabling HIP RT when the unversioned HIP runtime library is not found. Ref #150553 Pull Request: https://projects.blender.org/blender/blender/pulls/151081 |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| README | ||
| README.blender | ||
The HIP Extension Wrangler Library (HIPEW) is a cross-platform open-source C/C++ library to dynamically load the HIP library. HIP (Heterogeneous-Compute Interface for Portability) is an API for C++ programming on AMD GPUs. It is maintained as part of the Blender project, but included in extern/ for consistency with CUEW and CLEW libraries. LICENSE HIPEW is released under the Apache 2.0 license.