I have some question about NPP library...
This is about Step in NPP parameters. When I use NPP library, it makes me confused.
nppiSub_32s_C1RSfs(d_sink, step, d_source, step, d_terminals, step, size, 0);
that is example.. I can understand all parameters except the step. Every NPP function needs the step.
some people use width
...
some people use width * sizeof(int)
.... (or float
...)
some people make the step parameter by other library such as
nppiMalloc_32s_C1(width, height, &step);
I think if I use the library, that calculate step size.(but i don't know how to did...)
What is the step parameter?
How to decide step size?
If I use
width
orwidth*sizeof(int)
, does it have an effect on the performance?
thank you for reading my question....
English is more difficult than programming...