Added basic cn/gpu support.

This commit is contained in:
XMRig 2019-09-08 08:59:17 +07:00
parent 3d3a32087f
commit 859626cbe3
21 changed files with 1544 additions and 91 deletions

View file

@ -29,10 +29,10 @@
#include "base/tools/String.h"
typedef struct _cl_command_queue *cl_command_queue;
typedef struct _cl_kernel *cl_kernel;
typedef struct _cl_mem *cl_mem;
typedef struct _cl_program *cl_program;
using cl_command_queue = struct _cl_command_queue *;
using cl_kernel = struct _cl_kernel *;
using cl_mem = struct _cl_mem *;
using cl_program = struct _cl_program *;
namespace xmrig {