fixing cuda psirt