Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-27 Thread yan . wang
I tried it and the issue is still exist.

Yan Wang

> Hi, Yan,
>
> I have sent a patch "Refine the intel gpgpu delete. ", it may fix some
> race condition fail, can you try it?
>
>> -Original Message-
>> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf
>> Of
>> yan.w...@linux.intel.com
>> Sent: Friday, October 24, 2014 22:33
>> To: Zhigang Gong
>> Cc: yan.w...@linux.intel.com; beignet@lists.freedesktop.org
>> Subject: Re: [Beignet] possilbe bug when run opencv_test_imgproc
>>
>> Sure. I could try Yang Rong's patch.
>> BTW, I also meet the following failed cases. Could you please confirm
>> them?
>> Thanks.
>>
>> [  FAILED  ] 3 tests, listed below:
>> [  FAILED  ] OCL_ImgProc/Canny.Accuracy/8, where GetParam() =
>> (Channels(3), AppertureSize(3), L2gradient(false), UseRoi(false)) [
>> FAILED  ]
>> OCL_ImgProc/Canny.Accuracy/10, where GetParam() = (Channels(3),
>> AppertureSize(3), L2gradient(true), UseRoi(false)) [  FAILED  ]
>> OCL_Imgproc/HoughLines.RealImage/2, where GetParam() = (1, 0.00872665,
>> 80)
>>
>> Yan Wang
>>
>> > I have BYT box, an IVB machine and a HSW notebook. All of them haven't
>> > this issue.
>> > Yang rong is working on a race condition patch. This issue may be
>> > related. You may try again once he send out the patch.
>> >
>> > On Fri, Oct 24, 2014 at 5:46 PM,   wrote:
>> >> Hi, Zhigang,
>> >>   May your platform also get failed cases when run
>> >> OCL_ImageProc/Filter2D.Mat* although no crash, because I have only
>> >> Baytail T platfrom. I am not sure the other platform has the same
>> issue.
>> >>   If yes, I could try to investigate the reason. It may have issue of
>> >> filter2D OpenCL implementation in OpenCV.
>> >>   Thanks.
>> >>
>> >> Yan Wang
>> >>
>> >>
>> >>> Hi, All,
>> >>>I found one possible bug for review.
>> >>>if run the following:
>> >>> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
>> >>>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole
>> >>> test flow will crash in OCL_ImageProc/Filter2D.Mat/257:
>> >>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() =
>> >>> (CV_8U, Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
>> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
>> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
>> >>>
>> /home/yanwang/opencv/modules/imgproc/test/ocl/test_

Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-26 Thread Yang, Rong R
Hi, Yan,

I have sent a patch "Refine the intel gpgpu delete. ", it may fix some race 
condition fail, can you try it?

> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> yan.w...@linux.intel.com
> Sent: Friday, October 24, 2014 22:33
> To: Zhigang Gong
> Cc: yan.w...@linux.intel.com; beignet@lists.freedesktop.org
> Subject: Re: [Beignet] possilbe bug when run opencv_test_imgproc
> 
> Sure. I could try Yang Rong's patch.
> BTW, I also meet the following failed cases. Could you please confirm them?
> Thanks.
> 
> [  FAILED  ] 3 tests, listed below:
> [  FAILED  ] OCL_ImgProc/Canny.Accuracy/8, where GetParam() =
> (Channels(3), AppertureSize(3), L2gradient(false), UseRoi(false)) [  FAILED  ]
> OCL_ImgProc/Canny.Accuracy/10, where GetParam() = (Channels(3),
> AppertureSize(3), L2gradient(true), UseRoi(false)) [  FAILED  ]
> OCL_Imgproc/HoughLines.RealImage/2, where GetParam() = (1, 0.00872665,
> 80)
> 
> Yan Wang
> 
> > I have BYT box, an IVB machine and a HSW notebook. All of them haven't
> > this issue.
> > Yang rong is working on a race condition patch. This issue may be
> > related. You may try again once he send out the patch.
> >
> > On Fri, Oct 24, 2014 at 5:46 PM,   wrote:
> >> Hi, Zhigang,
> >>   May your platform also get failed cases when run
> >> OCL_ImageProc/Filter2D.Mat* although no crash, because I have only
> >> Baytail T platfrom. I am not sure the other platform has the same issue.
> >>   If yes, I could try to investigate the reason. It may have issue of
> >> filter2D OpenCL implementation in OpenCV.
> >>   Thanks.
> >>
> >> Yan Wang
> >>
> >>
> >>> Hi, All,
> >>>I found one possible bug for review.
> >>>if run the following:
> >>> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
> >>>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole
> >>> test flow will crash in OCL_ImageProc/Filter2D.Mat/257:
> >>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() =
> >>> (CV_8U, Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
> >>>
> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106:
> >>> Failure
> >>> Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual:
> >>> 255
> >>> vs 1
> >>> Size: [92 x 61]
> >>>
> >>>
> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107:
> >>> Failure
> >>> Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (thresho

Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-24 Thread yan . wang
Thanks for your help.
I will check.

Yan Wang

> Hi,
>  The 2 bugs are:
>  1. https://jira01.devtools.intel.com/browse/VIZ-4490
>  VIZ-4490 [HSW/IVB/BYT-M] After update opencv, 1 opencv case
> (opencv_test_imgproc/OCL_Imgproc/HoughLines)fail
>
>  2. https://jira01.devtools.intel.com/browse/VIZ-4489
>  VIZ-4489 [IVB/HSW/BYT-M] After update opencv, some opencv
> cases(eg.opencv_test_imgproc/OCL_ImgProc/Canny)fail
>
> Thanks,
> Meng
>
>> -Original Message-
>> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf
>> Of
>> yan.w...@linux.intel.com
>> Sent: Friday, October 24, 2014 10:59 PM
>> To: Zhigang Gong
>> Cc: yan.w...@linux.intel.com; beignet@lists.freedesktop.org
>> Subject: Re: [Beignet] possilbe bug when run opencv_test_imgproc
>>
>> Could you give me one URL?
>> Thanks.
>>
>> Yan Wang
>>
>> > All of these three failures are already tracked in JIRA.
>> > If you have access to JIRA, you can check them easily.
>> >
>> > Thanks,
>> > Zhigang Gong.
>> >
>> > On Fri, Oct 24, 2014 at 10:33 PM,   wrote:
>> >> Sure. I could try Yang Rong's patch.
>> >> BTW, I also meet the following failed cases. Could you please confirm
>> >> them? Thanks.
>> >>
>> >> [  FAILED  ] 3 tests, listed below:
>> >> [  FAILED  ] OCL_ImgProc/Canny.Accuracy/8, where GetParam() =
>> >> (Channels(3), AppertureSize(3), L2gradient(false), UseRoi(false)) [
>> >> FAILED  ] OCL_ImgProc/Canny.Accuracy/10, where GetParam() =
>> >> (Channels(3), AppertureSize(3), L2gradient(true), UseRoi(false)) [
>> >> FAILED  ] OCL_Imgproc/HoughLines.RealImage/2, where GetParam() = (1,
>> >> 0.00872665, 80)
>> >>
>> >> Yan Wang
>> >>
>> >>> I have BYT box, an IVB machine and a HSW notebook. All of them
>> >>> haven't this issue.
>> >>> Yang rong is working on a race condition patch. This issue may be
>> >>> related. You may try again once he send out the patch.
>> >>>
>> >>> On Fri, Oct 24, 2014 at 5:46 PM,   wrote:
>> >>>> Hi, Zhigang,
>> >>>>   May your platform also get failed cases when run
>> >>>> OCL_ImageProc/Filter2D.Mat* although no crash, because I have only
>> >>>> Baytail T platfrom. I am not sure the other platform has the same
>> >>>> issue.
>> >>>>   If yes, I could try to investigate the reason. It may have issue
>> >>>> of filter2D OpenCL implementation in OpenCV.
>> >>>>   Thanks.
>> >>>>
>> >>>> Yan Wang
>> >>>>
>> >>>>
>> >>>>> Hi, All,
>> >>>>>I found one possible bug for review.
>> >>>>>if run the following:
>> >>>>> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
>> >>>>>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the
>> >>>>> whole test flow will crash in OCL_ImageProc/Filter2D.Mat/257:
>> >>>>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() =
>> >>>>> (CV_8U, Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433
>> >>>>> ms)
>> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
>> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
>> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
>> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
>> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
>> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
>> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
>> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
>> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
>> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
>> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
>> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
>> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
>> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
>> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
>> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
>> >>>>> [ RUN  ] OCL_ImageProc

Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-24 Thread Meng, Mengmeng
Hi,
 The 2 bugs are:
 1. https://jira01.devtools.intel.com/browse/VIZ-4490
 VIZ-4490 [HSW/IVB/BYT-M] After update opencv, 1 opencv case 
(opencv_test_imgproc/OCL_Imgproc/HoughLines)fail
 
 2. https://jira01.devtools.intel.com/browse/VIZ-4489
 VIZ-4489 [IVB/HSW/BYT-M] After update opencv, some opencv 
cases(eg.opencv_test_imgproc/OCL_ImgProc/Canny)fail

Thanks,
Meng

> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> yan.w...@linux.intel.com
> Sent: Friday, October 24, 2014 10:59 PM
> To: Zhigang Gong
> Cc: yan.w...@linux.intel.com; beignet@lists.freedesktop.org
> Subject: Re: [Beignet] possilbe bug when run opencv_test_imgproc
> 
> Could you give me one URL?
> Thanks.
> 
> Yan Wang
> 
> > All of these three failures are already tracked in JIRA.
> > If you have access to JIRA, you can check them easily.
> >
> > Thanks,
> > Zhigang Gong.
> >
> > On Fri, Oct 24, 2014 at 10:33 PM,   wrote:
> >> Sure. I could try Yang Rong's patch.
> >> BTW, I also meet the following failed cases. Could you please confirm
> >> them? Thanks.
> >>
> >> [  FAILED  ] 3 tests, listed below:
> >> [  FAILED  ] OCL_ImgProc/Canny.Accuracy/8, where GetParam() =
> >> (Channels(3), AppertureSize(3), L2gradient(false), UseRoi(false)) [
> >> FAILED  ] OCL_ImgProc/Canny.Accuracy/10, where GetParam() =
> >> (Channels(3), AppertureSize(3), L2gradient(true), UseRoi(false)) [
> >> FAILED  ] OCL_Imgproc/HoughLines.RealImage/2, where GetParam() = (1,
> >> 0.00872665, 80)
> >>
> >> Yan Wang
> >>
> >>> I have BYT box, an IVB machine and a HSW notebook. All of them
> >>> haven't this issue.
> >>> Yang rong is working on a race condition patch. This issue may be
> >>> related. You may try again once he send out the patch.
> >>>
> >>> On Fri, Oct 24, 2014 at 5:46 PM,   wrote:
> >>>> Hi, Zhigang,
> >>>>   May your platform also get failed cases when run
> >>>> OCL_ImageProc/Filter2D.Mat* although no crash, because I have only
> >>>> Baytail T platfrom. I am not sure the other platform has the same
> >>>> issue.
> >>>>   If yes, I could try to investigate the reason. It may have issue
> >>>> of filter2D OpenCL implementation in OpenCV.
> >>>>   Thanks.
> >>>>
> >>>> Yan Wang
> >>>>
> >>>>
> >>>>> Hi, All,
> >>>>>I found one possible bug for review.
> >>>>>if run the following:
> >>>>> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
> >>>>>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the
> >>>>> whole test flow will crash in OCL_ImageProc/Filter2D.Mat/257:
> >>>>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() =
> >>>>> (CV_8U, Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433
> >>>>> ms)
> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
> >>>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
> >>>>> [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
> >>>>> [

Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-24 Thread yan . wang
Could you give me one URL?
Thanks.

Yan Wang

> All of these three failures are already tracked in JIRA.
> If you have access to JIRA, you can check them easily.
>
> Thanks,
> Zhigang Gong.
>
> On Fri, Oct 24, 2014 at 10:33 PM,   wrote:
>> Sure. I could try Yang Rong's patch.
>> BTW, I also meet the following failed cases. Could you please confirm
>> them? Thanks.
>>
>> [  FAILED  ] 3 tests, listed below:
>> [  FAILED  ] OCL_ImgProc/Canny.Accuracy/8, where GetParam() =
>> (Channels(3), AppertureSize(3), L2gradient(false), UseRoi(false))
>> [  FAILED  ] OCL_ImgProc/Canny.Accuracy/10, where GetParam() =
>> (Channels(3), AppertureSize(3), L2gradient(true), UseRoi(false))
>> [  FAILED  ] OCL_Imgproc/HoughLines.RealImage/2, where GetParam() = (1,
>> 0.00872665, 80)
>>
>> Yan Wang
>>
>>> I have BYT box, an IVB machine and a HSW notebook. All of them haven't
>>> this issue.
>>> Yang rong is working on a race condition patch. This issue may be
>>> related. You may
>>> try again once he send out the patch.
>>>
>>> On Fri, Oct 24, 2014 at 5:46 PM,   wrote:
 Hi, Zhigang,
   May your platform also get failed cases when run
 OCL_ImageProc/Filter2D.Mat* although no crash, because I have only
 Baytail T platfrom. I am not sure the other platform has the same
 issue.
   If yes, I could try to investigate the reason. It may have issue of
 filter2D OpenCL implementation in OpenCV.
   Thanks.

 Yan Wang


> Hi, All,
>I found one possible bug for review.
>if run the following:
> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole
> test
> flow will crash in OCL_ImageProc/Filter2D.Mat/257:
> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() =
> (CV_8U,
> Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
> [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
> [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
> [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
> [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
> [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
> [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
> [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106:
> Failure
> Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual:
> 255
> vs 1
> Size: [92 x 61]
>
> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107:
> Failure
> Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
> actual: 255 vs 1
> Size: [92 x 61]
>
> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() =
> (CV_8U,
> Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
> opencv_test_imgproc:
> /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
> intel_gpgpu_check_binded_buf_address: Assertion
> `gpgpu->binded_buf[i]->offset != 0' failed.
> Segmentation fault (core dumped)
>
>   But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I
> think
> 256
> case may influence it.
>   Thanks.
>
> Yan Wang
>

 ___
 Beignet mailing list
 Beignet@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/beignet
>>>
>

___
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-24 Thread Zhigang Gong
All of these three failures are already tracked in JIRA.
If you have access to JIRA, you can check them easily.

Thanks,
Zhigang Gong.

On Fri, Oct 24, 2014 at 10:33 PM,   wrote:
> Sure. I could try Yang Rong's patch.
> BTW, I also meet the following failed cases. Could you please confirm
> them? Thanks.
>
> [  FAILED  ] 3 tests, listed below:
> [  FAILED  ] OCL_ImgProc/Canny.Accuracy/8, where GetParam() =
> (Channels(3), AppertureSize(3), L2gradient(false), UseRoi(false))
> [  FAILED  ] OCL_ImgProc/Canny.Accuracy/10, where GetParam() =
> (Channels(3), AppertureSize(3), L2gradient(true), UseRoi(false))
> [  FAILED  ] OCL_Imgproc/HoughLines.RealImage/2, where GetParam() = (1,
> 0.00872665, 80)
>
> Yan Wang
>
>> I have BYT box, an IVB machine and a HSW notebook. All of them haven't
>> this issue.
>> Yang rong is working on a race condition patch. This issue may be
>> related. You may
>> try again once he send out the patch.
>>
>> On Fri, Oct 24, 2014 at 5:46 PM,   wrote:
>>> Hi, Zhigang,
>>>   May your platform also get failed cases when run
>>> OCL_ImageProc/Filter2D.Mat* although no crash, because I have only
>>> Baytail T platfrom. I am not sure the other platform has the same issue.
>>>   If yes, I could try to investigate the reason. It may have issue of
>>> filter2D OpenCL implementation in OpenCV.
>>>   Thanks.
>>>
>>> Yan Wang
>>>
>>>
 Hi, All,
I found one possible bug for review.
if run the following:
 ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole
 test
 flow will crash in OCL_ImageProc/Filter2D.Mat/257:
 [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() = (CV_8U,
 Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
 [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
 [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
 [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
 [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
 [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
 [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
 [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
 [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
 [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
 [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
 [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
 [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
 [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
 [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
 [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
 /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106:
 Failure
 Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual:
 255
 vs 1
 Size: [92 x 61]

 /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107:
 Failure
 Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
 actual: 255 vs 1
 Size: [92 x 61]

 [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() = (CV_8U,
 Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
 opencv_test_imgproc: /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
 intel_gpgpu_check_binded_buf_address: Assertion
 `gpgpu->binded_buf[i]->offset != 0' failed.
 Segmentation fault (core dumped)

   But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I think
 256
 case may influence it.
   Thanks.

 Yan Wang

>>>
>>> ___
>>> Beignet mailing list
>>> Beignet@lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/beignet
>>
___
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-24 Thread yan . wang
Sure. I could try Yang Rong's patch.
BTW, I also meet the following failed cases. Could you please confirm
them? Thanks.

[  FAILED  ] 3 tests, listed below:
[  FAILED  ] OCL_ImgProc/Canny.Accuracy/8, where GetParam() =
(Channels(3), AppertureSize(3), L2gradient(false), UseRoi(false))
[  FAILED  ] OCL_ImgProc/Canny.Accuracy/10, where GetParam() =
(Channels(3), AppertureSize(3), L2gradient(true), UseRoi(false))
[  FAILED  ] OCL_Imgproc/HoughLines.RealImage/2, where GetParam() = (1,
0.00872665, 80)

Yan Wang

> I have BYT box, an IVB machine and a HSW notebook. All of them haven't
> this issue.
> Yang rong is working on a race condition patch. This issue may be
> related. You may
> try again once he send out the patch.
>
> On Fri, Oct 24, 2014 at 5:46 PM,   wrote:
>> Hi, Zhigang,
>>   May your platform also get failed cases when run
>> OCL_ImageProc/Filter2D.Mat* although no crash, because I have only
>> Baytail T platfrom. I am not sure the other platform has the same issue.
>>   If yes, I could try to investigate the reason. It may have issue of
>> filter2D OpenCL implementation in OpenCV.
>>   Thanks.
>>
>> Yan Wang
>>
>>
>>> Hi, All,
>>>I found one possible bug for review.
>>>if run the following:
>>> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
>>>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole
>>> test
>>> flow will crash in OCL_ImageProc/Filter2D.Mat/257:
>>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() = (CV_8U,
>>> Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
>>> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106:
>>> Failure
>>> Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual:
>>> 255
>>> vs 1
>>> Size: [92 x 61]
>>>
>>> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107:
>>> Failure
>>> Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
>>> actual: 255 vs 1
>>> Size: [92 x 61]
>>>
>>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() = (CV_8U,
>>> Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
>>> opencv_test_imgproc: /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
>>> intel_gpgpu_check_binded_buf_address: Assertion
>>> `gpgpu->binded_buf[i]->offset != 0' failed.
>>> Segmentation fault (core dumped)
>>>
>>>   But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I think
>>> 256
>>> case may influence it.
>>>   Thanks.
>>>
>>> Yan Wang
>>>
>>
>> ___
>> Beignet mailing list
>> Beignet@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/beignet
>
___
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-24 Thread Zhigang Gong
I have BYT box, an IVB machine and a HSW notebook. All of them haven't
this issue.
Yang rong is working on a race condition patch. This issue may be
related. You may
try again once he send out the patch.

On Fri, Oct 24, 2014 at 5:46 PM,   wrote:
> Hi, Zhigang,
>   May your platform also get failed cases when run
> OCL_ImageProc/Filter2D.Mat* although no crash, because I have only
> Baytail T platfrom. I am not sure the other platform has the same issue.
>   If yes, I could try to investigate the reason. It may have issue of
> filter2D OpenCL implementation in OpenCV.
>   Thanks.
>
> Yan Wang
>
>
>> Hi, All,
>>I found one possible bug for review.
>>if run the following:
>> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
>>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole test
>> flow will crash in OCL_ImageProc/Filter2D.Mat/257:
>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() = (CV_8U,
>> Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
>> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
>> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
>> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
>> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
>> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
>> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
>> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
>> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
>> [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
>> [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
>> [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
>> [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
>> [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
>> [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
>> [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
>> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106:
>> Failure
>> Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual: 255
>> vs 1
>> Size: [92 x 61]
>>
>> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107:
>> Failure
>> Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
>> actual: 255 vs 1
>> Size: [92 x 61]
>>
>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() = (CV_8U,
>> Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
>> opencv_test_imgproc: /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
>> intel_gpgpu_check_binded_buf_address: Assertion
>> `gpgpu->binded_buf[i]->offset != 0' failed.
>> Segmentation fault (core dumped)
>>
>>   But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I think 256
>> case may influence it.
>>   Thanks.
>>
>> Yan Wang
>>
>
> ___
> Beignet mailing list
> Beignet@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
___
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-24 Thread yan . wang
Hi, Zhigang,
  May your platform also get failed cases when run
OCL_ImageProc/Filter2D.Mat* although no crash, because I have only
Baytail T platfrom. I am not sure the other platform has the same issue.
  If yes, I could try to investigate the reason. It may have issue of
filter2D OpenCL implementation in OpenCV.
  Thanks.

Yan Wang


> Hi, All,
>I found one possible bug for review.
>if run the following:
> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole test
> flow will crash in OCL_ImageProc/Filter2D.Mat/257:
> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() = (CV_8U,
> Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
> [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
> [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
> [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
> [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
> [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
> [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
> [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106:
> Failure
> Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual: 255
> vs 1
> Size: [92 x 61]
>
> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107:
> Failure
> Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
> actual: 255 vs 1
> Size: [92 x 61]
>
> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() = (CV_8U,
> Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
> opencv_test_imgproc: /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
> intel_gpgpu_check_binded_buf_address: Assertion
> `gpgpu->binded_buf[i]->offset != 0' failed.
> Segmentation fault (core dumped)
>
>   But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I think 256
> case may influence it.
>   Thanks.
>
> Yan Wang
>

___
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-23 Thread He Junyan
`gpgpu->binded_buf[i]->offset != 0' failed.
 Segmentation fault (core dumped)

Sometimes this kind of assert may have relationship with multi-thread
bug.


On 四, 2014-10-23 at 06:12 -0700, yan.w...@linux.intel.com wrote:
> Update:
> Under root account, it will crash.
> Under user account(e.g. yanwang), it will pass.
> 
> > In my baytail T platform, it is still exist.
> >
> >> Before leaving office, I have built the latest beignet. I will try it
> >> again tomorrow.
> >> Thanks.
> >>
> >> Yan Wang
> >>
> >>> Can't reproduce it here. Did you use the latest git master?
> >>>
> >>> The latest git version is
> >>> commit 33a043e903f9d61445d3fb7972becf83c2842276
> >>> Author: Junyan He 
> >>> Date:   Thu Oct 23 13:09:00 2014 +0800
> >>>
> >>> Add the disasm support for Gen8
> >>>
> >>> Signed-off-by: Junyan He 
> >>> Reviewed-by: Zhigang Gong 
> >>> Reviewed-by: "Yang, Rong R" 
> >>>
> >>>
> >>> Just a reminder, when report a bug/issue, please update to the latest
> >>> git
> >>> master version and test it again and if it could reproduce please write
> >>> done the git hash in the report.
> >>>
> >>> Thanks,
> >>> Zhigang Gong.
> >>>
> >>> On Thu, Oct 23, 2014 at 03:24:01AM -0700, yan.w...@linux.intel.com
> >>> wrote:
>  Hi, All,
> I found one possible bug for review.
> if run the following:
>  ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
> OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole
>  test
>  flow will crash in OCL_ImageProc/Filter2D.Mat/257:
>  [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() =
>  (CV_8U,
>  Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
>  [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
>  [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
>  [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
>  [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
>  [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
>  [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
>  [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
>  [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
>  [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
>  [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
>  [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
>  [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
>  [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
>  [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
>  [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
>  /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106:
>  Failure
>  Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual:
>  255
>  vs 1
>  Size: [92 x 61]
> 
>  /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107:
>  Failure
>  Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
>  actual: 255 vs 1
>  Size: [92 x 61]
> 
>  [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() =
>  (CV_8U,
>  Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
>  [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
>  opencv_test_imgproc:
>  /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
>  intel_gpgpu_check_binded_buf_address: Assertion
>  `gpgpu->binded_buf[i]->offset != 0' failed.
>  Segmentation fault (core dumped)
> 
>    But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I think
>  256
>  case may influence it.
>    Thanks.
> 
>  Yan Wang
>  ___
>  Beignet mailing list
>  Beignet@lists.freedesktop.org
>  http://lists.freedesktop.org/mailman/listinfo/beignet
> >>> ___
> >>> Beignet mailing list
> >>> Beignet@lists.freedesktop.org
> >>> http://lists.freedesktop.org/mailman/listinfo/beignet
> >>>
> >>
> >> ___
> >> Beignet mailing list
> >> Beignet@lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo

Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-23 Thread Zhigang Gong
Ok. So this is likely a BYT T platform only issue, it may trigger
a GPU hang at OCL_ImageProc/Filter2D.Mat/256. You can use dmesg to
check whether there was a hang.
 
On Thu, Oct 23, 2014 at 06:04:47AM -0700, yan.w...@linux.intel.com wrote:
> In my baytail T platform, it is still exist.
> 
> > Before leaving office, I have built the latest beignet. I will try it
> > again tomorrow.
> > Thanks.
> >
> > Yan Wang
> >
> >> Can't reproduce it here. Did you use the latest git master?
> >>
> >> The latest git version is
> >> commit 33a043e903f9d61445d3fb7972becf83c2842276
> >> Author: Junyan He 
> >> Date:   Thu Oct 23 13:09:00 2014 +0800
> >>
> >> Add the disasm support for Gen8
> >>
> >> Signed-off-by: Junyan He 
> >> Reviewed-by: Zhigang Gong 
> >> Reviewed-by: "Yang, Rong R" 
> >>
> >>
> >> Just a reminder, when report a bug/issue, please update to the latest
> >> git
> >> master version and test it again and if it could reproduce please write
> >> done the git hash in the report.
> >>
> >> Thanks,
> >> Zhigang Gong.
> >>
> >> On Thu, Oct 23, 2014 at 03:24:01AM -0700, yan.w...@linux.intel.com
> >> wrote:
> >>> Hi, All,
> >>>I found one possible bug for review.
> >>>if run the following:
> >>> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
> >>>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole
> >>> test
> >>> flow will crash in OCL_ImageProc/Filter2D.Mat/257:
> >>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() = (CV_8U,
> >>> Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
> >>> [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
> >>> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106:
> >>> Failure
> >>> Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual:
> >>> 255
> >>> vs 1
> >>> Size: [92 x 61]
> >>>
> >>> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107:
> >>> Failure
> >>> Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
> >>> actual: 255 vs 1
> >>> Size: [92 x 61]
> >>>
> >>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() = (CV_8U,
> >>> Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
> >>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
> >>> opencv_test_imgproc: /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
> >>> intel_gpgpu_check_binded_buf_address: Assertion
> >>> `gpgpu->binded_buf[i]->offset != 0' failed.
> >>> Segmentation fault (core dumped)
> >>>
> >>>   But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I think
> >>> 256
> >>> case may influence it.
> >>>   Thanks.
> >>>
> >>> Yan Wang
> >>> ___
> >>> Beignet mailing list
> >>> Beignet@lists.freedesktop.org
> >>> http://lists.freedesktop.org/mailman/listinfo/beignet
> >> ___
> >> Beignet mailing list
> >> Beignet@lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/beignet
> >>
> >
> > ___
> > Beignet mailing list
> > Beignet@lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/beignet
> >
> 
> ___
> Beignet mailing list
> Beignet@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
__

Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-23 Thread yan . wang
Update:
Under root account, it will crash.
Under user account(e.g. yanwang), it will pass.

> In my baytail T platform, it is still exist.
>
>> Before leaving office, I have built the latest beignet. I will try it
>> again tomorrow.
>> Thanks.
>>
>> Yan Wang
>>
>>> Can't reproduce it here. Did you use the latest git master?
>>>
>>> The latest git version is
>>> commit 33a043e903f9d61445d3fb7972becf83c2842276
>>> Author: Junyan He 
>>> Date:   Thu Oct 23 13:09:00 2014 +0800
>>>
>>> Add the disasm support for Gen8
>>>
>>> Signed-off-by: Junyan He 
>>> Reviewed-by: Zhigang Gong 
>>> Reviewed-by: "Yang, Rong R" 
>>>
>>>
>>> Just a reminder, when report a bug/issue, please update to the latest
>>> git
>>> master version and test it again and if it could reproduce please write
>>> done the git hash in the report.
>>>
>>> Thanks,
>>> Zhigang Gong.
>>>
>>> On Thu, Oct 23, 2014 at 03:24:01AM -0700, yan.w...@linux.intel.com
>>> wrote:
 Hi, All,
I found one possible bug for review.
if run the following:
 ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole
 test
 flow will crash in OCL_ImageProc/Filter2D.Mat/257:
 [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() =
 (CV_8U,
 Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
 [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
 [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
 [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
 [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
 [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
 [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
 [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
 [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
 [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
 [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
 [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
 [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
 [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
 [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
 [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
 /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106:
 Failure
 Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual:
 255
 vs 1
 Size: [92 x 61]

 /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107:
 Failure
 Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
 actual: 255 vs 1
 Size: [92 x 61]

 [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() =
 (CV_8U,
 Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
 [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
 opencv_test_imgproc:
 /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
 intel_gpgpu_check_binded_buf_address: Assertion
 `gpgpu->binded_buf[i]->offset != 0' failed.
 Segmentation fault (core dumped)

   But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I think
 256
 case may influence it.
   Thanks.

 Yan Wang
 ___
 Beignet mailing list
 Beignet@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/beignet
>>> ___
>>> Beignet mailing list
>>> Beignet@lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/beignet
>>>
>>
>> ___
>> Beignet mailing list
>> Beignet@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/beignet
>>
>
> ___
> Beignet mailing list
> Beignet@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
>

___
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-23 Thread yan . wang
In my baytail T platform, it is still exist.

> Before leaving office, I have built the latest beignet. I will try it
> again tomorrow.
> Thanks.
>
> Yan Wang
>
>> Can't reproduce it here. Did you use the latest git master?
>>
>> The latest git version is
>> commit 33a043e903f9d61445d3fb7972becf83c2842276
>> Author: Junyan He 
>> Date:   Thu Oct 23 13:09:00 2014 +0800
>>
>> Add the disasm support for Gen8
>>
>> Signed-off-by: Junyan He 
>> Reviewed-by: Zhigang Gong 
>> Reviewed-by: "Yang, Rong R" 
>>
>>
>> Just a reminder, when report a bug/issue, please update to the latest
>> git
>> master version and test it again and if it could reproduce please write
>> done the git hash in the report.
>>
>> Thanks,
>> Zhigang Gong.
>>
>> On Thu, Oct 23, 2014 at 03:24:01AM -0700, yan.w...@linux.intel.com
>> wrote:
>>> Hi, All,
>>>I found one possible bug for review.
>>>if run the following:
>>> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
>>>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole
>>> test
>>> flow will crash in OCL_ImageProc/Filter2D.Mat/257:
>>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() = (CV_8U,
>>> Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
>>> [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
>>> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106:
>>> Failure
>>> Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual:
>>> 255
>>> vs 1
>>> Size: [92 x 61]
>>>
>>> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107:
>>> Failure
>>> Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
>>> actual: 255 vs 1
>>> Size: [92 x 61]
>>>
>>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() = (CV_8U,
>>> Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
>>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
>>> opencv_test_imgproc: /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
>>> intel_gpgpu_check_binded_buf_address: Assertion
>>> `gpgpu->binded_buf[i]->offset != 0' failed.
>>> Segmentation fault (core dumped)
>>>
>>>   But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I think
>>> 256
>>> case may influence it.
>>>   Thanks.
>>>
>>> Yan Wang
>>> ___
>>> Beignet mailing list
>>> Beignet@lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/beignet
>> ___
>> Beignet mailing list
>> Beignet@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/beignet
>>
>
> ___
> Beignet mailing list
> Beignet@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
>

___
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-23 Thread yan . wang
Before leaving office, I have built the latest beignet. I will try it
again tomorrow.
Thanks.

Yan Wang

> Can't reproduce it here. Did you use the latest git master?
>
> The latest git version is
> commit 33a043e903f9d61445d3fb7972becf83c2842276
> Author: Junyan He 
> Date:   Thu Oct 23 13:09:00 2014 +0800
>
> Add the disasm support for Gen8
>
> Signed-off-by: Junyan He 
> Reviewed-by: Zhigang Gong 
> Reviewed-by: "Yang, Rong R" 
>
>
> Just a reminder, when report a bug/issue, please update to the latest git
> master version and test it again and if it could reproduce please write
> done the git hash in the report.
>
> Thanks,
> Zhigang Gong.
>
> On Thu, Oct 23, 2014 at 03:24:01AM -0700, yan.w...@linux.intel.com wrote:
>> Hi, All,
>>I found one possible bug for review.
>>if run the following:
>> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
>>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole
>> test
>> flow will crash in OCL_ImageProc/Filter2D.Mat/257:
>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() = (CV_8U,
>> Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
>> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
>> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
>> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
>> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
>> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
>> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
>> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
>> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
>> [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
>> [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
>> [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
>> [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
>> [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
>> [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
>> [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
>> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106:
>> Failure
>> Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual: 255
>> vs 1
>> Size: [92 x 61]
>>
>> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107:
>> Failure
>> Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
>> actual: 255 vs 1
>> Size: [92 x 61]
>>
>> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() = (CV_8U,
>> Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
>> [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
>> opencv_test_imgproc: /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
>> intel_gpgpu_check_binded_buf_address: Assertion
>> `gpgpu->binded_buf[i]->offset != 0' failed.
>> Segmentation fault (core dumped)
>>
>>   But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I think
>> 256
>> case may influence it.
>>   Thanks.
>>
>> Yan Wang
>> ___
>> Beignet mailing list
>> Beignet@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/beignet
> ___
> Beignet mailing list
> Beignet@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
>

___
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-23 Thread Zhigang Gong
And please also give the platform id in the report, such as
device_name "Intel(R) HD Graphics IvyBridge GT2"
device_opencl_c_version "OpenCL C 1.2 beignet 0.9 (git-33a043e)"

The above info should be helpful.
Thanks,
Zhigang Gong.

On Thu, Oct 23, 2014 at 05:52:43PM +0800, Zhigang Gong wrote:
> Can't reproduce it here. Did you use the latest git master?
> 
> The latest git version is 
> commit 33a043e903f9d61445d3fb7972becf83c2842276
> Author: Junyan He 
> Date:   Thu Oct 23 13:09:00 2014 +0800
> 
> Add the disasm support for Gen8
> 
> Signed-off-by: Junyan He 
> Reviewed-by: Zhigang Gong 
> Reviewed-by: "Yang, Rong R" 
> 
> 
> Just a reminder, when report a bug/issue, please update to the latest git
> master version and test it again and if it could reproduce please write
> done the git hash in the report.
> 
> Thanks,
> Zhigang Gong.
> 
> On Thu, Oct 23, 2014 at 03:24:01AM -0700, yan.w...@linux.intel.com wrote:
> > Hi, All,
> >I found one possible bug for review.
> >if run the following:
> > ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
> >OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole test
> > flow will crash in OCL_ImageProc/Filter2D.Mat/257:
> > [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() = (CV_8U,
> > Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
> > [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
> > [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
> > [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
> > [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
> > [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
> > [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
> > [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
> > [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
> > [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
> > [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
> > [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
> > [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
> > [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
> > [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
> > [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
> > /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106: Failure
> > Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual: 255 vs 
> > 1
> > Size: [92 x 61]
> > 
> > /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107: Failure
> > Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
> > actual: 255 vs 1
> > Size: [92 x 61]
> > 
> > [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() = (CV_8U,
> > Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
> > [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
> > opencv_test_imgproc: /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
> > intel_gpgpu_check_binded_buf_address: Assertion
> > `gpgpu->binded_buf[i]->offset != 0' failed.
> > Segmentation fault (core dumped)
> > 
> >   But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I think 256
> > case may influence it.
> >   Thanks.
> > 
> > Yan Wang
> > ___
> > Beignet mailing list
> > Beignet@lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/beignet
> ___
> Beignet mailing list
> Beignet@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
___
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet


Re: [Beignet] possilbe bug when run opencv_test_imgproc

2014-10-23 Thread Zhigang Gong
Can't reproduce it here. Did you use the latest git master?

The latest git version is 
commit 33a043e903f9d61445d3fb7972becf83c2842276
Author: Junyan He 
Date:   Thu Oct 23 13:09:00 2014 +0800

Add the disasm support for Gen8

Signed-off-by: Junyan He 
Reviewed-by: Zhigang Gong 
Reviewed-by: "Yang, Rong R" 


Just a reminder, when report a bug/issue, please update to the latest git
master version and test it again and if it could reproduce please write
done the git hash in the report.

Thanks,
Zhigang Gong.

On Thu, Oct 23, 2014 at 03:24:01AM -0700, yan.w...@linux.intel.com wrote:
> Hi, All,
>I found one possible bug for review.
>if run the following:
> ./opencv_test_imgproc --gtest_filter=OCL_ImageProc/Filter2D.Mat*.
>OCL_ImageProc/Filter2D.Mat/256 failed and continue. But the whole test
> flow will crash in OCL_ImageProc/Filter2D.Mat/257:
> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/240, where GetParam() = (CV_8U,
> Channels(2), 7, 1, BORDER_CONSTANT, false, false) (6433 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/241
> [   OK ] OCL_ImageProc/Filter2D.Mat/241 (358 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/242
> [   OK ] OCL_ImageProc/Filter2D.Mat/242 (311 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/243
> [   OK ] OCL_ImageProc/Filter2D.Mat/243 (6 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/244
> [   OK ] OCL_ImageProc/Filter2D.Mat/244 (203 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/245
> [   OK ] OCL_ImageProc/Filter2D.Mat/245 (207 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/246
> [   OK ] OCL_ImageProc/Filter2D.Mat/246 (203 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/247
> [   OK ] OCL_ImageProc/Filter2D.Mat/247 (7 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/248
> [   OK ] OCL_ImageProc/Filter2D.Mat/248 (210 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/249
> [   OK ] OCL_ImageProc/Filter2D.Mat/249 (207 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/250
> [   OK ] OCL_ImageProc/Filter2D.Mat/250 (208 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/251
> [   OK ] OCL_ImageProc/Filter2D.Mat/251 (7 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/252
> [   OK ] OCL_ImageProc/Filter2D.Mat/252 (214 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/253
> [   OK ] OCL_ImageProc/Filter2D.Mat/253 (207 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/254
> [   OK ] OCL_ImageProc/Filter2D.Mat/254 (212 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/255
> [   OK ] OCL_ImageProc/Filter2D.Mat/255 (7 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/256
> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:106: Failure
> Expected: (TestUtils::checkNorm2(dst, udst)) <= (threshold), actual: 255 vs 1
> Size: [92 x 61]
> 
> /home/yanwang/opencv/modules/imgproc/test/ocl/test_filter2d.cpp:107: Failure
> Expected: (TestUtils::checkNorm2(dst_roi, udst_roi)) <= (threshold),
> actual: 255 vs 1
> Size: [92 x 61]
> 
> [  FAILED  ] OCL_ImageProc/Filter2D.Mat/256, where GetParam() = (CV_8U,
> Channels(2), 7, 4, BORDER_CONSTANT, false, false) (7413 ms)
> [ RUN  ] OCL_ImageProc/Filter2D.Mat/257
> opencv_test_imgproc: /home/yanwang/beignet/src/intel/intel_gpgpu.c:703:
> intel_gpgpu_check_binded_buf_address: Assertion
> `gpgpu->binded_buf[i]->offset != 0' failed.
> Segmentation fault (core dumped)
> 
>   But if I run OCL_ImageProc/Filter2D.Mat/257 only, it passed. I think 256
> case may influence it.
>   Thanks.
> 
> Yan Wang
> ___
> Beignet mailing list
> Beignet@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
___
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet