On 05/10/2014 11:32, O. Hartmann wrote:
> Am Sun, 05 Oct 2014 11:21:23 +0200
> Vincent Danjean <[email protected]> schrieb:
> 
>> On 05/10/2014 10:17, Vincent Danjean wrote:
>>> On 05/10/2014 09:42, Pekka Jääskeläinen wrote:
>>>> On 10/04/2014 08:52 PM, O. Hartmann wrote:
>>>>> ^ ; /usr/local/include/ocl_icd.h:930:11: error: unknown type name
>>>>> 'cl_pipe_properties'; did you mean 'cl_context_properties'? const
>>>>> cl_pipe_properties * /* properties */, ^~~~~~~~~~~~~~~~~~ 
>>>>> cl_context_properties
>>>>
>>>> This is an ocl_icd.h issue. It refers to OpenCL 2.0 types while you 
>>>> probably
>>>> have 1.1 or 1.2 cl.h.
>>>
>>> Indeed, ocl-icd added support for OpenCL 2.0 since the 2.2.0 release.
>> [...]
>>> PS: in fact, perhaps entries must simply by garded by CL_VERSION_X_Y
>>> macro, so that ocl_icd.h adapt itself to OpenCL headers used at build time.
>>
>> I just implemented that and releases 2.2.2. Please, check if this correctly
>> fix your problem.
>>
>>   Regards,
>>     Vincent

> Heia, this was fast!

  :-)

  I needed to fix this problem for Debian as there is good probability
that only 1.2 OpenCL headers will be shipped with the next stable Debian.

  That said, reading your other mails, if you use 2.0 OpenCL headers,
you should not have problems with any ocl_icd.h.
You can check if you use 2.0 headers by adding in your code
(or in pocl code, just to test) something like :
#ifdef CL_VERSION_2_0
# warning using 2.0 OpenCL headers
#else
#  error not using 2.0 OpenCL headers (probably 1.2)
#endif

  Regards,
    Vincent
> 
> 
> 
> ------------------------------------------------------------------------------
> 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
> 


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