OpenCL RandomX WIP

This commit is contained in:
XMRig 2019-09-11 15:48:02 +07:00
parent ff89ec660c
commit 4c90f9960e
72 changed files with 1717 additions and 505 deletions

View file

@ -28,9 +28,10 @@
#include "backend/opencl/OclLaunchData.h"
#include "backend/opencl/wrappers/OclDevice.h"
#include "base/tools/Object.h"
typedef struct _cl_context *cl_context;
using cl_context = struct _cl_context *;
namespace xmrig {
@ -39,6 +40,8 @@ namespace xmrig {
class OclContext
{
public:
XMRIG_DISABLE_COPY_MOVE(OclContext)
OclContext() = default;
OclContext(const OclDevice &device);
~OclContext();