OpenCL device problem in Strategy Tester

 

I've been learning mql5 & OpenCL for some time.

And I met a problem with OpenCL devices in the strategy tester.

When I start MetaTrader5 on my PC. I can see the following log message in the "Journal" toolbox:

08:22:15.089    OpenCL    Device #0: CPU Intel(R) Corporation Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz with OpenCL 1.2 (4 units, 3200 MHz, 7085 Mb, version 4.2.0.99, rating 93)
08:22:15.089    OpenCL    Device #1: GPU Intel(R) Corporation Intel(R) HD Graphics 4600 with OpenCL 1.2 (20 units, 400 MHz, 580 Mb, version 10.18.10.3960, rating 184)
08:22:15.089    OpenCL    Device #2: CPU Intel(R) Corporation Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz with OpenCL 2.0 (4 units, 3200 MHz, 7085 Mb, version 4.6.0.92, rating 110)

(In fact, Device #2 is the same as Device #0.)

However, when I'm doing optimization using the strategy tester. The agent's log shows no CPU device at all:

LO    0    20:49:42.657    OpenCL    Device #0: GPU Intel(R) Corporation Intel(R) HD Graphics 4600 with OpenCL 1.2 (20 units, 400 MHz, 580 Mb, version 10.18.10.3960, rating 184)

Only Intel's GPU is available, and its device number becomes #0. Which means I can't use my CPU as OpenCL device during strategy testing and if I use GPU I should change device number.

I don't know why MetaTrader and TesterAgent see such different OpenCL device lists.

Does anyone else also meet this kind of problem? Or maybe CPU devices are forbidden in strategy tester for some reason?