mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 12:03:21 +00:00
68fecda43a
This package provides the closed-source extension for rocm-runtime that is necessary for OpenCL image processing.
8 lines
180 B
Bash
8 lines
180 B
Bash
addRocmRuntimeExtDir () {
|
|
if [[ -z "${ROCR_EXT_DIR-}" ]]; then
|
|
export ROCR_EXT_DIR="@out@/lib/rocm-runtime-ext"
|
|
fi
|
|
}
|
|
|
|
addEnvHooks "$hostOffset" addRocmRuntimeExtDir
|