Correctly fall back to not use cupti when cuda couldn't be initialized.
This happens when we run a binary that has been compiled with cuda on a system that has the cupti so's installed, but no GPU; this is common when testing with a docker image that is configured for GPU but also wants to run CPU tests on a system without GPUs. PiperOrigin-RevId: 217669058
Loading
Please sign in to comment