From 68edb423fbb30c521e103cba567a583583b7a53a Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Wed, 25 Aug 2021 00:10:37 +0800 Subject: openvkl: upgrade 0.13.0 -> 1.0.0 Release notes: https://github.com/openvkl/openvkl/blob/master/CHANGELOG.md Highlights: The version 1.0 release marks long term API stability (until v2.0) Open VKL can now be built for ARM CPUs that support Neon Iterator API updates: Introducing interval and hit iterator contexts, which hold iterator-specific configuration (eliminates value selector objects) Interval and hit iteration is now supported on any volume attribute Interval iterators now include a time parameter Interval iterators now support the intervalResolutionHint parameter, replacing maxIteratorDepth and elementaryCellIteration Supporting configurable background values; default is now VKL_BACKGROUND_UNDEFINED (NaN) for all volume types vklGetValueRange() now supports all volume attributes Added ISPC-side API bindings for vklGetNumAttributes() and vklGetValueRange() Structured regular volumes: Added support for tricubic filtering More accurate gradient computations respecting filter mode Hit iteration robustness improvements VDB volumes: Interval and hit iteration robustness improvements Corrected interval iterator nominalDeltaT computation for non-normalized ray directions and non-uniform object-space grid spacings Fixed bug which could cause incorrect value range computations for temporally varying volumes vklExamples additions demonstrating: Multi-attribute interval / hit iteration Configurable background values Temporally varying volumes Superbuild updates to latest versions of dependencies Now requiring minimum versions: Embree 3.13.1 rkcommon 1.7.0 ISPC 1.16.0 License-Update: Copyright years updated Signed-off-by: Anuj Mittal --- ...Fixed-missing-include-for-F16C-intrinsics.patch | 44 ---------------------- .../recipes-oneapi/openvkl/openvkl_0.13.0.bb | 36 ------------------ .../recipes-oneapi/openvkl/openvkl_1.0.0.bb | 35 +++++++++++++++++ 3 files changed, 35 insertions(+), 80 deletions(-) delete mode 100644 dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl/0001-half.hpp-Fixed-missing-include-for-F16C-intrinsics.patch delete mode 100644 dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_0.13.0.bb create mode 100644 dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.0.0.bb diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl/0001-half.hpp-Fixed-missing-include-for-F16C-intrinsics.patch b/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl/0001-half.hpp-Fixed-missing-include-for-F16C-intrinsics.patch deleted file mode 100644 index 4c8caaf2..00000000 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl/0001-half.hpp-Fixed-missing-include-for-F16C-intrinsics.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 8b701e2b6989f7e071126989dd9453d7728d9a61 Mon Sep 17 00:00:00 2001 -From: Naveen Saini -Date: Wed, 7 Jul 2021 11:40:15 +0800 -Subject: [PATCH] half.hpp: Fixed missing include for F16C intrinsics - -Upstream-Status: Backport [https://sourceforge.net/p/half/code/415/] - -Ref: -https://github.com/openvkl/openvkl/issues/12 - -Signed-off-by: Naveen Saini ---- - testing/external/half.hpp | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/testing/external/half.hpp b/testing/external/half.hpp -index 69f2ffd..005043f 100644 ---- a/testing/external/half.hpp -+++ b/testing/external/half.hpp -@@ -266,10 +266,6 @@ - #if HALF_ENABLE_CPP11_HASH - #include - #endif --#if HALF_ENABLE_F16C_INTRINSICS -- #include --#endif -- - - #ifndef HALF_ENABLE_F16C_INTRINSICS - /// Enable F16C intruction set intrinsics. -@@ -281,6 +277,10 @@ - #define HALF_ENABLE_F16C_INTRINSICS __F16C__ - #endif - -+#if HALF_ENABLE_F16C_INTRINSICS -+ #include -+#endif -+ - #ifdef HALF_DOXYGEN_ONLY - /// Type for internal floating-point computations. - /// This can be predefined to a built-in floating-point type (`float`, `double` or `long double`) to override the internal --- -2.17.1 - diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_0.13.0.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_0.13.0.bb deleted file mode 100644 index b2c5a038..00000000 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_0.13.0.bb +++ /dev/null @@ -1,36 +0,0 @@ -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 VKL’s \ -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=90d62b467dd4fdf3c7d3d897fbac7437 \ - file://testing/external/half.hpp;beginline=1;endline=17;md5=cc1d65765aef5c4f6a37e7833173835a" - -inherit pkgconfig cmake - -S = "${WORKDIR}/git" - -SRC_URI = "git://github.com/openvkl/openvkl.git;protocol=https \ - file://0001-half.hpp-Fixed-missing-include-for-F16C-intrinsics.patch \ - " -SRCREV = "84b9d78ead12f369f37cee77d985da9d13c07ae1" - -COMPATIBLE_HOST = '(x86_64).*-linux' - -DEPENDS = "ispc-native rkcommon embree" - -EXTRA_OECMAKE += " \ - -DISPC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/ispc \ - " -PACKAGES =+ "${PN}-examples" -FILES:${PN}-examples = "\ - ${bindir} \ - " diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.0.0.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.0.0.bb new file mode 100644 index 00000000..abbde9a1 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_1.0.0.bb @@ -0,0 +1,35 @@ +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 VKL’s \ +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 \ + " +SRCREV = "5a7071d9b9fd5413d04871dff252ab0bf93fbf03" + +COMPATIBLE_HOST = '(x86_64).*-linux' + +DEPENDS = "ispc-native rkcommon embree" + +EXTRA_OECMAKE += " \ + -DISPC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/ispc \ + " +PACKAGES =+ "${PN}-examples" +FILES:${PN}-examples = "\ + ${bindir} \ + " -- cgit v1.2.3-54-g00ecf