-
Notifications
You must be signed in to change notification settings - Fork 237
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
Cannot run same script twice. #60
Comments
Can you try a lower version of beignet? e.g. 0.9 |
Yes, my fault. I didn't installed the right It is worth noticing that the version shipped with Ubuntu 14.04 is very old, 0.3.1-1. Any recommendation for using the right version on different machines? Better to compile
|
My local beignet version is 3 commit ahead of 0.9.1 and it runs without problems. If you found a commit that breaks pyopencl I think you should report to beignet with the bad commit you are on. |
Also, I'm supprised that beignet <= 0.9.1 works at all from a binary package since it is only recently that beignet can work on a different architecture it is compiled on. (i.e. if you want to run it on IveBridge CPU, beignet had to be compiled on that CPU as well). |
Thanks @yuyichao I'll compile the latest git master asap. Given the OS release I'll try the LLVM/clang 3.4 stack as it is shipped by default on 14.04. What about the git mesa local repo? It is a required dependency for using pyopencl and beignet successfully? |
There's a recent thread on a compiling problem on the beignet list and the reply seems to indicate that 10.1 should be fine. I'm not sure what's the officially supported versions but at least git master is not necessary. I have just compiled the latest beignet master with mesa 10.2.5 and it looks OK. I guess you should just test it with whatever mesa version you have and report to beignet list if it fails to figure out whether it is possible to support the version you have (I guess any recent versions should be fine). |
Yes, the 0.9.2+ seems to works much better. I've compiled with the latest Intel Graphics stack for Ubuntu 14.04 which brings Mesa 10.2.2. Compilation is fine and the only missing part is the
|
After installing
pyopencl
and running some example I found this strange behaviour: running twice the same program produces a RuntimeError. For instance running the demo.py from examples folder:I tried install the pip version of pyopencl and the git version. In both cases they produce the same errors. Compiling C/C++ code for OpenCL with the installed driver doesn't produce any error.
Here the generated
.cl
file:However removing the cached output under
/tmp
the execution resumes without any problems:Any ideas on how to fix this problem? :)
The text was updated successfully, but these errors were encountered: