dolphin/Externals/CLRun/include/clrun.h
Orphis 685bae34e5 Dynamically load OpenCL on Windows with CLRun. There shouldn't be the need to make a separate build now or download a big SDK to link Dolphin.
If compilation fails, rebuild the whole solution as Visual Studio struggles with the not so complex project dependencies.
ATI users still need to install the Stream SDK as it's the only way to have an OpenCL driver.
NVidia users just have to install a recent driver (version 197 is tested and working).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5808 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-29 02:23:09 +00:00

25 lines
347 B
C

#ifndef __CLRUN_H
#define __CLRUN_H
/*#ifdef _WIN32
#ifdef CLRUN_COMPILE
#define EXPORTED __declspec(dllexport)
#else
#define EXPORTED __declspec(dllimport)
#endif
#else*/
#define EXPORTED
//#endif
#ifdef __cplusplus
extern "C" {
#endif
extern EXPORTED int clrInit();
extern EXPORTED int clrHasOpenCL();
#ifdef __cplusplus
};
#endif
#endif