[llvm] [libsycl] Add queue constructors with context. (PR #221763)
Sergey Semenov via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 04:46:10 PDT 2026
================
@@ -121,6 +129,16 @@ class ProgramAndKernelManager {
std::unordered_map<BinaryStartKey, DeviceImageManagerVec>
MDeviceImageManagers;
+ // Contexts that may hold programs created from the device images above. A
+ // context is the sole owner of its programs, and it must destroy them before
+ // the image they were created from is destroyed.
----------------
sergey-semenov wrote:
```suggestion
// the images they were created from are destroyed.
```
One more minor comment I didn't catch on the first review.
https://github.com/llvm/llvm-project/pull/221763
More information about the llvm-commits
mailing list