Hello,

I'm trying to do my first steps with ISPC.

I understand the concept of ISPC that you write the programs from the point 
of view of a single element.
It is easy to understand in the case there is an array as input and array 
as output and the ISPC program is the whole program.

What I don't get is how it the Box Blur example 
<https://ispc.github.io/ispc.html#uniform-control-flow> should be used by 
the host program.

let's say we have an image (Single Channel) as mI.
Should we iterate it like:

for(ii = 0; ii < numRows; ii++){
    for(jj = 0; jj < numCols; jj++){
        mO[ii, jj] = box3x3(mI, jj, ii);
    }
}

But then it doesn't make sense.
As it seem a "Gang" will update single value.

Could someone show a simple example how to utilize ISPC for Image Filtering?

Thank You.

-- 
You received this message because you are subscribed to the Google Groups 
"Intel SPMD Program Compiler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to