https://github.com/haxpor/opencl-simple
Testing ground of OpenCL 1.2 with its C++ API accompanying article on MQL5.com
https://github.com/haxpor/opencl-simple
cpp17 metatrader-5 mt5 opencl
Last synced: 10 days ago
JSON representation
Testing ground of OpenCL 1.2 with its C++ API accompanying article on MQL5.com
- Host: GitHub
- URL: https://github.com/haxpor/opencl-simple
- Owner: haxpor
- License: gpl-3.0
- Created: 2023-02-09T22:24:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-27T11:34:00.000Z (about 3 years ago)
- Last Synced: 2025-01-20T07:41:57.606Z (over 1 year ago)
- Topics: cpp17, metatrader-5, mt5, opencl
- Language: C++
- Homepage: https://www.mql5.com/en/articles/12108
- Size: 56.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# opencl-simple
Testing ground of OpenCL 1.2 with its C++ API
It contains two categories of testing
1. standalonetest
2. simple
`standalonetest` is a simple cross-compiled executable to test using GPU with OpenCL in order to
execute a kernel function.
`simple` is a DLL + main program as a cross-compiled to test on Linux/Windows, and MT5 platform.
# Pre-requisite
Install the following debian-based package
* `mingw-w64`
* `winehq-devel` (or `winehq-stable` or `winehq-staging`, but recommend to use `-devel` package with MT5)
* MetaTrader 5
# How to build
See `README.md` of each sub-project.
# Note
Those `.dll` files in each directory is a sym-link file to installed `.dll` via Mingw64, and Wine on
users' Linux system. See following detail.
* `libgcc_s_seh-1.dll` - as part of Mingw64
* `libstdc++-6.dll` - as part of Mingw64
* `libwinpthread-1.dll` - as part of Mingw64
Those symlink files points to the wine prefix as of `~/.mt5` which is the default
installation path of MetaTrader 5. In case you install into different path, you
have to update its location via the following command line.
```
ln -sf ./libgcc_s_seh-1.dll
```
to update path that symlink file `libgcc_s_seh-1.dll` would be pointing to to ``.
---
This repository accompanies the article series on mql5.com. The first part of the series
can be found [here](https://www.mql5.com/en/articles/12108).
# License
GNU GPL-3.0, Wasin Thonkaew