Search code examples
cudanvcc

Where is cuda-memcheck?


I have CUDA installed on my Debian 11 through the official way:

$ wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda-repo-debian11-12-1-local_12.1.0-530.30.02-1_amd64.deb
$ sudo dpkg -i cuda-repo-debian11-12-1-local_12.1.0-530.30.02-1_amd64.deb
$ sudo cp /var/cuda-repo-debian11-12-1-local/cuda-*-keyring.gpg /usr/share/keyrings/
$ sudo add-apt-repository contrib
$ sudo apt-get update
$ sudo apt-get -y install cuda
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Feb__7_19:32:13_PST_2023
Cuda compilation tools, release 12.1, V12.1.66
Build cuda_12.1.r12.1/compiler.32415258_0

$ which nvcc
/usr/local/cuda/bin/nvcc

Now I couldn't find cuda-memcheck and unfortunetly CUDA-MEMCHECK User Manual is missing:

$ cd /usr/local/cuda
$ find . -name cuda-memcheck
# found nothing

Can someone tell me where is cuda-memcheck?


Solution

  • As per the release notes for CUDA 12:

    CUDA-MEMCHECK is removed from CUDA 12.0, and has been replaced with Compute Sanitizer.

    If you want to perform memory correctness analysis, you will need to use the memcheck tool in the compute sanitizer instead.

    [answer assembled from comments to get question off unanswer list for the CUDA tag].