mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Add HardwareInfo argument to setupHardwareCapabilities method
Change-Id: Iaf75459402d4f1ec3048646d646b130dcc710b2f
This commit is contained in:
committed by
sys_ocldev
parent
b59e3aec14
commit
83537d55bf
@@ -23,10 +23,10 @@
|
||||
#include "runtime/helpers/hw_info.h"
|
||||
#include "unit_tests/helpers/hw_helper_tests.h"
|
||||
|
||||
void testDefaultImplementationOfSetupHardwareCapabilities(HwHelper &hwHelper) {
|
||||
void testDefaultImplementationOfSetupHardwareCapabilities(HwHelper &hwHelper, const HardwareInfo &hwInfo) {
|
||||
HardwareCapabilities hwCaps = {0};
|
||||
|
||||
hwHelper.setupHardwareCapabilities(&hwCaps);
|
||||
hwHelper.setupHardwareCapabilities(&hwCaps, hwInfo);
|
||||
|
||||
EXPECT_EQ(16384u, hwCaps.image3DMaxHeight);
|
||||
EXPECT_EQ(16384u, hwCaps.image3DMaxWidth);
|
||||
|
||||
@@ -40,4 +40,4 @@ class HwHelperTest : public testing::Test {
|
||||
HardwareInfo hwInfo;
|
||||
};
|
||||
|
||||
void testDefaultImplementationOfSetupHardwareCapabilities(HwHelper &hwHelper);
|
||||
void testDefaultImplementationOfSetupHardwareCapabilities(HwHelper &hwHelper, const HardwareInfo &hwInfo);
|
||||
|
||||
Reference in New Issue
Block a user