Hi<div><br></div><div>what you and Łukasz Ligowski are saying is just amazing. </div><div>It means, that there is generally no problems with PyPy and CUDA.</div><div><br clear="all">best regards<br>--<br>Valery A.Khamenya<br>
<br><br><div class="gmail_quote">On Mon, Sep 12, 2011 at 5:50 AM, Ken Watford <span dir="ltr"><<a href="mailto:kwatford@gmail.com">kwatford@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I started a project called PyCL about two months ago. It's OpenCL<br>
through ctypes, and it works with PyPy. I don't believe it currently<br>
works with the new numpy stuff, but the standard Python array module<br>
should work.<br>
<br>
It's available through the cheeseshop, and there's a repository for it here:<br>
<a href="https://bitbucket.org/kw/pycl" target="_blank">https://bitbucket.org/kw/pycl</a><br>
<br>
I can't say I've had any time to work on it much in last month. Image<br>
support wasn't quite ready yet, last I recall, but doing basic stuff<br>
with buffers and kernels should work. Though last time I checked it<br>
ran generally slower in PyPy than CPython. Haven't checked it since<br>
1.6 came out, though.<br>
<div><div></div><div class="h5"><br>
On Sun, Sep 11, 2011 at 6:29 PM, Valery Khamenya <<a href="mailto:khamenya@gmail.com">khamenya@gmail.com</a>> wrote:<br>
> Hi all,<br>
> (replying, please, Cc to me )<br>
> I was quite surprised to see that cooperhead could be compiled and installed<br>
> OK under PyPy.<br>
> Of course it didn't work, because micronumpy is still young:<br>
> "AttributeError: 'module' object has no attribute 'float64' "<br>
> Did anyone try to execute some numeric stuff using CUDA from PyPy ?<br>
> CUDA + PyPy -- it would be just fantastic.<br>
> best regards<br>
> --<br>
> Valery A.Khamenya<br>
><br>
</div></div>> _______________________________________________<br>
> pypy-dev mailing list<br>
> <a href="mailto:pypy-dev@python.org">pypy-dev@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/pypy-dev" target="_blank">http://mail.python.org/mailman/listinfo/pypy-dev</a><br>
><br>
><br>
</blockquote></div><br></div>