NVIDIA CUDA Toolkit — Developer Tools for macOS — CUDA Toolkit 11.4 Update 1
NVIDIA® CUDA Toolkit 11.4 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:
- 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)
Revision History
NVIDIA® development tools are freely offered through the NVIDIA Registered Developer Program
Instructions for installing cuda-gdb on the macOS
- This tar archive holds the distribution of the CUDA 11.4 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
- INSTALL_DIR=$HOME/cuda-gdb-darwin-11.4
mkdir $INSTALL_DIR
cd $INSTALL_DIR
- tar fxvz cuda-gdb-darwin-11.4.100.tar.gz
- PATH=$INSTALL_DIR/bin:$PATH
- cuda-gdb —version
You should see the following output:
- NVIDIA (R) CUDA Debugger
11.4 release
Portions Copyright (C) 2007-2021 NVIDIA Corporation
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Источник