Compute-sanitizer not found

I am trying to run the compute sanitizer to check for memory leaks in my cuda program. However, after installing the cuda-toolkit I receive the error zsh: command not found: compute-sanitizer. I am running ubuntu 22.04.

Thanks in advance for any help!

This may be a setup problem. It’s unclear exactly how you installed the CUDA toolkit. My suggestion would be to study the CUDA linux install guide carefully, including the section on mandatory post-install actions.