mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Change-Id: Ie9d67c1d883f24cfec13ea1618d834d746c0d5be Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
22 lines
632 B
C++
22 lines
632 B
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "opencl/source/helpers/hardware_commands_helper.h"
|
|
#include "opencl/source/mem_obj/buffer.h"
|
|
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
|
#include "opencl/test/unit_test/mocks/mock_kernel.h"
|
|
#include "test.h"
|
|
|
|
using namespace NEO;
|
|
|
|
using Gen9KernelTest = Test<ClDeviceFixture>;
|
|
GEN9TEST_F(Gen9KernelTest, givenKernelWhenCanTransformImagesIsCalledThenReturnsTrue) {
|
|
MockKernelWithInternals mockKernel(*pClDevice);
|
|
auto retVal = mockKernel.mockKernel->Kernel::canTransformImages();
|
|
EXPECT_TRUE(retVal);
|
|
}
|