Processing image stack with CUDA function

i’m having some doubts, if this is possible.

the batch version only applies to CPU