mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
ULT renaming: OpenCL API tests
Related-To: NEO-2236 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
8b89fb8541
commit
372081b9df
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
* Copyright (C) 2017-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@ -319,7 +319,7 @@ TEST_F(IntelMotionEstimationGetInfoTest, GivenDescriptorLengthZeroAndDescriptorN
|
||||
EXPECT_EQ(sizeof(cl_motion_estimation_desc_intel), param_value_size_ret);
|
||||
}
|
||||
|
||||
TEST_F(IntelMotionEstimationGetInfoTest, getInfoTypeExpectPass) {
|
||||
TEST_F(IntelMotionEstimationGetInfoTest, GivenAcceleratorTypeWhenGettingAcceleratorInfoThenAcceleratorTypeMotionEstimationIntelIsReturned) {
|
||||
ASSERT_EQ(sizeof(cl_accelerator_type_intel), sizeof(cl_uint));
|
||||
|
||||
result = clGetAcceleratorInfoINTEL(
|
||||
|
@ -136,7 +136,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, clMemLocallyUncachedResourceFixture, GivenAtLeastOne
|
||||
EXPECT_FALSE(kernel->hasUncacheableStatelessArgs());
|
||||
}
|
||||
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, clMemLocallyUncachedResourceFixture, givenBuffersThatAreUncachedInSurfaceStateWhenStatelessIsProgrammedItIsCached) {
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, clMemLocallyUncachedResourceFixture, givenBuffersThatAreUncachedInSurfaceStateWhenStatelessIsProgrammedThenItIsCached) {
|
||||
cl_int retVal = CL_SUCCESS;
|
||||
|
||||
MockKernelWithInternals mockKernel(*this->pClDevice, context, true);
|
||||
@ -291,7 +291,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, clMemLocallyUncachedResourceFixture, givenBuffersTha
|
||||
EXPECT_FALSE(kernel->hasUncacheableStatelessArgs());
|
||||
}
|
||||
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, clMemLocallyUncachedResourceFixture, WhenUnsettingUncacheableResourceFromKernelThanKernelContinuesToCorrectlySetMocs) {
|
||||
HWCMDTEST_F(IGFX_GEN8_CORE, clMemLocallyUncachedResourceFixture, WhenUnsettingUncacheableResourceFromKernelThenKernelContinuesToCorrectlySetMocs) {
|
||||
cl_int retVal = CL_SUCCESS;
|
||||
MockKernelWithInternals mockKernel(*this->pClDevice, context, true);
|
||||
auto kernel = mockKernel.mockKernel;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
* Copyright (C) 2017-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@ -33,7 +33,7 @@ TEST_F(clEventTests, GivenNullEventWhenReleasingEventThenClInvalidEventErrorIsRe
|
||||
EXPECT_EQ(CL_INVALID_EVENT, retVal);
|
||||
}
|
||||
|
||||
TEST_F(clEventTests, GivenValidEventWhenReleasingEventTheSuccessIsReturned) {
|
||||
TEST_F(clEventTests, GivenValidEventWhenReleasingEventThenSuccessIsReturned) {
|
||||
auto *pEvent = new Event(nullptr, 0, 0, 0);
|
||||
ASSERT_NE(nullptr, pEvent);
|
||||
|
||||
|
Reference in New Issue
Block a user