Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffhammond committed Oct 29, 2024
1 parent e1f4e26 commit 8e131db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cxx11/nstream-managed-hip.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ int main(int argc, char * argv[])

int iterations;
int length;
bool system_memory;
bool system_memory, grid_stride, ordered_fault, prefetch;
try {
if (argc < 3) {
throw "Usage: <# iterations> <vector length> [<use_system_memory>]";
throw "Usage: <# iterations> <vector length> [<use_system_memory> <grid_stride> <ordered_fault> <prefetch>]";
}

iterations = std::atoi(argv[1]);
Expand Down

0 comments on commit 8e131db

Please sign in to comment.