[llvm-branch-commits] [llvm] [libsycl] Add liboffload kernel creation (PR #188794)

Yury Plyakhin via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 3 13:47:53 PDT 2026


================
@@ -119,7 +141,6 @@ static bool isImageTargetCompatible(const DeviceImageWrapper &Image,
 DeviceImageWrapper *ProgramManager::getDeviceImage(std::string_view KernelName,
----------------
YuriPlyakhin wrote:

It is assumed that caller of `getDeviceImage` holds the `MImageCollectionMutex` lock, right?
I think it should be documented explicitly:
`// MImageCollectionMutex must be held by the caller`

https://github.com/llvm/llvm-project/pull/188794


More information about the llvm-branch-commits mailing list