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);
}