[Beignet] Sample program crash with beignet 0.3 on IVB

Robert Jobbagy jobbagy.robert at gmail.com
Wed Dec 4 00:32:06 PST 2013


I attached my output log.


2013/12/4 zhigang gong <zhigang.gong at gmail.com>

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


-- 
Best Regards,

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20131204/158d2215/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: squares_ocl_sample_crash.log
Type: text/x-log
Size: 4942 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20131204/158d2215/attachment.bin>


More information about the Beignet mailing list