Skip to content

Commit

Permalink
Merge pull request #4 from ASEM000/v0.2
Browse files Browse the repository at this point in the history
V0.1.3
  • Loading branch information
ASEM000 authored Mar 2, 2023
2 parents 2719c7e + e200ddf commit 1fb2c24
Show file tree
Hide file tree
Showing 19 changed files with 547 additions and 579 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand All @@ -21,7 +21,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest wheel optax jaxlib pytreeclass coverage
python -m pip install git+https://github.com/ASEM000/PyTreeClass@v0.2noDataclass
python -m pip install pytest wheel optax jaxlib coverage
- name: Pytest Check
run: |
python -m pip install .
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ TODO.txt
.trunk/trunk.yaml

build
tests.ipynb
tests.ipynb
1 change: 1 addition & 0 deletions .trunk/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*out
*logs
external
1 change: 1 addition & 0 deletions .trunk/actions
1 change: 1 addition & 0 deletions .trunk/notifications
2 changes: 1 addition & 1 deletion .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 0.1
cli:
version: 0.15.1-beta
version: 1.5.1
lint:
enabled:
- black@22.3.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align = "center">
<img width=300px src="assets/kernexlogo.svg" align="center">
<img width=400 src="assets/kernexlogo.svg" align="center">


<h3 align="center">Differentiable Stencil computations in JAX </h2>
Expand Down
26 changes: 12 additions & 14 deletions assets/kernexlogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 7 additions & 11 deletions kernex/__init__.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
from ._src.base import kernelOperation
from ._src.map import baseKernelMap, kernelMap, offsetKernelMap
from ._src.scan import baseKernelScan, kernelScan, offsetKernelScan
from ._src.map import kernel_map, offset_kernel_map
from ._src.scan import kernel_scan, offset_kernel_scan
from .interface.kernel_interface import kmap, kscan, smap, sscan

__all__ = (
"kmap",
"kscan",
"smap",
"sscan",
"kernelOperation",
"baseKernelMap",
"kernelMap",
"offsetKernelMap",
"baseKernelScan",
"kernelScan",
"offsetKernelScan",
"kernel_map",
"offset_kernel_map",
"kernel_scan",
"offset_kernel_scan",
)

__version__ = "0.1.2"
__version__ = "0.1.3"
117 changes: 0 additions & 117 deletions kernex/_src/base.py

This file was deleted.

Loading

0 comments on commit 1fb2c24

Please sign in to comment.