I’m new to CUDA. How do I make such a thing …
There is a matrix A1, A2, A3 … and the one matrix B.
It is necessary to every element of the matrix A [i] replaced by abs (B [i] [j]-A [i] [j])
You should now be among the matrices A1, A2, A3 … find a matrix with the minimum amount of elements.
With this I can do with CUDA?
If you can please with example code