[llvm] [OFFLOAD][L0] Implement Event APIs (PR #201306)
Nick Sarnie via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 12:48:52 PDT 2026
================
@@ -745,6 +746,66 @@ Expected<bool> L0DeviceTy::isAccessiblePtrImpl(const void *Ptr, size_t Size) {
return getMemAllocator(Ptr).contains(Ptr, Size);
}
+Error L0DeviceTy::createEventImpl(void **EventPtrStorage,
+ bool EnableProfiling) {
+ auto EventOrErr = getEventObject();
+ if (!EventOrErr)
+ return EventOrErr.takeError();
+ *EventPtrStorage = *EventOrErr;
+ ;
----------------
sarnex wrote:
i think you missed removing this :P
https://github.com/llvm/llvm-project/pull/201306
More information about the llvm-commits
mailing list