Andreas
Thanks! We already have several external test cases in pocl's build
mechanism, and adding PyOpenCL seems like a worthwhile goal, requiring only
a bit of autoconf magic. Your instructions above indicate that the head in
the git repository is a good version to try?
In pocl, development is mostly focussed on code generation, in particular
automatic vectorization, parallel correctness, and efficiency. The OpenCL
API is secondary, and is mostly improved or implemented as necessary. Are
there any functions that are currently either missing or are not working
correctly that would be particularly important to you? Is e.g.
clCreateProgramWithBinary important? Do you also have feedback about pocl's
performance? Do you maybe have a set of benchmarks?
Since you tested pocl, it seems to be working for you at least in a
rudimentary manner. We are currently preparing a new release, pocl 0.8, to
coincide with the upcoming LLVM 3.3 release. Did you use LLVM 3.3? Do you
want to test the pocl 0.8 release branch with LLVM 3.3 on your machine, and
add a table entry to <
https://sourceforge.net/apps/mediawiki/pocl/index.php?title=ReleaseTestLog>?
I am trying to cover a wide range of architectures there, but an additional
data point for one of the mainline architectures (assuming you are using
x86_64) is always good.
-erik
On Sun, May 26, 2013 at 6:21 PM, Andreas Kloeckner
<[email protected]>wrote:
> Hi there,
>
> I just built a new pocl, and I'm happy to report that much more of
> PyOpenCL's test suite now passes when using pocl than a few months
> ago. I imagine the test suite might help you uncover a few genuine
> bugs. I've already reported a few that I've found.
>
> Here's a recipe on how to run it yourself:
>
> Installation:
>
> $ git clone --recursive git://github.com/inducer/pyopencl
> $ apt-get install python-pip python-virtualenv
>
> (or equivalent, for example:
> curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
> sudo python get-pip.py
> sudo pip install virtualenv)
>
> $ virtualenv --system-site-packages mypy
> $ source mypy/bin/activate
> $ cd pyopencl
> $ ./configure.py
> [Edit siteconf.py to taste--for example to find CL headers.]
> $ python setup.py install
>
> Update:
>
> $ source mypy/bin/activate
> $ cd pyopencl
> $ git pull
> $ git submodule update
> $ python setup.py install
>
> Run test:
>
> $ source mypy/bin/activate
> $ cd pyopencl/test
> $ PYOPENCL_NO_CACHE=1 PYOPENCL_TEST=portable py.test -v --tb=native
>
> 'PYOPENCL_NO_CACHE=1' turns off binary caching (aka use of
> clCreateProgramWithBinary), which pocl doesn't appear to
> support. (results in 'out of host memory' error)
>
> 'PYOPENCL_TEST=portable' restricts the test run to pocl.
>
> You can also append individual test_*.py files to that command line to
> only run these tests. Many of the algorithmic tests are already looking
> pretty good.
>
> test_wrapper.py on the other hand is pretty brutal. It tests a few
> corner cases (all GetInfo queries, invalid kernel names, ...) and
> crashes with SIGSEGV pretty much immediately.
>
> Thank you for your work on pocl. I'm lurking on the pocl list if you
> need me to help somehow.
>
> Andreas
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> pocl-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pocl-devel
>
--
Erik Schnetter <[email protected]>
http://www.perimeterinstitute.ca/personal/eschnetter/
AIM: eschnett247, Skype: eschnett, Google Talk: [email protected]
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel