Is it possible to use this approach so everything is running on the GPU? right now I am doing as you are saying but I am using np.where() I only get 12% GPU utlization running my code. This most likely happens because I alternate between having my data on CPU and GPU