meta-intel/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.2.0.bb
Naveen Saini 2da4523e08 openvkl: disable avx ISAs for intel-corei7-64 machine
It enables them by default instead of checking based on what is supported.

openvklTest throws following error:
SIGILL - Illegal instruction signal

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
(cherry picked from commit 2b37e2a69c)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-19 17:39:59 +08:00

43 lines
1.7 KiB
BlitzBasic
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

SUMMARY = "Intel(R) Open Volume Kernel Library"
DESCRIPTION = "Intel(R) Open Volume Kernel Library (Intel(R) Open VKL) is a \
collection of high-performance volume computation kernels. The target users \
of Open VKL are graphics application engineers who want to improve the \
performance of their volume rendering applications by leveraging Open VKLs \
performance-optimized kernels, which include volume traversal and sampling \
functionality for a variety of volumetric data formats. The kernels are optimized \
for the latest Intel(R) processors with support for SSE, AVX, AVX2, and AVX-512 \
instructions."
HOMEPAGE = "https://www.openvkl.org/"
LICENSE = "Apache-2.0 & BSD-3-Clause & MIT & Zlib"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
file://third-party-programs.txt;md5=69ec7caf49616c471161b921f53d5ec0 \
file://testing/external/half.hpp;beginline=1;endline=17;md5=4b60058493630c3bd0ef145470f04a7b"
inherit pkgconfig cmake
S = "${WORKDIR}/git"
SRC_URI = "git://github.com/openvkl/openvkl.git;protocol=https;branch=master \
"
SRCREV = "5da393e9edc8becebbf41c9bb6cb9b87aa0b1e93"
COMPATIBLE_HOST = '(x86_64).*-linux'
COMPATIBLE_HOST:libc-musl = "null"
DEPENDS = "ispc-native rkcommon embree"
EXTRA_OECMAKE += " \
-DISPC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/ispc \
"
EXTRA_OECMAKE:intel-corei7-64 += " \
-DOPENVKL_ISA_AVX=OFF \
-DOPENVKL_ISA_AVX2=OFF \
-DOPENVKL_ISA_AVX512SKX=OFF \
"
PACKAGES =+ "${PN}-examples"
FILES:${PN}-examples = "\
${bindir} \
"