Skip to content
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 7 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions recipes/kernel-tuner/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{% set name = "kernel-tuner" %}
{% set version = "1.0.0b5" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/kernel_tuner/kernel_tuner-{{ version }}.tar.gz
sha256: 8cc4cb4e362cd0c35db1057f55b316c3c5365a64338ca66acc7283e6604e6315

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- pip
- poetry-core >=1.7.0
- python >=3.8,<3.12
- setuptools >=67.7.2
run:
- 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
imports:
- kernel_tuner
requires:
- pip

about:
home: https://github.com/benvanwerkhoven/kernel_tuner
bouweandela marked this conversation as resolved.
Show resolved Hide resolved
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
47 changes: 47 additions & 0 deletions recipes/python-constraint2/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{% set name = "python-constraint2" %}
{% set version = "2.0.0b3" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/python_constraint2-{{ version }}.tar.gz
sha256: ab80ef97b96ff76ee71d965f130a427a89e0f80a27c09c0b76686a028fffb4e9

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
imports:
- constraint
requires:
- pip

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