From 458563c163a885e336ef3365922af4d17e578f56 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Mon, 15 Jun 2026 13:47:23 +0200 Subject: all: add CLS first-token pooling --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1bd2b23..76b9f57 100644 --- a/Makefile +++ b/Makefile @@ -171,6 +171,8 @@ TEST_QWEN3_SRCS = tests/test_qwen3.c embed.c embed_config.c qwen_safetenso $(KERNEL_SRCS) TEST_QWEN2_SRCS = tests/test_qwen2.c embed.c embed_config.c qwen_safetensors.c \ $(KERNEL_SRCS) +TEST_CLS_SRCS = tests/test_cls.c embed.c embed_config.c qwen_safetensors.c \ + $(KERNEL_SRCS) TEST_WORKSPACE_SRCS = tests/test_workspace.c embed.c embed_config.c qwen_tokenizer.c \ qwen_safetensors.c $(KERNEL_SRCS) TEST_LATE_SRCS = tests/test_late.c embed.c embed_config.c qwen_tokenizer.c \ @@ -203,6 +205,9 @@ test: $(CC) $(TEST_CC_FLAGS) $(TEST_BLAS_CFLAGS) -o tests/test_qwen2 \ $(TEST_QWEN2_SRCS) -lm -lpthread $(TEST_BLAS_LDFLAGS) ./tests/test_qwen2 + $(CC) $(TEST_CC_FLAGS) $(TEST_BLAS_CFLAGS) -o tests/test_cls \ + $(TEST_CLS_SRCS) -lm -lpthread $(TEST_BLAS_LDFLAGS) + ./tests/test_cls $(CC) $(TEST_CC_FLAGS) -o tests/test_workspace \ $(TEST_WORKSPACE_SRCS) -lm -lpthread ./tests/test_workspace -- cgit v1.3.1