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 pocl (a CPU OpenCL implementation) #2254

Merged
merged 13 commits into from Jan 31, 2017
Merged

Conversation

inducer
Copy link
Contributor

@inducer inducer commented Jan 19, 2017

No description provided.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/pocl) and found it was in an excellent condition.

@inducer inducer changed the title Add pocl (a CPU OpenCL implementation) [WIP] Add pocl (a CPU OpenCL implementation) Jan 19, 2017
@inducer
Copy link
Contributor Author

inducer commented Jan 19, 2017

(Currently missing libcxx. Totally forgot about that, will submit that next.)

@inducer inducer closed this Jan 28, 2017
@inducer inducer reopened this Jan 28, 2017
@inducer
Copy link
Contributor Author

inducer commented Jan 28, 2017

libcxx is built, resuming.

@inducer inducer changed the title [WIP] Add pocl (a CPU OpenCL implementation) Add pocl (a CPU OpenCL implementation) Jan 29, 2017
@inducer
Copy link
Contributor Author

inducer commented Jan 29, 2017

@conda-forge/core This is ready for review. It adds an implementation of OpenCL for CPUs. It's LInux-only for the moment, but I am hoping to bring up Mac support over the coming weeks.

With this merged, conda install pocl pyopencl gives you a nice, fast, and self-contained way to do high-performance just-in-time code generation from Python, with an easy upgrade path to GPUs.

@@ -1,45 +0,0 @@
{% set version = "0.1.5" %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need / shouldn't remove other recipes from the recipe dir. conda-forge will skip them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, sorry. Fixed.

- 0001-Fix-clEnqueueFillBuffer-memory-leak.patch

build:
number: 4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build number should be zero for new recipes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started this at 4 because I have had a version of this in my own channel, and I want to make sure that the folks who currently use that package have a smooth upgrade path. I'm happy to revert to zero if you think that starting at zero is the overriding concern, but overall I thought, "it's just a number", and figured obvious upgrade behavior from the out-of-tree package was more important than clean numbering. Let me know if you feel strongly about this, I'll revert if you prefer.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh this makes sense. Thanks for clarifying.

@@ -57,5 +57,5 @@ find conda-recipes -mindepth 2 -maxdepth 2 -type f -name "yum_requirements.txt"
| xargs -n1 cat | grep -v -e "^#" -e "^$" | \
xargs -r yum install -y

conda-build-all /conda-recipes --matrix-conditions "numpy >=1.11" "python >=2.7,<3|>=3.5"
conda-build-all /conda-recipes --matrix-conditions "numpy >=1.11" "python >=2.7,<3|>=3.5" "r-base >=3.3.2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should modify the scripts dir in a recipe PR. @conda-forge/core may know more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argh. I didn't meant to. This is a merge of staged-recipes master gone wrong. Fixed, sorry.

@inducer
Copy link
Contributor Author

inducer commented Jan 29, 2017

@scopatz Thanks for the review. I've addressed your concerns.

@scopatz scopatz merged commit d4fd67a into conda-forge:master Jan 31, 2017
@inducer
Copy link
Contributor Author

inducer commented Feb 1, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants