[llvm] [libsycl] add queue ctors with context (PR #221763)
Kseniya Tikhomirova via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 06:15:51 PDT 2026
================
@@ -169,6 +170,72 @@ class _LIBSYCL_EXPORT queue : private detail::KernelSubmissionBase<queue> {
/// \param asyncHandler is a SYCL asynchronous exception handler.
/// \param propList is a list of properties for queue construction.
explicit queue(const device &syclDevice, const async_handler &asyncHandler,
+ const property_list &propList = {})
+ : queue(syclDevice.get_platform().khr_get_default_context(), syclDevice,
+ asyncHandler, propList) {}
+
+ /// Constructs a SYCL queue instance that is associated with syclContext,
----------------
KseniyaTikhomirova wrote:
For reviewers:
Comments content duplication: we have a lot of overloads for SYCL classes. I want to define a single style for such cases since doxygen provides some options to cover this. I expect it to be done separately, together with alignment of existing comments with the defined style.
https://github.com/llvm/llvm-project/pull/221763
More information about the llvm-commits
mailing list