mirror of
https://github.com/Chaoscaot/schemsearch.git
synced 2026-01-01 09:57:05 +01:00
Replaced direct calls to `ocl_available()` with a `OnceLock` for thread-safe and efficient lazy initialization. This avoids redundant checks and improves performance in scenarios where OpenCL is not repeatedly required.