NVIDIA® CUDA Toolkit 11.0 no longer supports development or running applications on macOS. While there are no tools which use macOS as a target environment, NVIDIA is making macOS host versions of these tools that you can launch profiling and debugging sessions on supported target platforms.
Download NVIDIA CUDA 10.1 Driver 418.163 for macOS (Graphics Board). Click Continue on the CUDA 9.0 Installer Welcome screen - Click Continue after you read the License Agreement and then click Agree. NVIDIA CUDA 10.0 Driver 410.130 for macOS 2018-09-20; CATEGORY.
You may download all these tools here. Note that the Nsight tools provide the ability to download these macOS host versions on their respective product pages.
Please visit each tool's overview page for more information about the tool and its supported target platforms.
- NVIDIA CUDA Installation Guide for Mac OS X DU-05348-001v9.0 2 Table 1 Mac Operating System Support in CUDA 9.0 Toolchain Mac OSX Version (native x8664) Xcode Apple LLVM 10.12 8.3.3 8.1.0 YES Before installing the CUDA Toolkit, you should read the Release Notes, as they provide important details on installation and software functionality.
- STEP 2: Download the Driver File Download - CUDADriver-8.0.90-macos.dmg. STEP 3: Install Note: Quadro FX for Mac or GeForce for Mac must be installed prior to CUDA 8.0.90 installation. Double-click on CUDADriver-8.0.90-macos.dmg; Click Continue on the CUDA 8.0 Installer Welcome screen.
The macOS host tools provided are:
- Nsight Systems - a system profiler and timeline trace tool supporting Pascal and newer GPUs
- Nsight Compute - a CUDA kernel profiler supporting Volta and new GPUs
- Visual Profiler - a CUDA kernel and system profiler and timeline trace tool supporting older GPUs (see installation instructions, below)
- cuda-gdb - a GPU and CPU CUDA application debugger (see installation instructions, below)
Instructions for installing cuda-gdb on the macOS
- This tar archive holds the distribution of the CUDA 11.0 cuda-gdb debugger front-end for macOS.
Native macOS debugging is not supported in this release, only remote debugging to other CUDA enabled targets.
- To install:
- Create an installation directory
- INSTALL_DIR=$HOME/cuda-gdb-darwin-11.0
mkdir $INSTALL_DIR
cd $INSTALL_DIR - Download the cuda-gdb-darwin-11.0.tar.gz tar archive into $INSTALL_DIR above
- Unpack the tar archive
- tar fxvz cuda-gdb-darwin-11.0.tar.gz
- Add the bin directory to your path
- PATH=$INSTALL_DIR/bin:$PATH
- Run cuda-gdb --version to confirm you're picking up the correct binaries
- cuda-gdb --version
You should see the following output:
- NVIDIA (R) CUDA Debugger
11.0 release
Portions Copyright (C) 2007-2020 NVIDIA Corporation
GNU gdb (GDB) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
- https://docs.nvidia.com/cuda/profiler-users-guide/index.html#visual
Comments are closed.