Errors, bugs, questions - page 1031
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I notice that only 3 out of 8 agents can run at the same time when receiving tasks from the cloud.
Although if you run your test in parallel, the other agents are also enabled.
Is this the way it should be?
I had all six working until I disabled one a couple of days ago - the CPU was overheating (it's hot in the room). Now five are working, flight is normal.
Sorry, false alarm :)
It's just that there are only 3 agents running, but they're bouncing around on different cores.
Somehow missed the ability of the system to distribute the load evenly...
.............
How's it going in there?
I can't reproduce your situation for a simple reason: I don't have a :
One of OpenCL devices has a driver bug and terminal crashes when trying to use it.
Refer to [HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors] registry branch to guess which OpenCL devices you have.
It is recommended to find updates for them.
Strange, updated the drivers. After the update two terminals started without any problems, then started giving this error again.
(nvidia geforce 710m version 320.49)
Terminal OpenCL initialization skipped due to critical error, please update OpenCL drivers
How can you check if the driver works or not in any other way?
Downloaded intel_sdk_for_ocl_applications_2013_x64 It seems to work now.
2013.08.05 09:15:38 OpenCL Device #1: NVIDIA Corporation GeForce 710M GPU with OpenCL 1.1 (2 units, 1550 MHz, 1024 Mb, version 320.49, rating 181)
2013.08.05 09:15:38 OpenCL Device #0: Intel(R) Corporation Intel(R) Pentium(R) CPU B960 @ 2.20GHz with OpenCL 1.2 (2 units, 2200 MHz, 2885 Mb, version 1.2, rating 13)
Any single character enclosed in single quotes or hexadecimal ASCII character code as '\x10' is a character constant and is of type ushort.
The question then arises why the compiler cannot distinguish ushort from int - without any explicit indication?From the MQL5 Reference:
Any single character enclosed in single quotes or hexadecimal ASCII character code as '\x10' is a character constant and is of type ushort.
The question arises why the compiler cannot distinguish between ushort and int, without explicit indication?You are reading the documentation too selectively
Basics of Language - Data Types - Type conversion
The char, uchar, short and ushort data types are unconditionally converted to the int type in operations.
Correctly, you should leave only one, int, overloaded operation. Otherwise, you can get a lot of all sorts of random effects
You are reading the documentation too selectively
Language basics - data types - type conversion
Nothing is given here - everything works.
The question is that '5' is of the ushort type
They are cast only in those places where it is necessary.
Nothing is given here - everything works.
The issue is that '5' is of the ushort type.