Cuda Nvidia For Mac Os
Nvidia is to drop support for macOS in CUDA, its GPU computing platform, used by many GPU renderers.
According to the release notes for CUDA Toolkit, this week’s 10.2 update will be “the last to support macOS for developing and running CUDA applications”.
A further hurdle for Mac users who want to use Nvidia GPUs
Nvidia’s decision to stop supporting macOS in CUDA isn’t a major surprise given that, for some years, Apple hasn’t included Nvidia GPUs in its workstations and laptops.
Apple’s consumer machines offer integrated Intel graphics as standard; professional workstations, like the Mac Pro, iMac Pro and 16-inch MacBook Pro, also offer discrete AMD cards.
That leaves an external GPU chassis as the only option for running GPU renderers that require CUDA – and therefore a Nvidia graphics card – on macOS.
Mac Os Nvidia Support
However, even running Nvidia hardware in eGPUs became much harder with the release of macOS 10.14 last year, given the lack of graphics drivers for current Nvidia cards.
New in Release 2.2. Support with MAC OS 10.5.7; Support with both Quadro FX 4800 for MAC and GeForce GTX 285; If you would like to be notified of upcoming drivers for Mac. 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.0 cuda-gdb debugger front-end for macOS. Native macOS debugging is not supported in this release.
The reasons are discussed in more detail in this AppleInsider story, but at the time of posting, the only GPUs that Apple officially specifies for eGPUs are made by AMD.
So which GPU renderers don’t need CUDA?
That creates problems for Mac users hoping to use their GPUs for rendering, since the major commercial GPU render engines – including OctaneRender, Redshift and V-Ray GPU – currently require CUDA.
Renderer developers looking to use Nvidia’s OptiX framework – increasingly being used to implement hardware-accelerated ray tracing on Nvidia’s curent-gen RTX GPUs – also need the CUDA Toolkit.
While some GPU renderers, such as Blender’s Cycles engine, support AMD cards via OpenCL, even OpenCL support was deprecated in macOS 10.14 in favour of Apple’s own Metal 2 API.
At the time of posting, few GPU renderers support Metal: AMD’s own Radeon ProRender is one of the few exceptions, although Metal-compatible versions of both Redshift and OctaneRender have been announced.
Related posts:
Tags: AMD, Blender, CUDA, CUDA Toolkit, Cycles, eGPU, GPU ray tracing, GPU rendering, macOS, macOS 10.14, macOS Mojave, Metal, Metal 2, NVIDIA, Octane X, OctaneRender, OptiX, Radeon ProRender, Redshift, RTX, V-Ray, V-Ray GPU
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.
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.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
- 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/ - Open terminal.
- Change to the bin folder
- > cd <nvvp_mac>/nvvp/bin
- Run nvvp script file in command line
- > ./nvvp
- Remote profiling
- Import nvprof output files
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
Instructions for installing Visual Profiler on the macOS
- Native macOS profiling is not supported in this release, only remote debugging to other CUDA enabled targets.
Supported Mac platforms: Mac OS X 10.13
- Steps to install:
- Steps to run:
Nvidia Cuda Download
- Summary of supported features:
Cuda For Mac
- 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