[llvm] [libsycl] Add constructors for context (PR #214538)
Kseniya Tikhomirova via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 07:00:23 PDT 2026
================
@@ -16,9 +16,8 @@ namespace detail {
ContextImpl::ContextImpl(std::vector<DeviceImpl *> &&DeviceList,
const async_handler &AsyncHandler,
const property_list &PropList, Private)
- : MAsyncHandler(AsyncHandler), MDevices(DeviceList) {
- (void)PropList;
-
+ : MAsyncHandler(AsyncHandler), MDevices(std::move(DeviceList)),
+ MPropList(PropList) {
----------------
KseniyaTikhomirova wrote:
we don't handle properties so far so no need to add class members and just copy them. keep std::ignore for now
https://github.com/llvm/llvm-project/pull/214538
More information about the llvm-commits
mailing list