From 19549693a0d012b64d7d23688e189a501d491a7d Mon Sep 17 00:00:00 2001 From: Marcos Slomp Date: Fri, 5 Jun 2026 10:45:07 -0700 Subject: [PATCH] removing Makefile --- tests/cuda/repro/graph/Makefile | 50 -------------------------------- tests/cuda/repro/graph/README.md | 5 ++-- 2 files changed, 3 insertions(+), 52 deletions(-) delete mode 100644 tests/cuda/repro/graph/Makefile diff --git a/tests/cuda/repro/graph/Makefile b/tests/cuda/repro/graph/Makefile deleted file mode 100644 index 85af04a9..00000000 --- a/tests/cuda/repro/graph/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -TRACY_PATH := ../../../.. -NVCC := nvcc -CXX := g++ -CUPTI_INC := /usr/local/cuda/include -CUPTI_LIB := /usr/local/cuda/lib64 - -TRACY_PUBLIC := $(TRACY_PATH)/public -TRACY_SRCS := $(TRACY_PUBLIC)/TracyClient.cpp -INCLUDES := -I$(TRACY_PUBLIC) -I$(CUPTI_INC) -LIBS := -L$(CUPTI_LIB) -lcuda -lcupti -lpthread -ldl - -CXXFLAGS_REL := -O2 -DTRACY_ENABLE -CXXFLAGS_DBG := -g -O0 -DTRACY_ENABLE -NVCCFLAGS_REL := -arch=native -O2 -DTRACY_ENABLE -NVCCFLAGS_DBG := -arch=native -g -O0 -DTRACY_ENABLE - -.PHONY: all debug investigate investigate2 clean - -all: repro - -debug: repro_debug - -investigate: test_corr_reuse - -investigate2: test_graphid_recycle - -# Release build -repro: repro.cu tracy_client.o - $(NVCC) $(NVCCFLAGS_REL) $(INCLUDES) -o $@ $< tracy_client.o $(LIBS) - -tracy_client.o: $(TRACY_SRCS) - $(CXX) $(CXXFLAGS_REL) $(INCLUDES) -c -o $@ $< - -# Debug build (asserts enabled, no NDEBUG) -repro_debug: repro.cu tracy_client_debug.o - $(NVCC) $(NVCCFLAGS_DBG) $(INCLUDES) -o $@ $< tracy_client_debug.o $(LIBS) - -tracy_client_debug.o: $(TRACY_SRCS) - $(CXX) $(CXXFLAGS_DBG) $(INCLUDES) -c -o $@ $< - -# Investigation: correlationId uniqueness per graph launch (no Tracy dependency) -test_corr_reuse: test_corr_reuse.cu - $(NVCC) $(NVCCFLAGS_REL) $(INCLUDES) -o $@ $< $(LIBS) - -# Investigation: does CUPTI recycle graphId values after cudaGraphExecDestroy? -test_graphid_recycle: test_graphid_recycle.cu - $(NVCC) $(NVCCFLAGS_REL) $(INCLUDES) -o $@ $< $(LIBS) - -clean: - rm -f repro repro_debug test_corr_reuse test_graphid_recycle tracy_client.o tracy_client_debug.o diff --git a/tests/cuda/repro/graph/README.md b/tests/cuda/repro/graph/README.md index f45d3efe..5704fcd8 100644 --- a/tests/cuda/repro/graph/README.md +++ b/tests/cuda/repro/graph/README.md @@ -14,8 +14,9 @@ drops every GPU zone. ## Build and run ```bash -make -./repro +cmake -S . -B ./build +cmake --build ./build --parallel --config Release +ctest --test-dir ./build -C Release -R repro ``` ## What to expect