5a3831e977aa98f88171dd9aa25d0ed20a3c795c
Applies CCCL cub/device/dispatch/tuning/tuning_adjacent_difference.cuh:
- policy_selector takes (value_type_size, may_alias) → returns optimal
AdjacentDifferencePolicy{threads, items, load_algo, load_mod, store_algo}
- Translated: _select_error_policy takes exception → returns optimal
(status_code, error_code, message) based on exception characteristics
- Replaces hardcoded if-elif-else with policy function
- Adds ValueError/TypeError → 400, timeout → 504 policies
- Centralizes error classification for consistent HTTP semantics
project_6
Description
Languages
C++
41.8%
Cuda
31.6%
Python
22.2%
C
2.1%
CMake
1.1%
Other
1.1%