I committed this to my branch as well.

We should add instructions to pocl for how to use PyOpenCL as a test
case. See e.g. "examples/ViennaCL/README", and
"tests/testsuite-viennacl.at", which also describes an external
package that needs to be downloaded separately.

-erik

On Mon, Aug 20, 2012 at 9:33 PM, Andreas Kloeckner
<[email protected]> wrote:
> Andreas Kloeckner <[email protected]> writes:
>
>> Andreas Kloeckner <[email protected]> writes:
>>> Thanks for your quick response! Unfortunately, something must be off
>>> still, as CL_MEM_TYPE for what should be a buffer object gives
>>> 1071312404, i.e. what looks essentially like a random number. Which is
>>> not quite surprising, because clCreateBuffer doesn't set that
>>> entry... :)
>>
>> Trivial patch attached to fix this. This makes at least PyOpenCL's
>> example/demo.py work.
>
> Whoops, fixed patch--that last one had too much stuff.
>
> Sorry,
> Andreas
>



-- 
Erik Schnetter <[email protected]>
http://www.perimeterinstitute.ca/personal/eschnetter/
AIM: eschnett247, Skype: eschnett, Google Talk: [email protected]

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to