1. the complication of algorithms and memory overruns from the application
2. and you want to be able to offset at the copy stage.
So you don't have to copy 100000 elements and then do 998000 offsets.
3. But we should leave the variant with offset, which we have now, because it allows us not to copy one and the same data many times, but to take them for a new task from an already existing CL-buffer with a new offset.
1. no. I don't like wasting time on extra copying. Although, if we use float, we will have to copy into the gap anyway.
Will there be an article on OpenCL? I haven't gotten close to this topic in practice yet, but it would be very interesting to read it in perspective. Or at least a couple of example scripts in the help on how to use it. There's not enough information to go around.
I managed to get x200x speed increase on my card compared to a single CPU core.
2012.03.0423:01:32 ParallelTester_00-01 x (EURUSD,D1) CpuTime/GpuTime = 216.02923976608192012.03.0423:01:32 ParallelTester_00-01 x (EURUSD,D1) Result on Cpu МахResult==1.3431 at 819 pass
2012.03.0423:01:32 ParallelTester_00-01 x (EURUSD,D1) Соunt inticators = 16; Count history bars = 144000; Count pass = 12802012.03.0423:01:32 ParallelTester_00-01 x (EURUSD,D1) CPU time = 36941 ms
2012.03.0423:00:55 ParallelTester_00-01 x (EURUSD,D1) Result on Gpu МахResult==1.3431 at 819 pass
2012.03.0423:00:55 ParallelTester_00-01 x (EURUSD,D1) Соunt inticators = 16; Count history bars = 144000; Count pass = 12802012.03.0423:00:55 ParallelTester_00-01 x (EURUSD,D1) GPU time = 171 ms
2012.03.0423:00:55 ParallelTester_00-01 x (EURUSD,D1) OpenCL init OK!
Please test and post results.
CPU: AuthenticAMD AMD Phenom(tm) II X6 1100 T Processor with OpenCL 1.1 (6 units, 3311 MHz, 16345 Mb, version2.0)
GPU: Advanced Micro Devices, Inc. Cayman with OpenCL 1.1 (20 units, 750 MHz, 1024 Mb, version CAL 1.4.1664 (VM))
If card is not pulling memory, reduce history (CountBars) or number of passes (CountPass) which is less desirable.
2012.03.0422:24:07 ParallelTester_00-01 x (EURUSD,D1) OpenCL init OK!
2012.03.0422:24:08 ParallelTester_00-01 x (EURUSD,D1) GPU time = 1513 ms
2012.03.0422:24:08 ParallelTester_00-01 x (EURUSD,D1) Соunt inticators = 16; Count history bars = 144000; Count pass = 12802012.03.0422:24:08 ParallelTester_00-01 x (EURUSD,D1) Result on Gpu МахResult==1.80839 at 1002 pass
2012.03.0422:24:52 ParallelTester_00-01 x (EURUSD,D1) CPU time = 44055 ms
2012.03.0422:24:52 ParallelTester_00-01 x (EURUSD,D1) Соunt inticators = 16; Count history bars = 144000; Count pass = 12802012.03.0422:24:52 ParallelTester_00-01 x (EURUSD,D1) Result on Cpu МахResult==1.80839 at 1002 pass
2012.03.0422:24:52 ParallelTester_00-01 x (EURUSD,D1) CpuTime/GpuTime = 29.11764705882353
2012.03.0423:23:30 ParallelTester_00-01 x (EURUSD,D1) CpuTime/GpuTime = 133.82857142857142012.03.0423:23:30 ParallelTester_00-01 x (EURUSD,D1) Result on Cpu МахResult==1.24101 at 1079 pass
2012.03.0423:23:30 ParallelTester_00-01 x (EURUSD,D1) Соunt inticators = 16; Count history bars = 144000; Count pass = 12802012.03.0423:23:30 ParallelTester_00-01 x (EURUSD,D1) CPU time = 18736 ms
2012.03.0423:23:11 ParallelTester_00-01 x (EURUSD,D1) Result on Gpu МахResult==1.24101 at 1079 pass
2012.03.0423:23:11 ParallelTester_00-01 x (EURUSD,D1) Соunt inticators = 16; Count history bars = 144000; Count pass = 12802012.03.0423:23:11 ParallelTester_00-01 x (EURUSD,D1) GPU time = 140 ms
2012.03.0423:23:11 ParallelTester_00-01 x (EURUSD,D1) OpenCL init OK!
2012.03.0423:21:47 Terminal CPU: GenuineIntel Intel(R) Core(TM) i7-2600 CPU @ 3.40 GHz with OpenCL 1.1 (8 units, 3392 MHz, 16366 Mb, version2.0)
2012.03.0423:21:47 Terminal GPU: Advanced Micro Devices, Inc. Barts with OpenCL 1.1 (14 units, 900 MHz, 1024 Mb, version CAL 1.4.1664 (VM))
Amazingly, on a single core, the i7 is twice as fast as the X6 1100T - at comparable frequencies (the i7 is around 3.8 GHz, the 1100T is 3.7). It's understandable that these are such calculations, but the difference in CPU speed on a low thread is monstrous.
Mathemat: It's amazing that on a single core the i7 runs 2 times faster than the X6 1100T - at comparable frequencies (the i7 is around 3.8 GHz, the 1100T is 3.7). It's understandable that this is such computing, but the difference in CPU speed on a low thread is monstrous.
Doing a lot of thinking, reading google.
I've been scratching my head.
Either they have the most advanced mql-compiler-optimizer clamped for themselves and don't give it to us, or I don't know anymore.
It doesn't work like that. "I don't believe it!" (c) KSS.
And most likely they have codogenerator optimized for Intel.
2012.03.0502:03:33 ParallelTester_00-01 x (EURUSD,D1) OpenCL init OK!
2012.03.0502:03:33 ParallelTester_00-01 x (EURUSD,D1) GPU time = 234 ms
2012.03.0502:03:33 ParallelTester_00-01 x (EURUSD,D1) Соunt inticators = 16; Count history bars = 144000; Count pass = 12802012.03.0502:03:33 ParallelTester_00-01 x (EURUSD,D1) Result on Gpu МахResult==1.03434 at 315 pass
2012.03.0502:04:01 ParallelTester_00-01 x (EURUSD,D1) CPU time = 27471 ms
2012.03.0502:04:01 ParallelTester_00-01 x (EURUSD,D1) Соunt inticators = 16; Count history bars = 144000; Count pass = 12802012.03.0502:04:01 ParallelTester_00-01 x (EURUSD,D1) Result on Cpu МахResult==1.03434 at 315 pass
2012.03.0502:04:01 ParallelTester_00-01 x (EURUSD,D1) CpuTime/GpuTime = 117.3974358974359
Установи GeForce в свой ПК для максимальной производительности и разгони свою цифровую жизнь. Смотри потоковые HD фильмы и выводи фотографии высокого разрешения без задержек. Создай дома 3D кинотеатр с помощью Blu-Ray 3D™ и NVIDIA® GeForce®. Разгони свои любимые приложения и раздвинь границы возможностей интернет с новым поколением браузеров с...
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Yeah, I think I get it, you're not satisfied with
1. the complication of algorithms and memory overruns from the application
2. and you want to be able to offset at the copy stage.
So you don't have to copy 100000 elements and then do 998000 offsets.
3. But we should leave the variant with offset, which we have now, because it allows us not to copy one and the same data many times, but to take them for a new task from an already existing CL-buffer with a new offset.
1. no. I don't like wasting time on extra copying. Although, if we use float, we will have to copy into the gap anyway.
2. Yes.
3. Yes.
First pancakes: https://www.mql5.com/ru/forum/138292/page7#601897
Nice. Impressive. Delicious pancakes.
//---
Will there be an article on OpenCL? I haven't gotten close to this topic in practice yet, but it would be very interesting to read it in perspective. Or at least a couple of example scripts in the help on how to use it. There's not enough information to go around.
I managed to get x200x speed increase on my card compared to a single CPU core.
Please test and post results.
If card is not pulling memory, reduce history (CountBars) or number of passes (CountPass) which is less desirable.
Trailer of multichannel tester
My result, an acceleration of 133 times:
It's amazing that on a single core the i7 runs 2 times faster than the X6 1100T - at comparable frequencies (the i7 is around 3.8 GHz, the 1100T is 3.7). It's understandable that this is such computing, but the difference in CPU speed on a low thread is monstrous.
Doing a lot of thinking, reading google.
I've been scratching my head.
Either they have the most advanced mql-compiler-optimizer clamped for themselves and don't give it to us, or I don't know anymore.
It doesn't work like that. "I don't believe it!" (c) KSS.
And most likely they have codogenerator optimized for Intel.
It's an outrage anyway! I'll complain to the UN.
I couldn't find a line about the CPU in the logs for some reason.
Intel Celeron G530 2.4GHz
Here's where I don't get it:
I have a GeForce GT 440 with OpenCL 1.1 (2 units, 1660 MHz, 1024 Mb, version 295.73) GPU time = 1513 ms
I have GeForce GT 520 with OpenCL 1.1 (1 units, 1620 MHz, 512 Mb, version 285.62) GPU time = 234 ms
How is this possible?
Here GeForce GT 440 and here GeForce GT 520 compared specifications, mine is by all parameters more, but the runtime is 6.5 times more.