mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Remove usage of TestLegacy from opencl tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
44d218e52e
commit
bca852617c
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
void ContextFixture::SetUp(cl_uint numDevices, cl_device_id *pDeviceList) {
|
||||
void ContextFixture::setUp(cl_uint numDevices, cl_device_id *pDeviceList) {
|
||||
auto retVal = CL_SUCCESS;
|
||||
pContext = Context::create<MockContext>(nullptr, ClDeviceVector(pDeviceList, numDevices),
|
||||
nullptr, nullptr, retVal);
|
||||
@ -21,7 +21,7 @@ void ContextFixture::SetUp(cl_uint numDevices, cl_device_id *pDeviceList) {
|
||||
ASSERT_EQ(CL_SUCCESS, retVal);
|
||||
}
|
||||
|
||||
void ContextFixture::TearDown() {
|
||||
void ContextFixture::tearDown() {
|
||||
if (pContext != nullptr) {
|
||||
pContext->release();
|
||||
}
|
||||
|
Reference in New Issue
Block a user