mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-23 07:46:15 +00:00
benchmarks: gem_prw add the read/write switch to getopt
In my haste to merge the two gem_pread/gem_pwrite, I forgot to write up the command line switch to getopt. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
f8628a2c98
commit
af510c249d
@ -62,7 +62,7 @@ int main(int argc, char **argv)
|
||||
int reps = 13;
|
||||
int c, size;
|
||||
|
||||
while ((c = getopt (argc, argv, "d:r:")) != -1) {
|
||||
while ((c = getopt (argc, argv, "D:d:r:")) != -1) {
|
||||
switch (c) {
|
||||
case 'd':
|
||||
if (strcmp(optarg, "cpu") == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user