mirror of
https://github.com/Chaoscaot/schemsearch.git
synced 2026-06-15 16:26:03 +02:00
f5286f7aec
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.