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.
Nvidia Cuda 5.5 For Mac Os X Release
CUDA driver update to support CUDA Toolkit 9.1, macOS 10.13.3 and NVIDIA display driver 3184.108.40.206.25.156 macOS CUDA driver version format change The macOS CUDA driver version now uses the format xxx.xx compare to x.x.x to be consistent with our Linux and Windows driver version naming convention. NVIDIA CUDA C Getting Started Guide for Mac OS X DU-05348-001v04 4 VERIFY THE CORRECT VERSION OF MAC OS X The CUDA Development Tools require an Intel-based Mac running Mac OS X v. 10.5.6 or later. For 64-bit CUDA applications, Mac OS X v. 10.6.3 or later is required. To verify which video adapter your Mac OS X system uses, under the Apple menu select About This Mac, click the More Info button, and then select Graphics/Displays under the Hardware list. Verify the Correct Version of Mac OS X The CUDA Development Tools require an Intel-based Mac running Mac OS X.
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:
- 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.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:
- Create an installation directory
- Download the cuda-gdb-darwin-11.1.105.tar.gz tar archive into
- Unpack the tar archive
tar fxvz cuda-gdb-darwin-11.1.105.tar.gz
- Add the bin directory to your path
- Run cuda-gdb --version to confirm you're picking up the correct binaries
You should see the following output:
- NVIDIA (R) CUDA Debugger
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 run:
- 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
- Summary of supported features:
- Remote profiling
- Import nvprof output files
- Refer the 'Visual Profiler' section in the 'Profiler User's Guide'
for more information:
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).
- The Bazel Build project also uses the Zulu builds of OpenJDK.
- Download JDK 8.0.144 to get JRE update 151:
- Download version: 8u144-b01 (Zulu: 220.127.116.11) .dmg.zip.tar.gz
- Download version: Zulu 18.104.22.168 (build 1.8.0_144-b01 .zip