-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add kernel-tuner and python-constraint2 #24420
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
4d35086
Add recipe for kernel-tuner
bouweandela 220b8d2
Remove version constraint from python requirement
bouweandela 56e6f43
Update home URL
bouweandela 580d294
Add tests
bouweandela 062b828
Build kernel-tuner only for Linux and OSX
bouweandela a24c0ab
Add tests for python-constraint2
bouweandela 52be0d1
Make kernel-tuner noarch: python
bouweandela File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{% set name = "kernel-tuner" %} | ||
{% set version = "1.0.0b6" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://pypi.io/packages/source/{{ name[0] }}/kernel_tuner/kernel_tuner-{{ version }}.tar.gz | ||
sha256: 8ec7cac41f1eec84e54bf2452008c905fad90279949e477355fb9eda054b1beb | ||
|
||
build: | ||
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation | ||
number: 0 | ||
noarch: python | ||
|
||
requirements: | ||
host: | ||
- pip | ||
- poetry-core >=1.7.0 | ||
- python >=3.8,<3.12 | ||
- setuptools >=67.7.2 | ||
run: | ||
- __unix | ||
- jsonschema | ||
- numpy >=1.22.2,<2 | ||
- python-constraint2 >=2.0.0b3,<3 | ||
- pandas >=2.0.0,<3 | ||
- python >=3.8,<3.12 | ||
- scikit-learn >=1.0.2,<2 | ||
- scipy >=1.10.1,<2 | ||
- xmltodict | ||
|
||
test: | ||
commands: | ||
- pip check | ||
- pytest | ||
imports: | ||
- kernel_tuner | ||
requires: | ||
- mock | ||
- pep440 | ||
- pip | ||
- pytest >=7.4 | ||
- pytest-cov | ||
- tomli | ||
source_files: | ||
- pyproject.toml | ||
- test | ||
- README.rst | ||
|
||
about: | ||
home: https://github.com/kerneltuner/kernel_tuner | ||
summary: 'An easy to use CUDA/OpenCL kernel tuner in Python' | ||
description: | | ||
Kernel Tuner simplifies the software development of optimized and | ||
auto-tuned GPU programs, by enabling Python-based unit testing of GPU code | ||
and making it easy to develop scripts for auto-tuning GPU kernels. This | ||
also means no extensive changes and no new dependencies are required in the | ||
kernel code. The kernels can still be compiled and used as normal from any | ||
host programming language. | ||
|
||
Kernel Tuner provides a comprehensive solution for auto-tuning GPU | ||
programs, supporting auto-tuning of user-defined parameters in both host | ||
and device code, supporting output verification of all benchmarked kernels | ||
during tuning, as well as many optimization strategies to speed up the | ||
tuning process. | ||
license: Apache-2.0 | ||
license_file: LICENSE | ||
doc_url: https://kerneltuner.github.io | ||
|
||
extra: | ||
recipe-maintainers: | ||
- benvanwerkhoven | ||
- bouweandela | ||
- fjwillemsen | ||
- isazi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{% set name = "python-constraint2" %} | ||
{% set version = "2.0.0b4" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/python_constraint2-{{ version }}.tar.gz | ||
sha256: 2c8dd055f63b91ccd93d3145411648030a705306d18a78c3e8f739109c2e889d | ||
|
||
build: | ||
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation | ||
number: 0 | ||
skip: True # [py>311] | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('c') }} | ||
host: | ||
- cython >=3.0.2 | ||
- pip | ||
- poetry-core >=1.7.0 | ||
- python | ||
- setuptools >=67.7.2 | ||
run: | ||
- python | ||
|
||
test: | ||
commands: | ||
- pip check | ||
- pytest --ignore tests/test_constraint.py --ignore tests/test_compilation.py | ||
imports: | ||
- constraint | ||
requires: | ||
- pep440 | ||
- pip | ||
- pytest | ||
- pytest-cov | ||
- tomli | ||
source_files: | ||
- pyproject.toml | ||
- tests | ||
- README.rst | ||
|
||
about: | ||
home: https://github.com/python-constraint/python-constraint | ||
summary: A module for efficiently solving CSPs (Constraint Solving Problems) over finite domains. | ||
license: BSD-2-Clause | ||
license_file: LICENSE | ||
doc_url: http://python-constraint.github.io/python-constraint | ||
|
||
extra: | ||
recipe-maintainers: | ||
- bouweandela | ||
- fjwillemsen |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We prefer to have releases on conda-forge, can you please submit one of these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if I understand the comment, my apologies. Do you mean a release that is not a beta version?
If the issue is indeed that it is a beta release, the reason for doing it like this is the following: version 0.x of kernel tuner does not include the source distribution on PyPI, so that is I why I opted for building the conda-forge package for version 1.x. However, that requires
python-constraint2
which is only available as a beta version, I suspect this is because maintenance was recently taken up again by a new maintainer, @fjwillemsen.