I guess I'll look into getting ocl-icd to work on Red Hat.

-----Original Message-----
From: Kalle Raiskila [mailto:[email protected]] 
Sent: Wednesday, March 06, 2013 9:10 PM
To: [email protected]
Subject: Re: [pocl-devel] pocl 0.8 still fails most tests

On 06.03.2013 16:53, Pekka Jääskeläinen wrote:
> On 03/06/2013 04:41 PM, David Minor wrote:
>> Yes I did. One thing of note, I couldn't compile either khronos icd 
>> or the ocl-icd on my system. I have both the Nvidia and Intel drivers 
>> installed. I presume I'm using the Intel icd as that was the last one 
>> I installed. I get the proper platform and devices for each opencl 
>> implementation.
>
> This is the likely reason for failure. Why the couple of tests work is 
> slighly strange though. Maybe it uses some installed OCL successfully.

Indeed, this is precisely what happens in this situation:
pocl is built with icd enabled, thus the tests are linked against libOpenCL, 
not libpocl. In this case, that is the system ICD loader (intel's, here?).
The tests then execute against whatever opencl that ICD loader can load.

Just tried to run a setup like this against amd's opencl, got a result of:

ERROR: 50 tests were run,
1 passed unexpectedly,
21 failed (4 expected failures)

Looking at the buildlog, one (at least) cause of failures is that the tests use 
pocl-specific extensions (_CL_NOINLINE, see e.g. 
https://code.launchpad.net/~jessetowner/pocl/pocl/+merge/148882).

Difficult to say why exactly some individual tests failed and some worked for 
the OCL David used. But the feature and regression tests are there to test 
pocl, not any other opencl library. (The third party testsuites are more for 
checking conformance of pocl against the opencl standard. E.g. running the AMD 
tests in this setup showed 8 unexpected passes, which was expected as it was 
run against AMD's ocl).


kalle

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the 
endpoint security space. For insight on selecting the right partner to tackle 
endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to