summarylogtreecommitdiffstats
path: root/gputest.sh
blob: 4f4ac11808faaf8bf5688ad56f19a20212f010a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash

#TODO: change /args to gnu ones in this wrapper, -h if will need -h$

for ARGV in $@ ; do
  if [[ $ARGV == *'-h'* ]]; then
    cat <<HELP
GpuTest 0.7.0 usage (AUR wrapper, no warranty nor support)
  -h --help   This message
  /fullscreen
  /gpumon_terminal # always passed by gui
  /width=XRES
  /height=YRES
  /test=DEMO
  /benchmark
  /print_score # was used together with benchmark
  /submit_gpudb
  /user_screen_name # name for submit?

Demos:
  fur some_desc and urls copy&paste
  tess_x8
  tess_x16
  tess_x32
  tess_x64
  gi
  pixmark_julia_fp32
  pixmark_julia_fp64
  pixmark_piano
  pixmark_volplosion
  plot3d
  triangle (Default)
HELP
    exit 0
  fi
done

cd /opt/gputest
exec ./GpuTest "$@"