[Beignet] possilbe bug when run opencv_test_imgproc
Zhigang Gong
zhigang.gong at gmail.com
Fri Oct 24 02:55:02 PDT 2014
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
More information about the Beignet
mailing list