mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
Improve code coverage of binary encoder and decoder
This change contains ULTs, which improve the coverage of BinaryEncoder and BinaryDecoder classes. Related-To: NEO-6834 Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f09fd527f1
commit
50efd09ad8
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -34,9 +34,13 @@ class BinaryDecoder {
|
||||
public:
|
||||
BinaryDecoder(const std::string &file, const std::string &patch, const std::string &dump)
|
||||
: binaryFile(file), pathToPatch(patch), pathToDump(dump){};
|
||||
|
||||
BinaryDecoder(OclocArgHelper *helper) : argHelper(helper), iga(new IgaWrapper) {
|
||||
iga->setMessagePrinter(argHelper->getPrinterRef());
|
||||
};
|
||||
}
|
||||
|
||||
MOCKABLE_VIRTUAL ~BinaryDecoder() = default;
|
||||
|
||||
int decode();
|
||||
int validateInput(const std::vector<std::string> &args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user