Hi Blaine,

(replying here for the record, this was just discussed in #tce)

On 05/28/2013 03:08 PM, Blaine Rister wrote:
> My name is Blaine Rister, and I am a research assistant in CSE at the 
> University
> of Oulu, Finland. I am writing to see if I can get help installing POCL.
> Currently, "make check" and "make installcheck" fail with the same errors.

Can you check what's in tests/testsuite.dir/001/testsuite.log etc?
BTW you should use the 0.8 branch now. It has lots of improvements
(bzr co pocl/0.8 pocl-0.8) and should be now more robust than 0.7.

> Running Ubuntu 12.04, 64-bit, I have 26 tests fail, including the examples.
> However, I have tried modifying the source code to example1 and example2, and
> with these modifications, I can run the examples once they are recompiled 
> using
> "make". Surprisingly, even with the modified source in place, the examples 
> will
> fail in "make check", even when they run correctly when directly running the
> output executable, as in "./example1".

Do you have an ICD loader which can be used with the test suite?
See 'IMPORTANT' in
http://pocl.sourceforge.net/docs/html/development.html#test-suite

Perhaps you have an unsupported ICD loader which then finds some other
OpenCL implementation installed in your system and for some reason it
fails to run the suite.

> This links OpenCL using the AMD ICD loader. However, when I try to do the same
> with tcecc, I get the the following error:

For simulating a host<->tta-device (host!=tta) setup, check the tests/tce
/ttasim/. Especially check Makefile.am how it setups the device list and points
out the ADF to use.

For the standalone mode (host=device=tta) which has only limited host API
support: http://tce.cs.tut.fi/user_manual/TCE/node21.html

I've had plans to try to reuse most of the pocl host API implementations for
the standalone mode too, but simply haven't had time to do anything about it.
Thus, the couple of implemented host API implementations are now in the TCE
code base.

-- 
--Pekka


------------------------------------------------------------------------------
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

Reply via email to