Solved by tom in post #2 
              
              
                Device asserts are asynchronous, so you will typically see the backtrace in a later operation. By forcing synchronous operations, 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 fai…