Step1 in staging buffer copy.

- use StagingBuffer class for copies.
- refactor g_device to use array rather than vector.
   (keeps pointers from moving).


[ROCm/hip commit: 24c1fdb864]
This commit is contained in:
Ben Sander
2016-02-12 04:30:09 -06:00
parent b9dc0e9497
commit c441d5ec29
6 changed files with 188 additions and 45 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ int parseStandardArguments(int argc, char *argv[], bool failOnUndefinedArg)
if (!strcmp(arg, " ")) {
// skip NULL args.
} else if (!strcmp(arg, "--N")) {
} else if (!strcmp(arg, "--N") || (!strcmp(arg, "-N"))) {
if (++i >= argc || !HipTest::parseSize(argv[i], &N)) {
failed("Bad N size argument");
}