Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

ioc32 build failure

$
0
0

ioc32.exe (6.3.0.1904) exited with code -1073741819 (0xc0000005) and a stack dump when compiling surf.cl from OpenCV 2.4.x.
See the attached log file.
Platform is VS 2013 on Windows 10.

I narrowed the failure to the following section of code in icvCalcOrientation.

if (tid < ORI_SAMPLES)
{
        const float margin = (float)(grad_wav_size - 1) / 2.0f;
        const int x = convert_int_rte(featureX[get_group_id(0)] + c_aptX[tid] * s - margin);
        const int y = convert_int_rte(featureY[get_group_id(0)] + c_aptY[tid] * s - margin);

        if (y >= 0 && y < (c_img_rows + 1) - grad_wav_size &&
                x >= 0 && x < (c_img_cols + 1) - grad_wav_size)
        {
                X = icvCalcHaarPatternSum_2(sumTex, c_NX, 4, grad_wav_size, y, x, c_img_rows, c_img_cols, sum_step);
                X = c_aptW[tid] * X;
                Y = icvCalcHaarPatternSum_2(sumTex, c_NY, 4, grad_wav_size, y, x, c_img_rows, c_img_cols, sum_step);
                Y = c_aptW[tid] * Y;
                angle = atan2(Y, X);

If you swtich lines 11 and 12 in this snippet, the code will compile.

AttachmentSize
Downloadapplication/octet-streambuild.log5.8 KB
Downloadapplication/zipsurf.zip10.86 KB

Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>