cdsousa
Born on December 30, 2014•172 Karma
Check https://stackoverflow.com/questions/1801216/what-is-the-diff... and https://www.youtube.com/watch?v=kc9HwsxE1OY
Obviously I didn't mean the implementation was based on MATLAB because that would be impossible.
As far as I know, that example code creates an ad-hoc kernel that performs the computation in a single pass.
I honestly don't know if that is possible in other frameworks.