Pass copy engines to waitUntilComplete in OpenCL command queue

Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2021-09-09 16:57:09 +00:00
committed by Compute-Runtime-Automation
parent 9bb1ef45dd
commit c04f8e5e5b
14 changed files with 48 additions and 36 deletions

View File

@@ -18,7 +18,11 @@ struct Range {
using reverse_iterator = std::reverse_iterator<iterator>;
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
Range(DataType *base, size_t count)
Range()
: begIt(nullptr), endIt(nullptr) {
}
explicit Range(DataType *base, size_t count = 1)
: begIt(base), endIt(base + count) {
}
@@ -80,4 +84,4 @@ template <typename T>
inline Range<T> CreateRange(T *base, size_t count) {
return Range<T>(base, count);
}
} // namespace NEO
} // namespace NEO