mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
unit_test/helpers/cmd_buffer_validator.h -> common/helpers unit_test/helpers/gtest_helpers.h -> common/helpers common/helpers/blit_commands_helper_tests.inl -> unit_test/helpers common/helpers/simd_helper_tests.inl -> unit_test/helpers common/helpers/simd_helper_tests_pvc_and_later.inl -> unit_test/helpers common/helpers/state_base_address_tests.h -> unit_test/helpers Related-To: NEO-6524 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
21 lines
632 B
C++
21 lines
632 B
C++
/*
|
|
* Copyright (C) 2019-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/helpers/hw_helper.h"
|
|
#include "shared/test/common/test_macros/test.h"
|
|
|
|
using namespace NEO;
|
|
|
|
template <typename FamilyType>
|
|
void whenGetGpgpuEnginesThenReturnTwoRcsEngines(const HardwareInfo &hwInfo) {
|
|
auto gpgpuEngines = HwHelperHw<FamilyType>::get().getGpgpuEngineInstances(hwInfo);
|
|
EXPECT_EQ(3u, gpgpuEngines.size());
|
|
EXPECT_EQ(aub_stream::ENGINE_RCS, gpgpuEngines[0].first);
|
|
EXPECT_EQ(aub_stream::ENGINE_RCS, gpgpuEngines[1].first);
|
|
EXPECT_EQ(aub_stream::ENGINE_RCS, gpgpuEngines[2].first);
|
|
}
|