The oneAPI Level-Zero Application Programming Interface (API) is to
provide direct-to-metal interfaces to offload accelerator devices.
Its programming interface can be tailored to any device needs and
can be adapted to support broader set of languages features such as
function pointers, virtual functions, unified memory, and I/O capabilities.

It contains following components of oneAPI:

-> Copies of the Level Zero Specification API C/C++ header files
-> Level Zero Loader
-> Level Zero Validation Layer

It should be installed using:
IMAGE_INSTALL_append = " level-zero-headers level-zero-loader"

Signed-off-by: Naveen Saini <[email protected]>
---
 .../levelzero/level-zero_0.91.10.bb           | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 
dynamic-layers/openembedded-layer/recipes-core/levelzero/level-zero_0.91.10.bb

diff --git 
a/dynamic-layers/openembedded-layer/recipes-core/levelzero/level-zero_0.91.10.bb
 
b/dynamic-layers/openembedded-layer/recipes-core/levelzero/level-zero_0.91.10.bb
new file mode 100644
index 00000000..e8ae7e11
--- /dev/null
+++ 
b/dynamic-layers/openembedded-layer/recipes-core/levelzero/level-zero_0.91.10.bb
@@ -0,0 +1,21 @@
+SUMMARY = "oneAPI Level Zero Specification Headers and Loader"
+HOMEPAGE = "https://github.com/oneapi-src/level-zero";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8956dfdba7f8169c4005d1e9753ffddc"
+
+SRC_URI = "git://github.com/oneapi-src/level-zero.git;protocol=https"
+SRCREV = "ebb363e938a279cf866cb93d28e31aaf0791ea19"
+S = "${WORKDIR}/git"
+
+inherit cmake
+DEPENDS += "opencl-headers"
+
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$"
+
+PACKAGES =+ "${PN}-headers ${PN}-loader"
+
+FILES_${PN}-headers = "${includedir}/*"
+FILES_${PN}-loader = "${libdir}/*"
+
+# PN-loader (non -dev/-dbg/nativesdk- package) contains symlink .so
+INSANE_SKIP_${PN}-loader = "dev-so"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6586): 
https://lists.yoctoproject.org/g/meta-intel/message/6586
Mute This Topic: https://lists.yoctoproject.org/mt/74667513/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to