1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-13 01:52:50 -05:00

Added initial OpenCL stub.

This commit is contained in:
XMRig
2019-08-13 01:44:52 +07:00
parent a9103dd1ae
commit 36da54b8ce
28 changed files with 6788 additions and 1 deletions

View File

@@ -139,6 +139,9 @@ void xmrig::Api::exec(IApiRequest &request)
# endif
# ifdef XMRIG_FEATURE_TLS
features.PushBack("tls", allocator);
# endif
# ifdef XMRIG_FEATURE_OPENCL
features.PushBack("opencl", allocator);
# endif
request.reply().AddMember("features", features, allocator);
}