mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
8a566fcc15
cuDSS 0.8 replaced cudaDataType_t with its own cudssDataType_t enum in the matrix creation APIs, and cudssMatrixCreateCsr() gained a separate parameter for the type of the row offsets. Select the appropriate enum type and pass the additional argument based on CUDSS_VERSION, so that the code compiles against both cuDSS 0.7 and 0.8. Also report the new CUDSS_STATUS_IR_FAILED status added in 0.8. Fixes https://github.com/ceres-solver/ceres-solver/issues/1203 Refs SW-8464 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Change-Id: Ibf36261bd814f0f50e08caa5cf9391810a51540f