File: cuda

package info (click to toggle)
python-pycudwt 1.0.2-6
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 504 kB
  • sloc: cpp: 6,173; python: 798; sh: 9; makefile: 5
file content (13 lines) | stat: -rwxr-xr-x 234 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

if nvidia-detect | grep -q "No NVIDIA GPU detected."; then
    exit 77
fi

nvidia-detect

for py in $(py3versions -s 2> /dev/null); do
    cd "$AUTOPKGTEST_TMP"
    echo "Testing with $py:"
    $py test/test_all.py
done