Commit Graph
11 Commits
Author SHA1 Message Date
Chaoscaot c554b1f164 Rename use_cpu to opencl and adjust logic accordingly. 2025-04-09 18:58:55 +02:00
Chaoscaot c30c10e494 Enable lazy initialization for OpenCL availability check 2025-04-09 18:38:34 +02:00
Chaoscaot f5286f7aec Enable lazy initialization for OpenCL availability check
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.
2025-04-09 18:34:32 +02:00
Chaoscaot 8befbf4c7f Add CPU matching option and improve default behavior handling 2025-04-09 18:32:16 +02:00
Chaoscaot 35726def3e Add CPU matching option and improve default behavior handling 2025-04-09 18:30:51 +02:00
Chaoscaot 1d3d5b3e6e **Optimize ProQue initialization with OnceLock**
Replaced repeated ProQue initialization with a static OnceLock to ensure efficient and thread-safe reuse. This minimizes the overhead of recreating the ProQue instance while maintaining correct behavior by dynamically updating its dimensions.
2025-04-09 14:39:14 +02:00
Chaoscaot 47bbf25ac7 Remove deprecated crates and introduce OpenCL matcher integration 2025-04-09 13:41:50 +02:00
Chaoscaot 2a584e878f Fixing... 2024-04-27 22:30:29 +02:00
Chaoscaot 33f5fe03fe Merge pull request #11 from Chaoscaot/add-invalid-nbt-arg
🔧 Add invalid_nbt flag.
2024-04-27 21:55:13 +02:00
Chaoscaot 0e6f2c3f78 🔧 Add invalid_nbt flag. 2024-04-27 21:27:42 +02:00
Chaoscaot 82108d9e36 🛠️ Fix incorrect CSV format in OutputFormat::CSV. (#10) 2024-04-27 20:19:10 +02:00