mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
fix: initialize kernel members at the beginning
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
25f2504bf5
commit
b8fb16c603
@@ -4612,9 +4612,7 @@ TEST_F(ModuleTests, givenFullyLinkedModuleAndSlmSizeExceedingLocalMemorySizeWhen
|
||||
|
||||
std::string output = testing::internal::GetCapturedStderr();
|
||||
const std::string expectedPart = "Size of SLM (" + std::to_string(slmInlineSizeCopy) + ") larger than available (" + std::to_string(localMemSize) + ")\n";
|
||||
EXPECT_TRUE(output.find(expectedPart));
|
||||
|
||||
Kernel::fromHandle(kernelHandle)->destroy();
|
||||
EXPECT_NE(std::string::npos, output.find(expectedPart));
|
||||
}
|
||||
|
||||
TEST_F(ModuleTests, givenFullyLinkedModuleWhenCreatingKernelThenDebugMsgOnPrivateAndScratchUsageIsPrinted) {
|
||||
|
||||
Reference in New Issue
Block a user