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,11 +11,11 @@
#include "unit_tests/helpers/debug_manager_state_restore.h"
#include "unit_tests/helpers/gtest_helpers.h"
using namespace OCLRT;
using namespace NEO;
namespace OCLRT {
namespace NEO {
bool getDevices(HardwareInfo **hwInfo, size_t &numDevicesReturned, ExecutionEnvironment &executionEnvironment);
} // namespace OCLRT
} // namespace NEO
TEST(CSRTests, getDevices) {
HardwareInfo *hwInfo = nullptr;
@ -24,7 +24,7 @@ TEST(CSRTests, getDevices) {
DebugManagerStateRestore dbgState;
DebugManager.flags.SetCommandStreamReceiver.set(2);
ExecutionEnvironment executionEnvironment;
OCLRT::getDevices(&hwInfo, numDevicesReturned, executionEnvironment);
NEO::getDevices(&hwInfo, numDevicesReturned, executionEnvironment);
ASSERT_NE(nullptr, hwInfo);
ASSERT_NE(nullptr, hwInfo->pSysInfo);

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 Intel Corporation
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -7,6 +7,6 @@
#include "unit_tests/tests_configuration.h"
namespace OCLRT {
namespace NEO {
TestMode testMode = TestMode::TbxTests;
} // namespace OCLRT
} // namespace NEO