diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-06-25 17:56:18 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-06-25 17:56:18 +0200 |
| commit | 417f861f3661c2253258b5683a627d961e81fc68 (patch) | |
| tree | 54b3a7019dc05dcb2db610005920ac95b406a92f /tools/cli | |
| parent | 22626c7f1bd540e6f90b524be38320a546b4d025 (diff) | |
| download | ffwd-417f861f3661c2253258b5683a627d961e81fc68.tar.gz ffwd-417f861f3661c2253258b5683a627d961e81fc68.zip | |
build: update build info and accelerator labels
Diffstat (limited to 'tools/cli')
| -rw-r--r-- | tools/cli/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/cli/main.c b/tools/cli/main.c index d9516b8..bb6f2f8 100644 --- a/tools/cli/main.c +++ b/tools/cli/main.c @@ -310,7 +310,7 @@ static void print_matrix(const float *embs, int n, int dim, int json, int print_ if (j) putchar(','); printf("%.6f", (double)ffwd_cosine_similarity(embs + (size_t)i * dim, - embs + (size_t)j * dim, dim)); + embs + (size_t)j * dim, dim)); } putchar(']'); } @@ -323,7 +323,7 @@ static void print_matrix(const float *embs, int n, int dim, int json, int print_ if (j) putchar(' '); printf("%.6f", (double)ffwd_cosine_similarity(embs + (size_t)i * dim, - embs + (size_t)j * dim, dim)); + embs + (size_t)j * dim, dim)); } putchar('\n'); } @@ -459,7 +459,7 @@ int main(int argc, char *argv[]) { ffwd_print_version(prog); return 0; } else if (!strcmp(f, "--build-info")) { - ffwd_print_build_info(prog); + ffwd_print_build_info(); return 0; } else if (!strcmp(f, "-t") || !strcmp(f, "--threads")) { opts.n_threads = atoi(argv[++arg_start]); |
