Change namespace from OCLRT to NEO

Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2019-03-26 11:59:46 +01:00
parent 31e6005fa3
commit 9e52684f5b
1567 changed files with 3459 additions and 4009 deletions

View File

@@ -11,7 +11,7 @@
#include "gtest/gtest.h"
using namespace OCLRT;
using namespace NEO;
extern GFXCORE_FAMILY renderCoreFamily;
@@ -40,15 +40,15 @@ struct MockProgramRecordUnhandledTokens : public Program {
inline cl_int GetDecodeErrorCode(const std::vector<char> &binary, bool allowUnhandledTokens,
int defaultUnhandledTokenId, int &foundUnhandledTokenId) {
OCLRT::ExecutionEnvironment executionEnvironment;
NEO::ExecutionEnvironment executionEnvironment;
using PT = MockProgramRecordUnhandledTokens;
std::unique_ptr<PT> prog;
cl_int errorCode = CL_INVALID_BINARY;
prog.reset(OCLRT::Program::createFromGenBinary<PT>(executionEnvironment,
nullptr,
binary.data(),
binary.size(),
false, &errorCode));
prog.reset(NEO::Program::createFromGenBinary<PT>(executionEnvironment,
nullptr,
binary.data(),
binary.size(),
false, &errorCode));
prog->allowUnhandledTokens = allowUnhandledTokens;
prog->lastUnhandledTokenFound = defaultUnhandledTokenId;
auto ret = prog->processGenBinary();