...
moved the PTX generation to R
generatePTX
version that computes the index using the grid. This version caused problems with Rnvvm and compilation via compileGPUFunction in RLLVMCompile