GithubHelp home page GithubHelp logo

isabella232 / level-zero Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oneapi-src/level-zero

0.0 0.0 0.0 1.35 MB

oneAPI Level Zero Specification Headers and Loader

Home Page: https://spec.oneapi.com/versions/latest/elements/l0/source/index.html

License: MIT License

C++ 60.46% Python 12.25% C 26.72% CMake 0.56% Dockerfile 0.01%

level-zero's Introduction

oneAPI Level Zero

This repository contains the following components of oneAPI:

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

This project is part of the larger oneAPI project.

See the oneAPI specification for more information about the oneAPI project.

See the Level Zero specification for more information about Level Zero.

Level Zero API versions are listed in the ze_api_version_t enumeration, located in the ze_api.h file.

Building and Installing

Project is defined using CMake.

Linux

General

mkdir build
cd build
cmake ..
cmake --build . --config Release
cmake --build . --config Release --target package
cmake --build . --config Release --target install

Ubuntu with Docker

mkdir build
mkdir -p .ccache

docker run \
  --rm \
  -v $PWD:$PWD \
  -w $PWD/build \
  -e CCACHE_DIR=$PWD/.ccache \
  -e CCACHE_BASEDIR=$PWD \
  $(docker build -q \
      --build-arg UID=$(id -u) \
      --build-arg GID=$(id -g) \
      --build-arg IMAGE_VERSION=eoan \
      - < docker/build-ubuntu.Dockerfile) \
  cmake \
    -G Ninja \
    -D CMAKE_C_COMPILER_LAUNCHER=ccache \
    -D CMAKE_CXX_COMPILER_LAUNCHER=ccache \
    -D CMAKE_BUILD_TYPE=Release \
    ..

docker run \
  --rm \
  -v $PWD:$PWD \
  -w $PWD/build \
  -e CCACHE_DIR=$PWD/.ccache \
  -e CCACHE_BASEDIR=$PWD \
  $(docker build -q \
      --build-arg UID=$(id -u) \
      --build-arg GID=$(id -g) \
      --build-arg IMAGE_VERSION=eoan \
      - < docker/build-ubuntu.Dockerfile) \
  cmake --build . --config Release

Contributing

See CONTRIBUTING for more information.

License

Distributed under the MIT license. See LICENSE for more information.

Security

See Intel's Security Center for information on how to report a potential security issue or vulnerability.

See also SECURITY.

level-zero's People

Contributors

againull avatar bgoglin avatar bmyates avatar dmichaelo1 avatar jablonskimateusz avatar jbeich avatar jburcham-intel avatar jchodor avatar jemale avatar jitendrasharma1989 avatar lisanna-dettwyler avatar litcoder avatar nikita-kiryuhin avatar nrspruit avatar rscohn2 avatar rwmcguir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.