Skip to content

Commit 7403635

Browse files
committed
Add versioneer
1 parent ccfb262 commit 7403635

File tree

21 files changed

+793
-3
lines changed

21 files changed

+793
-3
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ exclude =
88
__pycache__
99
./dist
1010
./setup.py
11+
./dpbench/_version.py
1112
max-complexity = 10

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-FileCopyrightText: 2022 - 2023 Intel Corporation
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
dpbench/_version.py export-subst

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2022 - 2023 Intel Corporation
3+
4+
SPDX-License-Identifier: Apache-2.0
5+
-->
6+
7+
# Changelog
8+
All notable changes to this project will be documented in this file.
9+
10+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
11+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
12+
13+
## [0.90.0] - 2023-06-23
14+
15+
### Added
16+
* First release.
17+
* Infrastructure to run benchmarks in independent threads.
18+
* Frameworks
19+
* numpy
20+
* python
21+
* dpnp
22+
* dpcpp
23+
* numba
24+
* numb-dpex
25+
* Benchmarks
26+
* black_scholes
27+
* dbscan
28+
* gpairs
29+
* kmeans
30+
* knn
31+
* l2_norm
32+
* pairwise_distance
33+
* pca
34+
* rambo
35+
* Experimental framework
36+
* numba-mlir
37+
* Experimental benchmarks
38+
* multiple npbench benchmarks
39+
* multiple polybench benchmarks

conda-recipe/bld.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ if NOT "%WHEELS_OUTPUT_FOLDER%"=="" (
5555
if errorlevel 1 exit 1
5656
)
5757

58+
5859
rem copy back
5960
if EXIST "%PLATFORM_DIR%" (
6061
copy /Y "%FN%" "%PLATFORM_DIR%\%FN%"

conda-recipe/meta.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
package:
66
name: dpbench
7-
version: 0.1
7+
version: {{ GIT_DESCRIBE_TAG }}
8+
89
source:
910
path: ..
1011

@@ -19,6 +20,7 @@ requirements:
1920
- {{ compiler('dpcpp') }} >=2023.1 # [not osx]
2021
- sysroot_linux-64 >=2.28 # [linux]
2122
host:
23+
- pip
2224
- python
2325
- setuptools
2426
- cmake==3.26* # [win]
@@ -27,6 +29,7 @@ requirements:
2729
- scikit-build
2830
- cython
2931
- pybind11
32+
- versioneer
3033
- intel::numpy
3134
- numba
3235
- dpctl

dpbench/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# SPDX-FileCopyrightText: 2022 - 2023 Intel Corporation
22
#
33
# SPDX-License-Identifier: Apache-2.0
4+
5+
from . import _version
6+
7+
__version__ = _version.get_versions()["version"]

0 commit comments

Comments
 (0)