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

2018.2 osx_pocl_opencl build isn't built against pocl #26

Closed
mattwala opened this issue Sep 20, 2018 · 7 comments · Fixed by #27
Closed

2018.2 osx_pocl_opencl build isn't built against pocl #26

mattwala opened this issue Sep 20, 2018 · 7 comments · Fixed by #27

Comments

@mattwala
Copy link

Updating to 2018.2 on my Mac gets me the following:

The following packages will be UPDATED:

    pyopencl: 2018.1.1-py36_osx_pocl_opencl_2 conda-forge [osx_pocl_opencl] --> 2018.2-py36_osx_pocl_openclh1b5f808_0 conda-forge [osx_pocl_opencl]

Proceed ([y]/n)? y

pyopencl-2018. 100% |##############################################################################################################| Time: 0:00:00   2.95 MB/s
(inteq) $ python
Python 3.6.6 | packaged by conda-forge | (default, Jul 26 2018, 09:55:02) 
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyopencl as cl
>>> cl._csc()
Choose platform:
[0] <pyopencl.Platform 'Apple' at 0x7fff0000>
Choice [0]:
Choose device(s):
[0] <pyopencl.Device 'Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz' on 'Apple' at 0xffffffff>
[1] <pyopencl.Device 'Intel(R) Iris(TM) Graphics 6100' on 'Apple' at 0x1024500>
@inducer
Copy link
Contributor

inducer commented Sep 20, 2018 via email

@isuruf isuruf mentioned this issue Sep 20, 2018
5 tasks
@inducer
Copy link
Contributor

inducer commented Sep 20, 2018

@mattwala, thanks for reporting this!

@isuruf, thanks for working on a fix in #27!

@inducer inducer reopened this Sep 21, 2018
@inducer
Copy link
Contributor

inducer commented Sep 21, 2018

It's not clear that the fix in #27 worked. The pyopencl 2018.2 conda package will install, but when I say

conda install osx-pocl-opencl pocl

conda responds with

The following packages will be DOWNGRADED:

    pyopencl:        2018.2-py36h81a3be6_1 conda-forge --> 2018.1.1-py36_osx_pocl_opencl_2 conda-forge [osx_pocl_opencl]

indicating that 2018.2 + pocl is still not available, although the relevant builds have completed.

@inducer
Copy link
Contributor

inducer commented Sep 21, 2018

(Tried on appletini just now.)

@isuruf
Copy link
Member

isuruf commented Sep 21, 2018

conda solver is unpredictable. Can you try conda install osx-pocl-opencl pocl pyopencl?

@inducer
Copy link
Contributor

inducer commented Sep 21, 2018 via email

@mattwala
Copy link
Author

I can confirm that this now works. Thank you @isuruf and @inducer! @inducer: I'm assuming you meant to close this, so I will.

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

Successfully merging a pull request may close this issue.

3 participants