enable AMD OpenCL sdk for linux too

Fixes Issue 641
This commit is contained in:
erwin.coumans
2012-09-12 16:42:03 +00:00
parent 9a460942a9
commit 73082e995c
6 changed files with 103 additions and 89 deletions

View File

@@ -25,15 +25,13 @@ subject to the following restrictions:
#endif
#else
#ifdef USE_MINICL
#include <MiniCL/cl.h>
#else
#include <CL/cl.h>
#ifdef _WIN32
#include "CL/cl_gl.h"
#endif //_WIN32
#endif
#endif //__APPLE__
#include <MiniCL/cl.h>
#else
#include <CL/cl.h>
#include <CL/cl_gl.h>
#endif
#endif //__APPLE__
#include <assert.h>
#include <stdio.h>
#define oclCHECKERROR(a, b) if((a)!=(b)) { printf("OCL Error : %d\n", (a)); assert((a) == (b)); }