/*1* Vanitygen, vanity bitcoin address generator2* Copyright (C) 2011 <[email protected]>3*4* Vanitygen is free software: you can redistribute it and/or modify5* it under the terms of the GNU Affero General Public License as published by6* the Free Software Foundation, either version 3 of the License, or7* any later version.8*9* Vanitygen is distributed in the hope that it will be useful,10* but WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12* GNU Affero General Public License for more details.13*14* You should have received a copy of the GNU Affero General Public License15* along with Vanitygen. If not, see <http://www.gnu.org/licenses/>.16*/1718#if !defined (__VG_OCLENGINE_H__)19#define __VG_OCLENGINE_H__2021#include "pattern.h"2223typedef struct _vg_ocl_context_s vg_ocl_context_t;2425extern vg_ocl_context_t *vg_ocl_context_new(26vg_context_t *vcp, int platformidx, int deviceidx,27int safe_mode, int verify,28int worksize, int nthreads, int nrows, int ncols,29int invsize);30extern void vg_ocl_context_free(vg_ocl_context_t *vocp);3132extern vg_ocl_context_t *vg_ocl_context_new_from_devstr(33vg_context_t *vcp, const char *devstr, int safemode, int verify)34;3536extern void vg_ocl_enumerate_devices(void);3738#endif /* !defined (__VG_OCLENGINE_H__) */394041