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.
- Cuda Driver For Mac Os 10.14
- Cuda Driver For Mac Os Mojave
- Cuda For Mac Os Mojave
- Cuda Driver Version
- Cuda For Mac Os 10.14
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.
Select Target Platform Click on the green buttons that describe your target platform. Only supported platforms will be shown. Operating System Architecture Distribution Version Installer Type Do you want to cross-compile? Yes No Select Host Platform Click on the green buttons that describe your host platform. Only supported platforms will be shown.
- NVIDIA CUDA Installation Guide for Mac OS X DU-05348-001v11.0 2 1.2. About This Document This document is intended for readers familiar with the Mac OS X environment and the compilation of C programs from the command line. You do not need previous experience with CUDA or experience with parallel computation.
- General CUDA driver update to support macOS 10.12 and NVIDIA display driver 378.05.05.25f01; Recommended CUDA version(s): CUDA 8.0; Supported MAC OS X. 10.12.x; 10.11.x; An alternative method to download the latest CUDA driver is within Mac OS environment. Access the latest driver through System Preferences Other CUDA. Click 'Install CUDA.
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
- 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)
- Create an installation directory
INSTALL_DIR=$HOME/cuda-gdb-darwin-11.1
mkdir $INSTALL_DIR
cd $INSTALL_DIR
- Download the cuda-gdb-darwin-11.1.105.tar.gz tar archive into
$INSTALL_DIR
above - Unpack the tar archive
tar fxvz cuda-gdb-darwin-11.1.105.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
- Double click .dmg file to mount it and access it in finder.
- Drag nvvp folder and drop it to any location you want (say <nvvp_mac>).
Directory Structure:- |--nvvp
|--bin/
|--lib64/
|--libnvvp/ - Download and install the required version of JDK.
(Refer to the Notes about JRE Requirements when using Visual Profiler on the macOS section, below) - Open terminal.
- Change to the bin folder
> cd <nvvp_mac>/nvvp/bin
- Run nvvp script file in command line
> ./nvvp -vm <path_to_java>
- For example:
> ./nvvp -vm /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/bin/java
- Remote profiling
- Import nvprof output files
- Download version: 8u144-b01 (Zulu: 8.23.0.3) .dmg.zip.tar.gz
- Download version: Zulu 8.23.0.3 (build 1.8.0_144-b01 .zip
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
NVIDIA® CUDA Toolkit 11.1 Update 1 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.
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.
The macOS host tools provided are:
Revision History
Instructions for installing cuda-gdb on the macOS
- This tar archive holds the distribution of the CUDA 11.1 Update 1 cuda-gdb cuda-gdb debugger front-end for macOS.
Native macOS debugging is not supported in this release. Remote debugging from a macOS host to other CUDA enabled targets, however, is supported.
Supported Mac platforms: macOS 10.13
- To install:
You should see the following output:
- NVIDIA (R) CUDA Debugger
11.1 release
Portions Copyright (C) 2007-2020 NVIDIA Corporation
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
- Steps to install:
- Steps to run:
Cuda Driver For Mac Os 10.14
- Summary of supported features:
- Refer the 'Visual Profiler' section in the 'Profiler User's Guide'
for more information:
- https://docs.nvidia.com/cuda/profiler-users-guide/index.html#visual
Cuda Driver For Mac Os Mojave
Notes about JRE Requirements when using Visual Profiler on the macOS
- OpenJDK provides an open-source (and standards compliant) implementation of a Java compliant JVM.
Binaries are provided by various vendors such as Oracle, Azul Systems (Zulu), Amazon, Red Hat, IBM, etc.
- Visual Profiler needs to use an older version of Java, specifically JRE update 151, to work correctly.
This is currently not offered by Oracle JDK but is provided by Azul Systems (Zulu).
Cuda For Mac Os Mojave
- The Bazel Build project also uses the Zulu builds of OpenJDK.
- Download JDK 8.0.144 to get JRE update 151: