LeelaChessZero / lc0

The rewritten engine, originally for tensorflow. Now all other backends have been ported here.
GNU General Public License v3.0
2.37k stars 523 forks source link

How to build Lc0 without OpenCL support (currently automatically picks it up) #1935

Closed BuddhiLW closed 8 months ago

BuddhiLW commented 8 months ago

I'm on Ubuntu 23.10, CPU: AMD Ryzen 5 5600X (12) @ 3.700GHz, GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590

I'm using nibbler. When I open choose lc0 that I just built, I get:

Plataform version: OpenCL 2.1 AMD-APP (3590.0)
(...)
Error getting device(s): clGetDeviceIDs: -1
Unhandled exception: No Suitable OpenCL device found.

The question becomes, how can I build without the OpenCL support, specified in the build command? I didn't find anything in the documentation related to specifying this.