cllesstag.dll — LessTag OpenCL backend (Windows x64)
The GPU LessTag detector. Requires a working OpenCL runtime and a usable device; if the
machine has neither, use cpulesstag instead — this DLL will not even load without
OpenCL.dll.
Install
Drop cllesstag.dll next to DetourLite.exe (or Detour.exe).
Selecting it
Priority, highest first:
- the detector's own
backendsetting ("cl","cpu", or"auto") - the legacy
clVer = "cpu"setting, which still means "use the CPU backend" - the
DETOUR_LESSTAGenvironment variable - discovery order — OpenCL first, CPU as the fallback
With backend = "auto" and this DLL present, OpenCL wins. Aliases: cl, cllesstag,
opencl, gpu, cl1.2, cl2.0.
clDev still picks the device by name substring (default "HD"), and clVer still picks
the kernel source (cl1.2 or cl2.0).
What changed in 1.1.0-hourglass
- Exports
version_lesstag()so the host can report exactly which build is loaded. An oldercllesstag.dllwithout this export still binds — it is reported aslegacyrather than being rejected. read_confs(thelesstag_conf.txtreader) moved into its own translation unit shared with the CPU backend. No behavior change.- The CPU path is still compiled into this DLL, so
type="cpu"keeps working for existing configurations.
Verifying it loaded
Loaded lesstag backend cl from DetourCore.LocatorTypes.LessTagController+ClLessTagLibrary, version=cllesstag 1.1.0 (hourglass, ...)
NVIDIA GeForce RTX 3070 Ti Laptop GPU OpenCL 3.0 CUDA
Build program with cl1.2
The detector status line carries the backend name, e.g. [cl:HD/cl1.2 320x320 x0.500].