From a870670848aa69efdfa7ad48374c5526ca4921b0 Mon Sep 17 00:00:00 2001 From: vlad-perevezentsev <68376232+vlad-perevezentsev@users.noreply.github.com> Date: Wed, 16 Dec 2020 20:33:38 +0300 Subject: [PATCH 1/8] update CHANGELOG --- numba_dppy/CHANGE_LOG | 7 ------- numba_dppy/CHANGE_LOG.md | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 7 deletions(-) delete mode 100644 numba_dppy/CHANGE_LOG create mode 100644 numba_dppy/CHANGE_LOG.md diff --git a/numba_dppy/CHANGE_LOG b/numba_dppy/CHANGE_LOG deleted file mode 100644 index 2a1fcdee40..0000000000 --- a/numba_dppy/CHANGE_LOG +++ /dev/null @@ -1,7 +0,0 @@ -NUMBA Version 0.48.0 + DPPY Version 0.3.0 (June 29, 2020) --------------------------------------------------------- - -This release includes: - -* Caching of dppy.kernels which will improve performance. -* Addition of support for Intel Advisor which will help in profiling applications. diff --git a/numba_dppy/CHANGE_LOG.md b/numba_dppy/CHANGE_LOG.md new file mode 100644 index 0000000000..dbca1ddcd3 --- /dev/null +++ b/numba_dppy/CHANGE_LOG.md @@ -0,0 +1,24 @@ +# Changelog +All notable changes to this project will be documented in this file. + +## [0.12.0] - 2020-12-17 +### Added +- Dependency on llvm-spirv, llvmdev , spirv-tools. +- Documentation on using gdb. +- Implementation of `np.linalg.eig`. +- Offload diagnostics. + +### Changed +- Rename `DPPL` to `DPPY`. +- `DPPLTestCase` replaced with `unittest.TestCase`. +- Numba-dppy tests and examples use `with device_context`. + +### Removed +- Use of cffi. +- The old backup file. + +## NUMBA Version 0.48.0 + DPPY Version 0.3.0 (June 29, 2020) + +This release includes: +- Caching of dppy.kernels which will improve performance. +- Addition of support for Intel Advisor which will help in profiling applications. From 5114d5ce8a6ad1664886d408e092cef3a12506a0 Mon Sep 17 00:00:00 2001 From: Sergey Pokhodenko Date: Wed, 16 Dec 2020 17:15:03 -0600 Subject: [PATCH 2/8] Move CHANGELOG.md --- numba_dppy/CHANGE_LOG.md => CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename numba_dppy/CHANGE_LOG.md => CHANGELOG.md (72%) diff --git a/numba_dppy/CHANGE_LOG.md b/CHANGELOG.md similarity index 72% rename from numba_dppy/CHANGE_LOG.md rename to CHANGELOG.md index dbca1ddcd3..c1ea884b03 100644 --- a/numba_dppy/CHANGE_LOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + ## [0.12.0] - 2020-12-17 ### Added - Dependency on llvm-spirv, llvmdev , spirv-tools. @@ -11,7 +16,7 @@ All notable changes to this project will be documented in this file. ### Changed - Rename `DPPL` to `DPPY`. - `DPPLTestCase` replaced with `unittest.TestCase`. -- Numba-dppy tests and examples use `with device_context`. +- All tests and examples use `with device_context`. ### Removed - Use of cffi. From 964a0a10091cb81c8cf662a4616ef8064d6d4469 Mon Sep 17 00:00:00 2001 From: Sergey Pokhodenko Date: Wed, 16 Dec 2020 17:25:00 -0600 Subject: [PATCH 3/8] Update CHANGELOG --- CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1ea884b03..6358ac4374 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,10 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.12.0] - 2020-12-17 ### Added -- Dependency on llvm-spirv, llvmdev , spirv-tools. -- Documentation on using gdb. -- Implementation of `np.linalg.eig`. +- numba-dppy is a standalone package now. - Offload diagnostics. +- Controllable fallback. +- Add flags to generate debug symbols. +- Implementation of `np.linalg.eig`. ### Changed - Rename `DPPL` to `DPPY`. From 91d25a67027eaa8b845874a97e8b7beb98796ee7 Mon Sep 17 00:00:00 2001 From: Sergey Pokhodenko Date: Wed, 16 Dec 2020 17:39:49 -0600 Subject: [PATCH 4/8] update --- CHANGELOG.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6358ac4374..d25f71a491 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,19 +8,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.12.0] - 2020-12-17 ### Added -- numba-dppy is a standalone package now. +- numba-dppy is a standalone package now. Added setup.py and conda recipe. - Offload diagnostics. - Controllable fallback. - Add flags to generate debug symbols. - Implementation of `np.linalg.eig`. +- Updated to dpCtl 0.5.* and dpNP 0.4.* ### Changed - Rename `DPPL` to `DPPY`. +- Cleaned test code. - `DPPLTestCase` replaced with `unittest.TestCase`. - All tests and examples use `with device_context`. +- Config environment variables starts with `NUMBA_DPPY_` +(i.e. NUMBA_DPPY_SAVE_IR_FILES and NUMBA_DPPY_SPIRV_VAL) +- Remove nested folder `dppl` in `tests`. ### Removed -- Use of cffi. +- Use dependency to `cffi`. - The old backup file. ## NUMBA Version 0.48.0 + DPPY Version 0.3.0 (June 29, 2020) From 9c32d9a634027f22104c0f2cbee505e5a0c78788 Mon Sep 17 00:00:00 2001 From: Sergey Pokhodenko Date: Wed, 16 Dec 2020 17:40:58 -0600 Subject: [PATCH 5/8] update --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d25f71a491..f267a6711f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,9 +23,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Config environment variables starts with `NUMBA_DPPY_` (i.e. NUMBA_DPPY_SAVE_IR_FILES and NUMBA_DPPY_SPIRV_VAL) - Remove nested folder `dppl` in `tests`. +- No dependency on `cffi`. + ### Removed -- Use dependency to `cffi`. - The old backup file. ## NUMBA Version 0.48.0 + DPPY Version 0.3.0 (June 29, 2020) From 868238d58dd148beaf908fd5d65f3b7bf9aaf278 Mon Sep 17 00:00:00 2001 From: Sergey Pokhodenko Date: Wed, 16 Dec 2020 17:43:12 -0600 Subject: [PATCH 6/8] update --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f267a6711f..35f58d7bc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add flags to generate debug symbols. - Implementation of `np.linalg.eig`. - Updated to dpCtl 0.5.* and dpNP 0.4.* +- The `dpnp` integration to support NumPy functions on SYCL devices now uses +Numba's `@overload` functionality. ### Changed - Rename `DPPL` to `DPPY`. From a015b4cbd773e2c3dbbac84bcbff9de48a6dd0d1 Mon Sep 17 00:00:00 2001 From: Sergey Pokhodenko Date: Wed, 16 Dec 2020 17:44:06 -0600 Subject: [PATCH 7/8] fix --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35f58d7bc1..51a8eb0655 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,7 +27,6 @@ Numba's `@overload` functionality. - Remove nested folder `dppl` in `tests`. - No dependency on `cffi`. - ### Removed - The old backup file. From 751b71c7e519f28f058799d3be8b4759447362fd Mon Sep 17 00:00:00 2001 From: Diptorup Deb <3046810+diptorupd@users.noreply.github.com> Date: Wed, 16 Dec 2020 17:50:07 -0600 Subject: [PATCH 8/8] Update CHANGELOG.md Once again --- CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51a8eb0655..fa7e9350f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,12 +12,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Offload diagnostics. - Controllable fallback. - Add flags to generate debug symbols. -- Implementation of `np.linalg.eig`. +- Implementation of `np.linalg.eig`, `np.ndarray.sum`, `np.ndarray.max`, `np.ndarray.min`, `np.ndarray.mean`. +- Two new re-write passes to convert NumPy calls into a pseudo `numba_dppy` call site to allow target-specific + overload of NumPy functions. The rewrite passes is a temporary fix till Numba gains support for target-specific overlaods. - Updated to dpCtl 0.5.* and dpNP 0.4.* -- The `dpnp` integration to support NumPy functions on SYCL devices now uses -Numba's `@overload` functionality. ### Changed +- The `dpnp` interface now uses Numba's `@overload` functionality as opposed to the previous `@lower_builtin` method. - Rename `DPPL` to `DPPY`. - Cleaned test code. - `DPPLTestCase` replaced with `unittest.TestCase`.