Skip to content

Commit

Permalink
Merge pull request #463 from stweil/opencl
Browse files Browse the repository at this point in the history
opencl: Move declaration of MORPH_BC from .h to .cpp file
  • Loading branch information
zdenop committed Nov 1, 2016
2 parents 1dbc8c1 + 1a0aada commit 8972c0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions opencl/openclwrapper.cpp
Expand Up @@ -47,6 +47,8 @@ ds_device OpenclDevice::selectedDevice;

int OpenclDevice::isInited = 0;

static l_int32 MORPH_BC = ASYMMETRIC_MORPH_BC;

static const l_uint32 lmask32[] = {
0x80000000, 0xc0000000, 0xe0000000, 0xf0000000,
0xf8000000, 0xfc000000, 0xfe000000, 0xff000000,
Expand Down
3 changes: 0 additions & 3 deletions opencl/openclwrapper.h
Expand Up @@ -171,9 +171,6 @@ typedef struct _OpenCLEnv
} OpenCLEnv;
typedef int ( *cl_kernel_function )( void **userdata, KernelEnv *kenv );


static l_int32 MORPH_BC = ASYMMETRIC_MORPH_BC;

#define CHECK_OPENCL(status,name) \
if( status != CL_SUCCESS ) \
{ \
Expand Down

0 comments on commit 8972c0e

Please sign in to comment.