From bc04f4a300f5515f7d32bba0452c991f1b6bf2a7 Mon Sep 17 00:00:00 2001 From: Gabriel Wu Date: Mon, 25 Sep 2023 14:06:56 +0800 Subject: [PATCH] Fix typo in logging (#36) --- unidock/src/main/main.cpp | 2 +- unidock/src/rocm/main.cu.hip | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unidock/src/main/main.cpp b/unidock/src/main/main.cpp index e03e773..48a08f1 100644 --- a/unidock/src/main/main.cpp +++ b/unidock/src/main/main.cpp @@ -627,7 +627,7 @@ bug reporting, license agreements, and more information. \n"; if (deviceCount > 0){ cudaSetDevice(0); cudaMemGetInfo(&avail, &total); - printf("Avaliable Memory = %dMiB Total Memory = %dMiB\n", int(avail/1024/1024), int(total / 1024 / 1024)); + printf("Available Memory = %dMiB Total Memory = %dMiB\n", int(avail/1024/1024), int(total / 1024 / 1024)); max_memory = avail / 1024 / 1024 * 0.95; // leave 5% to prevent error } if (max_memory < 17000){ diff --git a/unidock/src/rocm/main.cu.hip b/unidock/src/rocm/main.cu.hip index 2ab6c1b..dbf6464 100644 --- a/unidock/src/rocm/main.cu.hip +++ b/unidock/src/rocm/main.cu.hip @@ -583,7 +583,7 @@ Thank you!\n"; if (deviceCount > 0){ hipSetDevice(0); hipMemGetInfo(&avail, &total); - printf("Avaliable Memory = %dMiB Total Memory = %dMiB\n", int(avail/1024/1024), int(total / 1024 / 1024)); + printf("Available Memory = %dMiB Total Memory = %dMiB\n", int(avail/1024/1024), int(total / 1024 / 1024)); max_memory = avail / 1024 / 1024 * 0.95; // leave 5% to prevent error } if (max_memory < 17000){