> Am Sun, 05 Oct 2014 17:20:34 +0200
> Vincent Danjean <[email protected]> schrieb:
> 
> > On 05/10/2014 17:02, O. Hartmann wrote:
> > > When I define via CPPFLAGS -DCL_VERSION_2_0 and recompile POCL,
> > > the compiler drops at the very same error I started this thread:
> > 
> > Of course. When you do this, you claim that 2.0 types are defined
> > in CL/cl.h and this is not the case in your installation (it means
> > your are using 1.2 headers)
> 
> Well, I presume if I install the header files from Khronos, then
> those types must be defined - they claim they are CL 2.0 compliant.
> On FreeBSD UNIX, I have those taken from port devel/opencl, and those
> headers are 2.0. Checking for the type definition, I see those types
> defined in CL/cl.h. 
> 
> I suspect that POCL picks up its own CL 1.2 headers provided by the
> sources.

Yes, this is (partly) because of the Khronos broken cl.hpp - it calls
intel intrinsics, which fail on non-intel builds. So this one needs to
be patched, and I guess the other headers get included at the same
time. But I think it has been a long time since anyone looked at
these... 
And the pocl included headers are not yet updated to 2.0 versions.

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to