mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Change-Id: I2c78a8b737ee8e61b917b4918da37e77bbd9fe34 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
20 lines
481 B
C++
20 lines
481 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/helpers/hw_helper.h"
|
|
#include "test.h"
|
|
|
|
using namespace NEO;
|
|
|
|
template <typename FamilyType>
|
|
void whenGetGpgpuEnginesThenReturnTwoRcsEngines() {
|
|
auto gpgpuEngines = HwHelperHw<FamilyType>::get().getGpgpuEngineInstances();
|
|
EXPECT_EQ(2u, gpgpuEngines.size());
|
|
EXPECT_EQ(aub_stream::ENGINE_RCS, gpgpuEngines[0]);
|
|
EXPECT_EQ(aub_stream::ENGINE_RCS, gpgpuEngines[1]);
|
|
}
|