mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
ocloc fixes
Change-Id: I3b60b7fafa8ae17fbf73680892838b1cabd24327
This commit is contained in:
@@ -55,6 +55,10 @@ void BinaryEncoder::calculatePatchListSizes(std::vector<std::string> &ptmFile) {
|
||||
}
|
||||
|
||||
bool BinaryEncoder::copyBinaryToBinary(const std::string &srcFileName, std::ostream &outBinary, uint32_t *binaryLength) {
|
||||
if (argHelper->fileExists(srcFileName)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
auto binary = argHelper->readBinaryFile(srcFileName);
|
||||
auto length = binary.size();
|
||||
outBinary.write(binary.data(), length);
|
||||
|
||||
Reference in New Issue
Block a user