[Beignet] possilbe bug when run opencv_test_imgproc

yan.wang at linux.intel.com yan.wang at linux.intel.com
Mon Oct 27 00:14:57 PDT 2014


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-bounces at lists.freedesktop.org] On Behalf
>> Of
>> yan.wang at linux.intel.com
>> Sent: Friday, October 24, 2014 22:33
>> To: Zhigang Gong
>> Cc: yan.wang at linux.intel.com; beignet at 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,  <yan.wang at linux.intel.com> 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 at lists.freedesktop.org
>> >> http://lists.freedesktop.org/mailman/listinfo/beignet
>> >
>> _______________________________________________
>> Beignet mailing list
>> Beignet at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/beignet
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
>



More information about the Beignet mailing list