Device asserts are asynchronous, so you will typically see the backtrace in a later operation. By forcing synchronous operations 2, you can pin down the exact function.
As device asserts invalidate the GPU context, you need to move the data you want to inspect after them to CPU before calling the failing function. That CPU copy can then be accessed.
Best regards
Thomas