cuGenOpt/prototype/problems
L-yang-yang a848730459 fix: harden CUDA safety checks and translate comments to English
Safety fixes (4 critical, 4 warning) from code review:

- qap.cuh: fix clone_to_device cross-device D2H by retaining host matrices
- types.cuh: add CUDA_CHECK to InjectBuffer, track owner_gpu for safe destroy
- types.cuh: add bounds check on lexicographic priority index
- solver.cuh: cap migrate_kernel islands to MAX_ISLANDS=64 to prevent stack overflow
- multi_gpu_solver.cuh: guard against 0 GPUs, propagate stop_reason from best GPU
- types.cuh: warn on SeqRegistry overflow
- solver.cuh: warn when constraint_directed/phased_search disabled without AOS

Translate all Chinese comments to English across 25+ source files
(core/*.cuh, problems/*.cuh, Makefile, multi-GPU tests).

Verified on V100S×2 (sm_70, CUDA 12.8): e5 (12 problem types, all optimal),
e13 (multi-objective + multi-GPU, 9 configs, all passed).
2026-03-25 11:52:50 +08:00
..
assignment.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
bin_packing.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
graph_color.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
jsp.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
knapsack.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
load_balance.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
qap.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
schedule.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
tsp.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
tsp_large.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
tsp_xlarge.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
vrp.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00
vrptw.cuh fix: harden CUDA safety checks and translate comments to English 2026-03-25 11:52:50 +08:00