OpenCL: internal implementation tests in MQL5 - page 57

 
As my case has shown, you don't have to delete it at all. It is enough to disable the unnecessary in the registry.
 
joo: As my case has shown, it is not necessary to uninstall. It is enough to disable unnecessary things in the registry.

As a matter of fact, yes.

Andrei, at least show me the results on your i5 - on a clean CPU. I'll be happy for you.

Files:
 
2012.04.21 21:22:59     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       CpuTime/GpuTime = 32.46979038224414
2012.04.21 21:22:59     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       Result on Cpu МахResult==4.17098 at 469 pass
2012.04.21 21:22:59     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       Соunt inticators = 16; Count history bars = 50000; Count pass = 512
2012.04.21 21:22:59     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       CPU time = 26333 ms
2012.04.21 21:22:33     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       Result on Gpu МахResult==4.17098 at 469 pass
2012.04.21 21:22:33     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       Соunt inticators = 16; Count history bars = 50000; Count pass = 512
2012.04.21 21:22:33     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       GPU time = 811 ms
2012.04.21 21:22:32     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       OpenCL init OK!


2012.04.21 21:24:18     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       CpuTime/GpuTime = 3.06352340030194
2012.04.21 21:24:18     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       Result on Cpu МахResult==3.85664 at 271 pass
2012.04.21 21:24:18     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       Соunt inticators = 16; Count history bars = 50000; Count pass = 512
2012.04.21 21:24:18     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       CPU time = 26380 ms
2012.04.21 21:23:52     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       Result on Gpu МахResult==3.85664 at 271 pass
2012.04.21 21:23:52     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       Соunt inticators = 16; Count history bars = 50000; Count pass = 512
2012.04.21 21:23:52     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       GPU time = 8611 ms
2012.04.21 21:23:43     ParallelTester_00-02-416 x7x3j (GBPUSD,H4)       OpenCL init OK!
 

No, not on these, but on the one I attached in the last post. Exactly on it exactly. Posting my result on this script:

2012.04.21 19:32:43    ParallelTester_00-01x (EURUSD,H1)    CpuTime/GpuTime = 83.99644128113879
2012.04.21 19:32:43    ParallelTester_00-01x (EURUSD,H1)    Result on Cpu МахResult==1.26619 at 856 pass
2012.04.21 19:32:43    ParallelTester_00-01x (EURUSD,H1)    Соunt indicators = 16; Count history bars = 144000; Count pass = 1280
2012.04.21 19:32:43    ParallelTester_00-01x (EURUSD,H1)    CPU time = 23603 ms
2012.04.21 19:32:20    ParallelTester_00-01x (EURUSD,H1)    Result on Gpu МахResult==1.26619 at 856 pass
2012.04.21 19:32:20    ParallelTester_00-01x (EURUSD,H1)    Соunt indicators = 16; Count history bars = 144000; Count pass = 1280
2012.04.21 19:32:20    ParallelTester_00-01x (EURUSD,H1)    GPU time = 281 ms
2012.04.21 19:32:19    ParallelTester_00-01x (EURUSD,H1)    OpenCL init OK!
2012.04.21 19:32:19    ParallelTester_00-01x (EURUSD,H1)    CLGetInfoInteger() returned 1

Processor:

2012.04.21 17:51:14    OpenCL    CPU: Intel(R) Corporation  Intel(R) Pentium(R) CPU G840 @ 2.80GHz with OpenCL 1.1 (2 units, 2800 MHz, 8040 Mb, version 1.1)

Files:
 
 2012.04.21 21:38:41	ParallelTester_00-01x__1 (GBPUSD,H4)	CpuTime/GpuTime = 118.7051282051282
2012.04.21 21:38:41	ParallelTester_00-01x__1 (GBPUSD,H4)	Result on Cpu МахResult==1.06083 at 993 pass
2012.04.21 21:38:41	ParallelTester_00-01x__1 (GBPUSD,H4)	Соunt indicators = 16; Count history bars = 144000; Count pass = 1280
2012.04.21 21:38:41	ParallelTester_00-01x__1 (GBPUSD,H4)	CPU time = 18518 ms
2012.04.21 21:38:23	ParallelTester_00-01x__1 (GBPUSD,H4)	Result on Gpu МахResult==1.06083 at 993 pass
2012.04.21 21:38:23	ParallelTester_00-01x__1 (GBPUSD,H4)	Соunt indicators = 16; Count history bars = 144000; Count pass = 1280
2012.04.21 21:38:23	ParallelTester_00-01x__1 (GBPUSD,H4)	GPU time = 156 ms
2012.04.21 21:38:23	ParallelTester_00-01x__1 (GBPUSD,H4)	OpenCL init OK!
2012.04.21 21:38:22	ParallelTester_00-01x__1 (GBPUSD,H4)	CLGetInfoInteger() returned 2

It is strange, your file name seems to be

paralleltester_00-01x.mq5, but saved as ParallelTester_00-01x__1.mq5


2012.04.21 08:31:11     OpenCL  CPU: GenuineIntel  Intel(R) Core(TM) i5-2500 CPU @ 3.30 GHz with OpenCL 1.2 (4 units, 3399 MHz, 8174 Mb, version 2.0 (sse2,avx))
 
joo:

Strange, you have the file name as

paralleltester_00-01x.mq5 but saved as ParallelTester_00-01x__1.mq5

It is nothing strange. It is just that the file with such a name already exists and that is why it adds __1. Where is the test for ParallelTester_00-01x__1.mq5, Andrew?

I see it is very good. A bit worse than I expected (I hoped for 140-150), but still very good. In principle a variation of this ratio within 20-30% is normal (especially if the GPU time is low). By the way, if you, say, do the following:

#define CountPass  1280 * 10

then you can count on another record for CpuTime/GpuTime ratio. Your "theoretical limit" is something around 170-180. For me, at least, it was almost 90, and yours should be twice as much.

 

Mathemat:

#define CountPass 1280 * 10

then you can count on another record for CpuTime/GpuTime ratio. Your "theoretical limit" is something like 170-180. For me, at least, it was almost 90, and for you it should be twice as much.


This is at 1280*10:

2012.04.21 23:31:24     ParallelTester_00-01 x__1 (EURUSD,M5)    GPU time = 344 ms
2012.04.21 23:31:24     ParallelTester_00-01 x__1 (EURUSD,M5)    Соunt indicators = 16; Count history bars = 144000; Count pass = 12800
2012.04.21 23:31:24     ParallelTester_00-01 x__1 (EURUSD,M5)    Result on Gpu МахResult==1.12991 at 9491 pass
2012.04.21 23:34:30     ParallelTester_00-01 x__1 (EURUSD,M5)    CPU time = 185875 ms
2012.04.21 23:34:30     ParallelTester_00-01 x__1 (EURUSD,M5)    Соunt indicators = 16; Count history bars = 144000; Count pass = 12800
2012.04.21 23:34:30     ParallelTester_00-01 x__1 (EURUSD,M5)    Result on Cpu МахResult==1.12991 at 9491 pass
2012.04.21 23:34:30     ParallelTester_00-01 x__1 (EURUSD,M5)    CpuTime/GpuTime = 540.3343023255814

And at 1280*128 I just got tired of waiting and forcibly shut down the script:

2012.04.21 23:40:22     ParallelTester_00-01 x__1 (EURUSD,M5)    GPU time = 2013 ms
2012.04.21 23:40:22     ParallelTester_00-01 x__1 (EURUSD,M5)    Соunt indicators = 16; Count history bars = 144000; Count pass = 131072
2012.04.21 23:40:22     ParallelTester_00-01 x__1 (EURUSD,M5)    Result on Gpu МахResult==1.70906 at 99682 pass
2012.04.21 23:48:48     ParallelTester_00-01 x__1 (EURUSD,M5)    Abnormal termination
 
I was referring to calculations on a bare CPU. Of course, the numbers are higher on a discrete card.
 
Any news on running calculations using OpenCL?
 
casinonsk: Any news on the launch of OpenCL calculations?

Well, finally, we have been waiting for you. If you are ready to experiment, install Intel OpenCL Runtime ( see link for instructions).

Run the script without changing anything in it and post the log from "Experts" tab just like your previous colleagues did. The script will take about 3 minutes to run on your gem, bear with me. At the same time we will see how OpenCL runs on the coolest barebones Sandy Bridge stone.

If you don't have the patience or if you think it's beyond your abilities, that's OK, no offence taken.

P.S. The purpose of this script is to see what a bare CPU can do without any discrete video dragons. I suspect that with Intel Runtime properly inserted, this script will have acceleration around 200 or even slightly higher.

Files: