Kaydet (Commit) 3f317dbe authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Make it compile in the DISABLE_DYNLOADING case

Change-Id: I360ec27ff268b7189af2f001806c9af5806953a5
üst 74038150
......@@ -29,7 +29,7 @@
#ifdef DISABLE_DYNLOADING
extern "C" size_t getOpenCLPlatformCount(void);
extern "C" void fillOpenCLInfo(OpenclPlatformInfo*, size_t);
extern "C" void fillOpenCLInfo(sc::OpenclPlatformInfo*, size_t);
extern "C" bool switchOpenClDevice(const OUString*, bool);
extern "C" sc::FormulaGroupInterpreter* createFormulaGroupOpenCLInterpreter();
extern "C" void compileOpenCLKernels(const OUString*);
......@@ -417,7 +417,7 @@ void FormulaGroupInterpreter::fillOpenCLInfo(std::vector<OpenclPlatformInfo>& rP
return;
std::vector<OpenclPlatformInfo> aPlatforms(nPlatforms);
fillOpenCLInfo(&aPlatforms[0], aPlatforms.size());
::fillOpenCLInfo(&aPlatforms[0], aPlatforms.size());
rPlatforms.swap(aPlatforms);
#endif
}
......@@ -497,8 +497,7 @@ void FormulaGroupInterpreter::compileOpenCLKernels()
reinterpret_cast<__compileOpenCLKernels>(fn)(&rConfig.maOpenCLDevice);
#else
compileOpenCLKernels(&rConfig.maOpenCLDevice);
::compileOpenCLKernels(&rConfig.maOpenCLDevice);
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment