mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add type alias for spec const values map
Change-Id: I77c006f3b3953b108091914fec1f7ba040c7590b Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
c2d812be89
commit
38f53cab8a
@ -746,8 +746,8 @@ TEST_F(CompilerInterfaceTest, givenUpdatedSpecConstValuesWhenBuildProgramThenPro
|
||||
auto specConstCtx = CIF::RAII::UPtr(new MockCompilerDeviceCtx<MockIgcOclDeviceCtx, MockTranslationContextSpecConst>());
|
||||
pCompilerInterface->setDeviceCtx(*pDevice, specConstCtx.get());
|
||||
|
||||
std::map<uint32_t, uint64_t> specConst{{10, 100}};
|
||||
inputArgs.specConstants.specializedValues = specConst;
|
||||
specConstValuesMap specConst{{10, 100}};
|
||||
inputArgs.specializedValues = specConst;
|
||||
|
||||
TranslationOutput translationOutput;
|
||||
auto err = pCompilerInterface->build(*pDevice, inputArgs, translationOutput);
|
||||
|
Reference in New Issue
Block a user