Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Sep 28, 2023
1 parent eb47520 commit 8a3478d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/lib/include/gpu_cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ inline void nborAssert(cudaError_t code,
if (abort) {
throw deepmd::deepmd_exception_oom(error_msg);
} else {
fprintf(stderr, err_msg + "\n");
fprintf(stderr, error_msg + "\n");
}
}
}
Expand All @@ -78,7 +78,7 @@ inline void nborAssert(cudaError_t code,
if (abort) {
throw deepmd::deepmd_exception(error_msg);
} else {
fprintf(stderr, err_msg + "\n");
fprintf(stderr, error_msg + "\n");
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions source/lib/include/gpu_rocm.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ inline void DPAssert(hipError_t code,
if (abort) {
throw deepmd::deepmd_exception(error_msg);
} else {
fprintf(stderr, err_msg + "\n");
fprintf(stderr, error_msg + "\n");
}
}
}
Expand All @@ -54,7 +54,7 @@ inline void nborAssert(hipError_t code,
if (abort) {
throw deepmd::deepmd_exception(error_msg);
} else {
fprintf(stderr, err_msg + "\n");
fprintf(stderr, error_msg + "\n");
}
}
}
Expand Down

0 comments on commit 8a3478d

Please sign in to comment.