Skip to content

Commit

Permalink
Don't include OpenCL scheduler in CPU build.
Browse files Browse the repository at this point in the history
It will recursively include OpenCL.h and that
is bad.

Pull request leela-zero#2314.
  • Loading branch information
gcp authored Apr 3, 2019
1 parent da9ed9d commit f664191
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/UCTSearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
#include "Timing.h"
#include "Training.h"
#include "Utils.h"
#ifdef USE_OPENCL
#include "OpenCLScheduler.h"
#endif

using namespace Utils;

Expand Down

0 comments on commit f664191

Please sign in to comment.