Enable with and without Cuda