mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-22 23:29:02 +00:00
Port framework changes from master
Now requiring the headers to be configured for OpenCL > 2.1.
This commit is contained in:
@@ -19,6 +19,26 @@
|
||||
#include "compat.h"
|
||||
#include <string>
|
||||
|
||||
enum CompilationMode
|
||||
{
|
||||
kOnline = 0,
|
||||
kBinary,
|
||||
kSpir_v
|
||||
};
|
||||
|
||||
enum CompilationCacheMode
|
||||
{
|
||||
kCacheModeCompileIfAbsent = 0,
|
||||
kCacheModeForceRead,
|
||||
kCacheModeOverwrite
|
||||
};
|
||||
|
||||
extern CompilationMode gCompilationMode;
|
||||
extern CompilationCacheMode gCompilationCacheMode;
|
||||
extern std::string gCompilationCachePath;
|
||||
|
||||
extern int parseCustomParam (int argc, const char *argv[], const char *ignore = 0 );
|
||||
|
||||
extern void parseWimpyReductionFactor(const char *&arg, int &wimpyReductionFactor);
|
||||
|
||||
#endif // _parseParameters_h
|
||||
|
||||
Reference in New Issue
Block a user