Solved by ptrblck in post #4 
              
              
                Thanks for the update. I don’t know how the PyCharm debugger is working, but regarding the error you are seeing: 
Indexing.cu:605: block: [1,0,0], thread: [127,0,0] Assertion `srcIndex < srcSelectDimSize` failed.

an indexing operation is failing. 
You could either execute the code on the CPU to get…