[Beignet] Sample program crash with beignet 0.3 on IVB

zhigang gong zhigang.gong at gmail.com
Wed Dec 4 00:26:44 PST 2013


On Wed, Dec 4, 2013 at 3:23 AM, Robert Jobbagy <jobbagy.robert at gmail.com>wrote:

> Thanks your help, it works.
>
> I tried this opencl example :
>
> http://wiki.tiker.net/OpenCLHowTo#Testing
>
> and it shows these supported extensions by IVB:
>
> NAME: Intel HD Graphics Family
> VENDOR: Intel
> PROFILE: FULL_PROFILE
> VERSION: OpenCL 1.2 beignet 0.3
> EXTENSIONS: cl_khr_global_int32_base_atomics
> cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics
> cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store
> cl_khr_icd cl_khr_gl_sharing
> DRIVER_VERSION: 0.3
>
>
> but when I use opencv with opencl I gave CL_BUILD_PROGRAM_FAILURE error.
> I think the problem is opencv want to use cl_khr_fp64 extension and
> beignet doesnt support yet or not ?
>
 Could you provide more details about the failure? The complete error
information, and the specific procedure to reproduce this failure.

 Thanks,
 Zhigang

>
> What can I do ?
>
> Thanks again.
>
>
> 2013/12/2 Zhigang Gong <zhigang.gong at linux.intel.com>
>
>> On Sat, Nov 30, 2013 at 10:57:00PM +0100, Robert Jobbagy wrote:
>> > Thanks your help,
>> >
>> > I used mesa 9.2.1 and it's contains this patch.
>> You need to use the eaxct version specified by that commit log, not just
>> includes that patch.
>> So you may need to use git checkout 92e62...
>> >
>> > I set mesa source and gone previous errors but I gave these compile
>> errors.
>> > I used opencl 1.2 branch:
>> >
>> >
>> /home/evil85/Development/beignet_opencl_1_2/src/intel/intel_dri_resource_sharing.c:
>> > In function ‘intel_get_gl_obj_from_texture’:
>> >
>> /home/evil85/Development/beignet_opencl_1_2/src/intel/intel_dri_resource_sharing.c:103:38:
>> > error: dereferencing pointer to incomplete type
>> >     obj = __mesa_lookup_texture(&intel->ctx, texture);
>> >                                       ^
>> >
>> /home/evil85/Development/beignet_opencl_1_2/src/intel/intel_dri_resource_sharing.c:109:42:
>> > error: dereferencing pointer to incomplete type
>> >     __mesa_test_texobj_completeness(&intel->ctx, obj);
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20131204/d6a48aea/attachment.html>


More information about the Beignet mailing list