File tree Expand file tree Collapse file tree 4 files changed +17
-14
lines changed Expand file tree Collapse file tree 4 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ llvm/include/llvm/SYCLLowerIR/SYCLCreateNVVMAnnotations.h @intel/llvm-reviewers-
7575llvm /lib /SYCLLowerIR /SYCLCreateNVVMAnnotations.cpp @ intel/llvm-reviewers-cuda
7676llvm /lib /Target /NVPTX @ intel/llvm-reviewers-cuda
7777llvm /lib /Target /AMDGPU @ intel/llvm-reviewers-cuda
78+ unified-runtime /source /common /cuda-hip @ intel/llvm-reviewers-cuda
7879
7980# XPTI instrumentation utilities
8081xpti / @ intel/llvm-reviewers-runtime
Original file line number Diff line number Diff line change 1717#include < mutex>
1818#include < vector>
1919
20- #include " stream_queue.hpp"
20+ #include < common/cuda-hip/ stream_queue.hpp>
2121
2222// / UR queue mapping on to CUstream objects.
2323// /
Original file line number Diff line number Diff line change 1414#include < mutex>
1515#include < vector>
1616
17- #include " .. /cuda/stream_queue.hpp"
17+ #include < common /cuda-hip /stream_queue.hpp>
1818
1919// / UR queue mapping on to hipStream_t objects.
2020// /
Original file line number Diff line number Diff line change 1- // ===--------- stream_queue.hpp - CUDA Adapter ----------------------------===//
2- //
3- // Copyright (C) 2025 Intel Corporation
4- //
5- // Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM
6- // Exceptions. See LICENSE.TXT
7- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8- //
9- // ===----------------------------------------------------------------------===//
10- # pragma once
1+ /*
2+ *
3+ * Copyright (C) 2025 Intel Corporation
4+ *
5+ * Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM
6+ * Exceptions. See LICENSE.TXT
7+ *
8+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
9+ *
10+ */
1111
12- #include < ur/ur.hpp >
12+ #pragma once
1313
1414#include < algorithm>
1515#include < mutex>
1616#include < vector>
1717
1818using ur_stream_guard = std::unique_lock<std::mutex>;
1919
20- // / Generic implementation of out-of-order queue using in-order streams.
20+ // / Generic implementation of an out-of-order UR queue based on in-order
21+ // / backend 'stream' objects.
2122// /
23+ // / This class is specifically designed for the CUDA and HIP adapters.
2224template <typename ST, int CS, int TS> struct stream_queue_t {
2325 using native_type = ST;
2426 static constexpr int DefaultNumComputeStreams = CS;
You can’t perform that action at this time.
0 commit comments