aboutsummaryrefslogtreecommitdiff
path: root/tests/late_check.c
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-21 10:07:05 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-21 10:07:05 +0200
commitee0b8485abd29e558c8ad8597c15730e33af4072 (patch)
tree0acb55da9c23c7adbcba56f1e776f21fdb854057 /tests/late_check.c
parente381024cca6fd1e0815c1b8dc72a09f493d57378 (diff)
downloadffwd-ee0b8485abd29e558c8ad8597c15730e33af4072.tar.gz
ffwd-ee0b8485abd29e558c8ad8597c15730e33af4072.zip
chore: clang-format drifted test drivers
Diffstat (limited to 'tests/late_check.c')
-rw-r--r--tests/late_check.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/late_check.c b/tests/late_check.c
index debca62..fd6f6e1 100644
--- a/tests/late_check.c
+++ b/tests/late_check.c
@@ -321,8 +321,8 @@ int main(int argc, char **argv) {
return 1;
}
float device_scores[NDOCS];
- if (ffwd_mlx_late_maxsim_batch_device(model, q.dev, packed_dev, offsets, NDOCS,
- device_scores) != 0) {
+ if (ffwd_mlx_late_maxsim_batch_device(model, q.dev, packed_dev, offsets, NDOCS, device_scores) !=
+ 0) {
fprintf(stderr, "late MLX device MaxSim failed\n");
ffwd_mlx_late_vectors_free(packed_dev);
return 1;
@@ -346,8 +346,8 @@ int main(int argc, char **argv) {
if (runs > 0) {
double start = now_ms();
for (int i = 0; i < runs; i++) {
- if (ffwd_late_maxsim_batch(q.vecs, q.n_vecs, packed_docs, offsets, NDOCS, dim,
- scores) != 0) {
+ if (ffwd_late_maxsim_batch(q.vecs, q.n_vecs, packed_docs, offsets, NDOCS, dim, scores) !=
+ 0) {
fprintf(stderr, "timed late MaxSim failed at run %d\n", i);
return 1;
}
@@ -366,7 +366,7 @@ int main(int argc, char **argv) {
start = now_ms();
for (int i = 0; i < runs; i++) {
if (ffwd_mlx_late_maxsim_batch_device(model, q.dev, packed_dev, offsets, NDOCS,
- device_scores) != 0) {
+ device_scores) != 0) {
fprintf(stderr, "timed late MLX device MaxSim failed at run %d\n", i);
ffwd_mlx_late_vectors_free(packed_dev);
return 1;