Implements TRSV inside a CUDA block (includes test)