Initial commit: cuGenOpt GPU optimization solver

This commit is contained in:
L-yang-yang 2026-03-20 00:33:45 +08:00
commit fc5a0ff4af
117 changed files with 25545 additions and 0 deletions

View file

@ -0,0 +1,13 @@
NVCC = /usr/local/cuda-12.8/bin/nvcc
CUDA_ARCH = -arch=sm_70
INCLUDES = -I../../../prototype/core
CXXFLAGS = -O3 -std=c++14
NVCCFLAGS = $(CUDA_ARCH) $(CXXFLAGS) $(INCLUDES) --expt-relaxed-constexpr
test_lazy_norm: test_lazy_norm.cu
$(NVCC) $(NVCCFLAGS) -o test_lazy_norm test_lazy_norm.cu
clean:
rm -f test_lazy_norm
.PHONY: clean