mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
feature: Add support for legacy acronyms in ocloc's fatbinary
Expands support for deprecated acronyms to fatbinary. Previously, these were allowed only in single-target builds. Related-To: NEO-10190 Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
57c946b61c
commit
b58717b9e3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2023 Intel Corporation
|
||||
* Copyright (C) 2019-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -231,10 +231,10 @@ class ConstStringRef {
|
||||
}
|
||||
ret.reserve(len);
|
||||
|
||||
ret.append(*container.begin());
|
||||
for (auto it = container.begin() + 1, e = container.end(); it != e; ++it) {
|
||||
ret.append(container.begin()->data(), container.begin()->size());
|
||||
for (auto it = std::next(container.begin()), e = container.end(); it != e; ++it) {
|
||||
ret.append(this->ptr, this->len);
|
||||
ret.append(*it);
|
||||
ret.append(it->data(), it->size());
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user