File: ncu-ui

package info (click to toggle)
nvidia-cuda-toolkit 11.8.0-5~deb12u1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm
  • size: 18,338,396 kB
  • sloc: ansic: 172,472; cpp: 57,058; javascript: 21,597; python: 12,656; xml: 12,438; makefile: 2,949; sh: 2,056; perl: 352
file content (16 lines) | stat: -rwxr-xr-x 492 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
if [ $(basename "$0") = "nv-nsight-cu" ]; then
    echo "Note: nv-nsight-cu wrapper is deprecated in favor of ncu-ui and will be removed in a future version." >> /dev/stderr
fi

APPDIR="$(dirname "$(readlink -f -- "$0")")"

ARCH="$(uname -m)"

if   [ "$ARCH" = "x86_64" ]; then
    "$APPDIR/host/linux-desktop-glibc_2_11_3-x64/ncu-ui" "$@"
elif [ "$ARCH" = "aarch64" ]; then
    "$APPDIR/host/linux-desktop-t210-a64/ncu-ui" "$@"
else
    echo "Unsupported Architecture: $ARCH"
fi