mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Change namespace from OCLRT to NEO
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
@ -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);
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user