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.

> 
>   That said, ocl-icd 2.2.3 should really allow to compile with 1.2 headers.
> I just fix the number count so that there is no more duplicate member
> in the structure.
> 
> > How can I disable POCL picking up the OpenCL headers provided by the 
> > sources and
> > picking the headers installed on the system?
> 
>   For this, I let Pekka answer.
> 
>   Regards,
>     Vincent


Attachment: signature.asc
Description: PGP signature

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