File: cuda

package info (click to toggle)
python-scikit-cuda 0.5.3-1
  • links: PTS
  • area: contrib
  • in suites: forky, trixie
  • size: 1,516 kB
  • sloc: python: 18,940; ansic: 459; makefile: 95; sh: 9
file content (13 lines) | stat: -rwxr-xr-x 233 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 -m pytest tests
done