diff options
author | Richard Kiss <him@richardkiss.com> | 2023-12-12 01:53:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 11:53:36 +0200 |
commit | 9494d7c4774ab745490b5a19570ff7747a194143 (patch) | |
tree | ec70be73a544a7cf30a17a0430b87d89a269d188 /tests | |
parent | 6138963fb232cbae70c9d181db0ba125708f473d (diff) |
english : use `typos` to fix comments and logs (#4354)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-grad0.cpp | 2 | ||||
-rw-r--r-- | tests/test-quantize-perf.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-grad0.cpp b/tests/test-grad0.cpp index 7fe9154d..81c20a89 100644 --- a/tests/test-grad0.cpp +++ b/tests/test-grad0.cpp @@ -1,4 +1,4 @@ -#define _CRT_SECURE_NO_DEPRECATE // Disables ridiculous "unsafe" warnigns on Windows +#define _CRT_SECURE_NO_DEPRECATE // Disables ridiculous "unsafe" warnings on Windows #include "ggml.h" #include <cmath> diff --git a/tests/test-quantize-perf.cpp b/tests/test-quantize-perf.cpp index 88fac0e2..62d0190f 100644 --- a/tests/test-quantize-perf.cpp +++ b/tests/test-quantize-perf.cpp @@ -117,7 +117,7 @@ static void usage(char * argv[]) { printf(" --size SIZE set test size, divisible by 32 (L1_SIZE:%d)\n", L1_SIZE); printf(" -3 use size as L1, L2, L3 sizes (L1:%d L2:%d L3:%d)\n", L1_SIZE, L2_SIZE, L3_SIZE); printf(" -4 use size as L1, L2, L3, MEM sizes (L1:%d L2:%d L3:%d MEM:%d)\n", L1_SIZE, L2_SIZE, L3_SIZE, MEM_SIZE); - printf(" --op OP set test opration as quantize_row_q_reference, quantize_row_q, dequantize_row_q,\n"); + printf(" --op OP set test operation as quantize_row_q_reference, quantize_row_q, dequantize_row_q,\n"); printf(" quantize_row_q_dot, vec_dot_q (all)\n"); printf(" --type TYPE set test type as"); for (int i = 0; i < GGML_TYPE_COUNT; i++) { @@ -202,7 +202,7 @@ int main(int argc, char * argv[]) { } int alignment = std::stoi(argv[i]); if (alignment < 0 || alignment > MAX_ALIGNMENT) { - fprintf(stderr, "error: aligment-offset must be less than %d\n", MAX_ALIGNMENT); + fprintf(stderr, "error: alignment-offset must be less than %d\n", MAX_ALIGNMENT); invalid_param = true; break; } |