So this is not news - there was 1 core, and it was loaded, and now there are two cores, the load has decreased by half.... Most likely, the changes are more significant and the comparison is not correct.
To understand the reasons of acceleration it is not enough to look at the number of cores, you should also look at the architecture of calculations.
Dmitriy Gizlyk: To understand the reasons for acceleration, it is not enough to look at the number of cores, you must also look at the computing architecture.
I agree. I didn't understand why 4 vectors were parallelised instead of 2?
So this is not news - there was 1 core, and it was loaded, and now there are two cores, the load has decreased by half.... Most likely the changes are more significant and the comparison is not correct.
More efficient memory allocation can be, a core gets data in full at once, without redistribution. It turns out to be faster. But for some tasks it may be slower when kernel calculations are resource-intensive.
More efficient memory allocation can be, the kernel gets the data in full at once, without reallocation. It turns out to be faster. But for some tasks it may be slower when kernel calculations are resource-intensive.
Thanks for the series of articles, interesting and informative. But how to train the network, something I do not get. I have already run it several times on the EURUSD chart. Forecast grows and then starts to fall. Has anyone already trained the network?
Two vectors of 4 elements each are parallelised. Vectors inp (initial data) and weight (weights). Four elements were written into each and then multiplied in dot
I.e. due to sequential multiplication operation there is an increase? After all, two vectors are parallelised, in which 4 (conditionally) multiplications are performed sequentially in each vector?
I.e. due to sequential multiplication operation there is an increase? After all, two vectors are parallelised, in which 4 (conditionally) multiplications are performed sequentially in each vector?
Using vector operations allows you to perform the product of 4 elements in parallel rather than sequentially. Look at the video https://ru.coursera.org/lecture/parallelnoye-programmirovaniye/4-1-chto-takoie-viektorizatsiia-i-zachiem-ona-nuzhna-f8lh3. It's about OpenMP, but the meaning is the same.
Video created by Национальный исследовательский Томский государственный университет for the course "Введение в параллельное программирование с использованием OpenMP и MPI". Приветствуем вас на четвертой неделе курса! На этой недели мы разберемся ...
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.
So this is not news - there was 1 core, and it was loaded, and now there are two cores, the load has decreased by half.... Most likely, the changes are more significant and the comparison is not correct.
To understand the reasons for acceleration, it is not enough to look at the number of cores, you must also look at the computing architecture.
I agree. I didn't understand why 4 vectors were parallelised instead of 2?
So this is not news - there was 1 core, and it was loaded, and now there are two cores, the load has decreased by half.... Most likely the changes are more significant and the comparison is not correct.
More efficient memory allocation can be, a core gets data in full at once, without redistribution. It turns out to be faster. But for some tasks it may be slower when kernel calculations are resource-intensive.
Agreed. Here I didn't understand why 4 vectors were then parallelised and not 2?
2 vectors of 4 elements each were parallelised. Vectors inp and weight. They put four elements in each and then multiplied them in dot.
Dimitri thanks for the reply.
More efficient memory allocation can be, the kernel gets the data in full at once, without reallocation. It turns out to be faster. But for some tasks it may be slower when kernel calculations are resource-intensive.
Maybe.
Two vectors of 4 elements each are parallelised. Vectors inp (initial data) and weight (weights). Four elements were written into each and then multiplied in dot
I.e. due to sequential multiplication operation there is an increase? After all, two vectors are parallelised, in which 4 (conditionally) multiplications are performed sequentially in each vector?
I.e. due to sequential multiplication operation there is an increase? After all, two vectors are parallelised, in which 4 (conditionally) multiplications are performed sequentially in each vector?
Using vector operations allows you to perform the product of 4 elements in parallel rather than sequentially. Look at the video https://ru.coursera.org/lecture/parallelnoye-programmirovaniye/4-1-chto-takoie-viektorizatsiia-i-zachiem-ona-nuzhna-f8lh3. It's about OpenMP, but the meaning is the same.