Cuda For Mac Os X



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.

  1. Cuda For Mac Os X 10.13
  2. Cuda For Mac Os X 10.8
  3. Cuda Install Mac Os X
  4. Cuda Development 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:

  1. Download English (US), New Release 6.0.37. CUDA driver 6.0.37 is required for CUDA support on Mac OS X 10.9 Mavericks.
  2. CUDA Toolkit is a C language development environment for CUDA-enabled GPUs especially designed for OS X. In a short span of time, the programmable graphics processor unit has progressed into an complete computing workhorse.

CUDA 7.5 support; Supported MAC OS X 10.11.x 10.10.x 10.9.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 Update'.

  • 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)

Download
Revision History
NVIDIA® development tools are freely offered through the NVIDIA Registered Developer Program

Instructions for installing cuda-gdb on the macOS

Mac
    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:
    1. Create an installation directory
        INSTALL_DIR=$HOME/cuda-gdb-darwin-11.1
        mkdir $INSTALL_DIR
        cd $INSTALL_DIR
    2. Download the cuda-gdb-darwin-11.1.105.tar.gz tar archive into $INSTALL_DIR above
    3. Unpack the tar archive
        tar fxvz cuda-gdb-darwin-11.1.105.tar.gz
    4. Add the bin directory to your path
        PATH=$INSTALL_DIR/bin:$PATH
    5. Run cuda-gdb --version to confirm you're picking up the correct binaries
        cuda-gdb --version
    6. 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

        Instructions for installing Visual Profiler on the macOS

          Native macOS profiling is not supported in this release. Remote profiling from a macOS host to other CUDA enabled targets, however, is supported.
          Supported Mac platforms: macOS 10.13
          Steps to install:
          1. Double click .dmg file to mount it and access it in finder.
          2. Drag nvvp folder and drop it to any location you want (say <nvvp_mac>).
            Directory Structure:
              |--nvvp
              |--bin/
              |--lib64/
              |--libnvvp/
          3. Download and install the required version of JDK.
            (Refer to the Notes about JRE Requirements when using Visual Profiler on the macOS section, below)
          Steps to run:
          1. Open terminal.
          2. Change to the bin folder
              > cd <nvvp_mac>/nvvp/bin
          3. Run nvvp script file in command line
              > ./nvvp -vm <path_to_java>
            <path_to_java> should point to the JRE update 151 version of Java (See Notes about JRE Requirements, below).
              For example:
              > ./nvvp -vm /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre/bin/java
          Summary of supported features:
          1. Remote profiling
          2. Import nvprof output files
          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

        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: 8.23.0.3) .dmg.zip.tar.gz
            • Download version: Zulu 8.23.0.3 (build 1.8.0_144-b01 .zip

        Revision History

        Current Version
        Version Archive

        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)

        Cuda For Mac Os X 10.13

        Download
        NVIDIA® developement 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, only remote debugging to other CUDA enabled targets.
          To install:
          1. Create an installation directory
              INSTALL_DIR=$HOME/cuda-gdb-darwin-11.0
              mkdir $INSTALL_DIR
              cd $INSTALL_DIR
          2. Download the cuda-gdb-darwin-11.0.tar.gz tar archive into $INSTALL_DIR above
          3. Unpack the tar archive
              tar fxvz cuda-gdb-darwin-11.0.tar.gz
          4. Add the bin directory to your path
              PATH=$INSTALL_DIR/bin:$PATH
          5. Run cuda-gdb --version to confirm you're picking up the correct binaries
              cuda-gdb --version
          6. 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

              Cuda For Mac Os X 10.8

                Steps to run:
                1. Open terminal.
                2. Change to the bin folder
                    > cd <nvvp_mac>/nvvp/bin
                3. Run nvvp script file in command line
                    > ./nvvp

              Cuda Install Mac Os X

                Summary of supported features:
                1. Remote profiling
                2. Import nvprof output files

              Cuda Development Mac Os X

                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