Add crash-resumable search with transactional checkpoints

This commit is contained in:
Yaossg 2026-10-21 00:20:30 +08:00
parent f71985c0c3
commit 482989c4d2
8 changed files with 388 additions and 9 deletions

View file

@ -4,7 +4,7 @@ CXXFLAGS ?= -O3 -std=c++17
NVCCFLAGS ?= -O3 -std=c++17
# Keep the original default build compatible; use `make bench` for the current CLI.
.PHONY: all legacy bench research show tools test test-gpu clean help
.PHONY: all legacy bench search research show tools test test-gpu clean help
all: legacy
legacy: slime slime-cuda
slime: slime.cpp
@ -13,6 +13,7 @@ slime-cuda: slime.cu
$(NVCC) $(NVCCFLAGS) $< -o $@
bench:
$(MAKE) -C bench
search: bench
research:
$(MAKE) -C research
show:
@ -21,6 +22,7 @@ tools:
$(MAKE) -C tools
test:
$(MAKE) -C bench test
python3 search/test_search.py
test-gpu:
$(MAKE) -C bench test-gpu
clean:
@ -30,6 +32,7 @@ clean:
$(MAKE) -C show clean
$(MAKE) -C tools clean
help:
@echo 'make search Build the backend for resumable search (Python 3)'
@echo 'make bench Build the current CUDA benchmark CLI'
@echo 'make test Run CLI host-side checks (nvcc required, GPU not required)'
@echo 'make test-gpu Run CLI GPU integration checks'