GithubHelp home page GithubHelp logo

fossabot / numba-dppy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pokhodenkosa/numba-dppy

0.0 1.0 0.0 3.89 MB

numba + dppy + dpctl + dpnp = numba-dppy

Home Page: https://intelpython.github.io/numba-dppy/

License: Apache License 2.0

Python 97.80% C 1.97% Batchfile 0.11% Shell 0.12%

numba-dppy's Introduction

Code style: black FOSSA Status

numba-dppy

Numba + dppy + dpctl + dpnp = numba-dppy

numba-dppy extends Numba with a new backend to support compilation for Intel CPU and GPU architectures.

For more information about Numba, see the Numba homepage: http://numba.pydata.org.

Note: numba-dppy requires patched version of Numba. See https://github.com/IntelPython/numba.

For more information about dpCtl, see the dpCtl homepage: https://intelpython.github.io/dpctl/

For more information about dpNP, see the dpNP homepage: https://intelpython.github.io/dpnp/

Dependencies

  • numba 0.52.* (IntelPython/numba)
  • dpctl 0.7.*
  • dpnp >=0.5.1 (optional)
  • llvm-spirv (SPIRV generation from LLVM IR)
  • llvmdev (LLVM IR generation)
  • spirv-tools
  • scipy (for testing)

dppy

dppy is a proof-of-concept backend for Numba to support compilation for Intel CPU and GPU architectures. The present implementation of dpPy is based on OpenCL 2.1, but is likely to change in the future to rely on Sycl/DPC++ or Intel Level-0 driver API.

Installation

Use setup.py or conda (see conda-recipe).

Testing

See folder numba_dppy/tests.

Run tests:

python -m pytest --pyargs numba_dppy.tests

or

pytest

Examples

See folder numba_dppy/examples.

Run examples:

python numba_dppy/examples/sum.py

Debugging

Please follow instructions in the debugging.md

Reporting issues

Please use https://github.com/IntelPython/numba-dppy/issues to report issues and bugs.

Features

Read this guide for additional features INDEX.md

Test Matrix:

# OS Distribution Python Architecture Test type IntelOneAPI Build Commands Dependencies Backend
1 Linux Ubuntu 20.04 3.7 Gen9 Integrated CI 2021.2 (1) Numba, NumPy, dpnp OCL, L0-1.0
2 Linux Ubuntu 20.04 3.7 Gen12 Discrete Manual 2021.2 (1) Numba, NumPy, dpnp OCL, L0-1.0
3 Linux Ubuntu 20.04 3.7 i7-10710U CI 2021.2 (1) Numba, NumPy, dpnp OCL, L0-1.0
4 Windows 10 3.7 Gen9 Integrated CI 2021.2 (1) Numba, NumPy OCL
5 Windows 10 3.7 i7-10710 CI 2021.2 (1) Numba, NumPy OCL

(1): python setup.py install; pytest -q -ra --disable-warnings --pyargs numba_dppy -vv

License

FOSSA Status

numba-dppy's People

Contributors

1e-to avatar akharche avatar alexanderkalistratov avatar diptorupd avatar drtodd13 avatar fossabot avatar pokhodenkosa avatar reazulhoque avatar vlad-perevezentsev avatar vyacheslav-smirnov avatar

Watchers

 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.