Skip to content

Commit

Permalink
Fix GPU ID parsing error in reg_f3d
Browse files Browse the repository at this point in the history
  • Loading branch information
onurulgen committed Feb 14, 2024
1 parent 18cc32b commit 640ec07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion niftyreg_build_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
403
404
3 changes: 2 additions & 1 deletion reg-apps/reg_f3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ int main(int argc, char **argv) {
if (strcmp(argv[i], "-ref") == 0 || strcmp(argv[i], "-target") == 0 ||
strcmp(argv[i], "--ref") == 0 || strcmp(argv[i], "-flo") == 0 ||
strcmp(argv[i], "-source") == 0 || strcmp(argv[i], "--flo") == 0 ||
strcmp(argv[i], "-platf") == 0 || strcmp(argv[i], "--platf") == 0) {
strcmp(argv[i], "-platf") == 0 || strcmp(argv[i], "--platf") == 0 ||
strcmp(argv[i], "-gpuid") == 0 || strcmp(argv[i], "--gpuid") == 0) {
// argument has already been parsed
++i;
} else if (strcmp(argv[i], "-voff") == 0) {
Expand Down

0 comments on commit 640ec07

Please sign in to comment.