OpenCL: internal implementation tests in MQL5 - page 68

 

Hello! Let me bring up a topic... Is there any hope for the possibility of using OpenCL in the strategy tester soon? Or is there no change and I don't even think we can wait for it this year?

 
MigVRN:

Hello! Let me bring up a topic... Is there any hope that soon it will be possible to use OpenCL in the strategy tester? Or everything is unchanged and most likely we can not even wait for this year?

OpenCL in the tester works fine.

Here's on local agents with any regular video card:

FN      0       Tester  22:24:01        Experts\OpenCLExpert.ex5 on EURUSD,H1 from 2013.01.01 00:00 to 2013.01.15 00:00
KH      0       Tester  22:24:01        complete optimization started
FM      0       Tester  22:24:01        size of initial task pack is 512
FG      0       Core 1  22:24:01        agent process started
OD      0       Core 1  22:24:02        connecting to 127.0.0.1:3000
MS      0       Core 1  22:24:02        connected
OI      0       Core 1  22:24:02        authorized (agent build 743)
NL      0       Core 1  22:24:02        OpenCL device: GPU NVIDIA Corporation GeForce GT 640 M with OpenCL 1.1 (2 units, 708 MHz, 2048 Mb, version 307.21)
PR      0       Core 1  22:24:02        common synchronization completed
FJ      0       Core 1  22:24:03        EURUSD: history for 2012 year synchronized
OR      0       Core 1  22:24:03        EURUSD: history for 2013 year synchronized
QF      0       Core 1  22:24:03        EURUSD: history synchronization completed [2091 Kb]
In cludes and remote agents without Nvidia Tesla-type cards (specialised calculation cards without graphic functions), you will not be able to run OpenCL.
 
Renat:

OpenCL in the tester works fine.

Ugh... You've made me very happy - thank you!!!

Can you advise - why in debugging CLContextCreate(CL_USE_ANY)functionworks fine, but in tester it outputs error 4806 (Requested data not found).

 

Here's a more detailed description of the problem...

 
Renat:

OpenCL works fine in tester.

Probably, not many people are interested, but nevertheless... I made a request to Service Desk describing the problem (CLContextCreate() function does not work in the tester, i.e. OpenCL does not work in the tester). Here is the answer:

Support Team 2013.01.21 10:04

OpenCL in agents will work in the next build

So, OpenCL does not work in the tester yet - we will look forward to the next build :)

Общайтесь с разработчиками через Сервисдеск!
Общайтесь с разработчиками через Сервисдеск!
  • www.mql5.com
Ваше сообщение сразу станет доступно нашим отделам тестирования, технической поддержки и разработчикам торговой платформы.
 

A useful resource for comparing graphics cards (if you're undecided about which one to buy for computing).

My attraction to the HD 7950 clearly increased when I saw that even the GTX 680 is clearly inferior to it in computation (with quite a comparable number of shaders).

CompuBench - OpenCL Device Comparison
CompuBench - OpenCL Device Comparison
  • clbenchmark.com
300.83 301.10 301.24 301.25 301.32 301.33 301.40 301.42 302.59 304.48 304.79 305.37 305.53 306.02 306.23 306.94 306.97 310.54 310.61 310.64 310.70 310.90 311.06 313.95 313.96 314.07 314.14...
 
Renat:

In cludes and remote agents without Nvidia Tesla type cards (specialised calculation cards without graphics functions) OpenCL cannot be run.

Please help. I have metaTester64 installed, Quadro4000 in the first slot, Tesla C2070 in the third slot. Total of 4 PCIEx 16 slots, Tyan S7025WAGM2NR motherboard.

I have 16 agents running on Xeons E5540, no embedded video cores, the agents themselves work on the cpu cores, I have a log of one of them:

LL      0       Startup 15:15:54        access rights to common directory successfully checked
RF      0       Startup 15:15:54        Service start initialized
PL      0       Startup 15:15:54        Create startup thread
DR      0       Startup 15:15:54        Thread successfully created
OD      0       Startup 15:15:54        Delay for 61 secs [system uptime: 164 secs]
FP      0       Startup 15:16:55        MetaTester 5 x64 build 773 (22 Feb 2013)
DE      0       Server  15:16:55        MetaTester 5 started on 0.0.0.0:2000
GN      2       OpenCL  15:16:55        OpenCL not found, install the latest video driver for better performance
NG      0       Startup 15:16:55        initialization finished
JL      0       Startup 15:16:55        Startup thread finished successfully
RE      0       Network 15:22:01        connected to 1.agents.mql5.com
GQ      0       Network 15:22:02        authorized on 1.agents.mql5.com
.....

Drivers put 310.90, 311.15, last stand 314.07. In logs same thing. GPU-Z.0.6.7 shows OpenCL support for both cards. The CUDA applications run without any problems at all, in addition it is possible to select the Quadra or the Tesla or both at once. I don't load agents locally as I am not involved in trading yet.

In the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors\ nvopencl.dll REG_DWORDS value 0

I don't know where to look and what to correct so that agents start using tesla?

Ready to give full access to the workstation via TeamViewer for debugging, for example. Win7x64_Ult_rtl. Contacts in the profile. Left a request in the service-desk.

(And happy Feb. 23rd to all! :) )

TYAN - ?ProductType=MB&pid=641&SKU=600000040
  • www.tyan.com
Plug and Play (PnP) /PCI2.3 /WfM2.0 /SMBIOS2.3 /PXE boot / ACPI 2.0 power management /Power on mode after power recovery / User-configurable H/W monitoring /...
 

The latest version of MT5 kills the video card driver on startup, which is restarted by the winnas with an error message ("the driver has been stopped but restarted"). This has started to happen all the time when starting MT5. It doesn't happen with MT4 startup.

DELL XPS1331, Windows 7 Ultimate, 32-bit, NVIDIA GeForce 8400M GS, Driver version: 314.07


What can I do?

Документация по MQL5: Стандартные константы, перечисления и структуры / Коды ошибок и предупреждений / Ошибки компиляции
Документация по MQL5: Стандартные константы, перечисления и структуры / Коды ошибок и предупреждений / Ошибки компиляции
  • www.mql5.com
Стандартные константы, перечисления и структуры / Коды ошибок и предупреждений / Ошибки компиляции - Документация по MQL5
 
tycoon:

What can be done?

Option 1:
Delete or rename the registry branch
HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors
This will completely disable OpenCL support on your computer

Option 2:
You can wait for next update, terminal will use OpenCL devices from version 1.1
NVIDIA GeForce 8400M GS will be ignored as it is an OpenCL version 1.0 device
 
mql5:
Option 1:
Delete or rename the registry branch
HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors
This will completely disable OpenCL support on your computer

Option 2:
You can wait for another update, the terminal will use OpenCL devices from version 1.1
NVIDIA GeForce 8400M GS will be ignored as it is a device with OpenCL version 1.0
Thank you, the first option solved the problem.
Reason: