forked from mirrors/nixpkgs
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
|