mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2026-01-27 10:21:22 +01:00
onednn: Move RDEPENDS of PACKAGECONFIG[gpu] to a separate setting
This allows using a different OpenCL backend (like intel-compute-runtime-legacy1 from meta-clang-revival), or multiple ones, so the same image can support different platforms. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
This commit is contained in:
parent
9182026dac
commit
efb2dee658
|
|
@ -42,4 +42,6 @@ PREFERRED_PROVIDER_libva-utils ?= "libva-utils"
|
|||
PREFERRED_PROVIDER_libva-utils-native ?= "libva-utils-native"
|
||||
PREFERRED_PROVIDER_nativesdk-libva-utils ?= "nativesdk-libva-utils"
|
||||
|
||||
OPENCL_BACKENDS ??= "intel-compute-runtime"
|
||||
|
||||
addpylib ${LAYERDIR}/lib oeqa
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ EXTRA_OECMAKE += " \
|
|||
"
|
||||
|
||||
PACKAGECONFIG ??= "gpu"
|
||||
PACKAGECONFIG[gpu] = "-DDNNL_GPU_RUNTIME=OCL, , opencl-headers virtual/libopencl1, intel-compute-runtime"
|
||||
PACKAGECONFIG[gpu] = "-DDNNL_GPU_RUNTIME=OCL, , opencl-headers virtual/libopencl1, ${OPENCL_BACKENDS}"
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}${bindir}/mkl-dnn/tests/benchdnn/inputs
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user