master
fix(critical): thread safety, memory leaks, and crash guards
refactor: introduce controllers and split processing services
fix(critical): 5 critical bugs in one batch
fix: conditional CUDA wrapper and stub methods for non-CUDA builds
feat: performance optimizations, CUDA refactor, markers, and documentation