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,18 @@
NVCC = nvcc
CUDA_ARCH = -arch=sm_75
INCLUDES = -I../../../prototype/core
CXXFLAGS = -O3 -std=c++14
NVCCFLAGS = $(CUDA_ARCH) $(CXXFLAGS) $(INCLUDES) --expt-relaxed-constexpr
TARGET = e13_multiobjective
SRC = gpu.cu
all: $(TARGET)
$(TARGET): $(SRC) bi_objective_vrp.cuh tri_objective_vrp.cuh bi_objective_knapsack.cuh
$(NVCC) $(NVCCFLAGS) $(SRC) -o $(TARGET)
clean:
rm -f $(TARGET)
.PHONY: all clean