check that we have CUDA and NPP