mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
Minimalistic kernel dump in ocloc
Resolves: NEO-2118 Change-Id: I7358ad991621114e287b1851cfce6254c76b63c1
This commit is contained in:
committed by
sys_ocldev
parent
5956164451
commit
d3ed744c1b
@@ -178,6 +178,14 @@ TEST(DecoderTests, GivenProperPatchListFileWhenParsingTokensThenFileIsParsedCorr
|
||||
EXPECT_EQ("InterfaceDescriptorDataOffset", (decoder.patchTokens[19]->fields[0].name));
|
||||
}
|
||||
|
||||
TEST(DecoderTests, WhenPathToPatchTokensNotProvidedThenUseDefaults) {
|
||||
MockDecoder decoder;
|
||||
decoder.pathToPatch = "";
|
||||
decoder.parseTokens();
|
||||
EXPECT_NE(0U, decoder.programHeader.size);
|
||||
EXPECT_NE(0U, decoder.kernelHeader.size);
|
||||
}
|
||||
|
||||
TEST(DecoderTests, GivenValidBinaryWhenReadingPatchTokensFromBinaryThenBinaryIsReadCorrectly) {
|
||||
std::string binaryString;
|
||||
std::stringstream binarySS;
|
||||
|
||||
Reference in New Issue
Block a user