Skip to main content

Module gpu

Module gpu 

Source
Expand description

GPU host-side orchestration using cudarc and embedded kernel.ptx.

Structs§

GpuSearchReport
Result of a completed GPU-selected 2-opt search.

Enums§

GpuEvaluationError
Input validation, CUDA execution, or selected-move consistency failure.

Functions§

best_two_opt_move
Finds the best finite negative delta on the GPU without changing the route.
evaluate_two_opt_deltas
Evaluates all 2-opt deltas for one route on the GPU.
smoke_add_one
Runs the PTX smoke-test through the CUDA driver.
two_opt
Runs GPU-selected 2-opt independently on every route in a solution.
two_opt_route
Runs GPU-selected best-improvement 2-opt until no improving move remains.