change to cudaSetDevice call