4 ms·
Looks very interesting! I'm an OpenCL beginner so I really like to see how other people are actually doing OpenCL development. Some notes: * OpenCL code is st
by dragontamer 9y ago
Looks very interesting! I'm an OpenCL beginner so I really like to see how other people are actually doing OpenCL development.
Some notes:
* OpenCL code is stored in strings: https://github.com/gcp/leela-zero/blob/master/src/OpenCL.cpp https://github.com/gcp/leela-zero/blob/master/src/OpenCL.cpp
* OpenCL Build Flags are: m_program.build("-cl-mad-enable -cl-fast-relaxed-math -cl-no-signed-zeros -cl-denorms-are-zero");
Which is telling: I've been struggling with -O2 on my AMD R9 290x, but it seems common knowledge that the AMD OpenCL optimizer is basically unusable. No -O2 to be found here. I guess that's how people have been dealing with that issue...