Comments (3)
Hi, I am trying to give you some advice. For your igpu like Ryzen 5700G, the graphic core arch is still same as Vega dgpu so you can try to install driver from gpu like Radeon Vii, reference the guide Radeon™ Software for Linux® Installation.
from katago.
Do you know where the lib and include dirs are for your OpenCL installation? If so, it may work to specify -DOpenCL_LIBRARY=... -DOpenCL_INCLUDE_DIR=...
but replacing the ... with the appropriate paths to those directories when running cmake.
from katago.
Hi David, thanks for your answer. I installed pocl via apt (sudo apt install pocl-opencl-icd), so I guess no source code was installed this way - but I'm not a dev. So I got the source for the project (git clone https://github.com/pocl/pocl.git), and tried as you said... but then I get
:~/KataGo/cpp$ cmake . -DUSE_BACKEND=OPENCL -DOpenCL_LIBRARY=~/Downloads/pocl/lib -DOpenCL_INCLUDE_DIR=~/Downloads/pocl/include -- Building 'katago' executable for GTP engine and other tools. -- -DUSE_BACKEND=OPENCL, using OpenCL backend. -- Including Git revision in the compiled executable, specify -DNO_GIT_REVISION=1 to disable -- Found OpenCL: /home/werner/Downloads/pocl/lib -- Setting up build for GNU or Clang. -- Enabling GNU-specific build options. -- Configuring done WARNING: Target "katago" requests linking to directory "/home/werner/Downloads/pocl/lib". Targets may link only to libraries. CMake is dropping the item. -- Generating done -- Build files have been written to: /home/werner/KataGo/cpp
And then when I try "make" anyway, I get a trillion errors like
/usr/bin/ld: /home/werner/KataGo/cpp/neuralnet/openclbackend.cpp:3204: undefined reference to
clReleaseMemObject'
/usr/bin/ld: /home/werner/KataGo/cpp/neuralnet/openclbackend.cpp:3205: undefined reference to clReleaseMemObject' /usr/bin/ld: /home/werner/KataGo/cpp/neuralnet/openclbackend.cpp:3206: undefined reference to
clReleaseMemObject'
/usr/bin/ld: CMakeFiles/katago.dir/neuralnet/openclbackend.cpp.o: in function BatchNormLayer::~BatchNormLayer()': /home/werner/KataGo/cpp/neuralnet/openclbackend.cpp:895: undefined reference to
clReleaseMemObject'
/usr/bin/ld: /home/werner/KataGo/cpp/neuralnet/openclbackend.cpp:896: undefined reference to clReleaseMemObject' /usr/bin/ld: CMakeFiles/katago.dir/neuralnet/openclbackend.cpp.o: in function
NeuralNet::testEvaluateConv(ConvLayerDesc const*, int, int, int, bool, bool, std::vector<float, std::allocator > const&, std::vector<float, std::allocator >&)':
/home/werner/KataGo/cpp/neuralnet/openclbackend.cpp:3143: undefined reference to clCreateBuffer' /usr/bin/ld: /home/werner/KataGo/cpp/neuralnet/openclbackend.cpp:3149: undefined reference to
clReleaseMemObject'
/usr/bin/ld: /home/werner/KataGo/cpp/neuralnet/openclbackend.cpp:3150: undefined reference to clReleaseMemObject' /usr/bin/ld: /home/werner/KataGo/cpp/neuralnet/openclbackend.cpp:3151: undefined reference to
clReleaseMemObject'
/usr/bin/ld: /home/werner/KataGo/cpp/neuralnet/openclbackend.cpp:3152: undefined reference to clReleaseMemObject' /
which is probably due to the "lib" error in the first step. Is that fixable easily? Sorry, no dev here :)
from katago.
Related Issues (20)
- Compiled error at humansl branch on win10 VS2019 HOT 1
- Train a weight‘s weight, to predict the value of the next Katago weight HOT 3
- How to use Katago 1.14.1 with time cache? HOT 1
- Issue in training: low visit counts and strange initial conditions(board dimensions, komi settings, piece position) HOT 2
- kata-genmove_analyze with KEYVALUEPAIR not working HOT 1
- A problem building for CUDA HOT 2
- Why does lc0 ship cuda dlls with engine but katago doesn't?
- Minor document questions
- Error checks for kata-raw-human-nn HOT 1
- How to set rules to "twisted cross and eating" for beginner HOT 2
- Throwback HOT 3
- Lack of ability HOT 3
- Katago cannot give a definitive answer for the best move. HOT 2
- Report an error HOT 3
- allowResignation affects humanSL strength?? HOT 4
- Loose ladder
- katago 1.15.1 build failure HOT 1
- Do you have a plan to create a GUI? HOT 4
- kata-analyze reports a non-human-like move for the preaz_20k human profile HOT 1
- Evaluate the value of moves HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from katago.