[all-commits] [llvm/llvm-project] 7c6edf: [Offload] Implement olGetQueueInfo, olGetEventInfo...

Callum Fare via All-commits all-commits at lists.llvm.org
Wed Jul 9 09:09:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c6edf4a058b957adce1596def56b64e07edf850
      https://github.com/llvm/llvm-project/commit/7c6edf4a058b957adce1596def56b64e07edf850
  Author: Callum Fare <callum at codeplay.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M offload/liboffload/API/Event.td
    M offload/liboffload/API/Queue.td
    M offload/liboffload/src/OffloadImpl.cpp
    M offload/unittests/OffloadAPI/CMakeLists.txt
    M offload/unittests/OffloadAPI/common/Fixtures.hpp
    A offload/unittests/OffloadAPI/event/olGetEventInfo.cpp
    A offload/unittests/OffloadAPI/event/olGetEventInfoSize.cpp
    A offload/unittests/OffloadAPI/queue/olGetQueueInfo.cpp
    A offload/unittests/OffloadAPI/queue/olGetQueueInfoSize.cpp

  Log Message:
  -----------
  [Offload] Implement olGetQueueInfo, olGetEventInfo (#142947)

Add info queries for queues and events.

`olGetQueueInfo` only supports getting the associated device. We were
already tracking this so we can implement this for free. We will likely
add other queries to it in the future (whether the queue is empty, what
flags it was created with, etc)

`olGetEventInfo` only supports getting the associated queue. This is
another thing we were already storing in the handle. We'll be able to
add other queries in future (the event type, status, etc)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list