Repository navigation
Conversation
ff8a315 to
64cf44d
Compare
64cf44d to
3f6b0f2
Compare
ScottTodd
left a comment
There was a problem hiding this comment.
Still making my way through this. Publishing my comments so far. Generally looks great :D
This works around an issue using SwiftShader that is blocking #1743 (iree/hal/cts/allocator_test crashes within SwiftShader on the second test case). PiperOrigin-RevId: 310391153
This works around an issue using SwiftShader that is blocking #1743 (iree/hal/cts/allocator_test crashes within SwiftShader on the second test case). PiperOrigin-RevId: 310391153
This works around an issue using SwiftShader that is blocking #1743 (iree/hal/cts/allocator_test crashes within SwiftShader on the second test case). PiperOrigin-RevId: 310403182
|
Still working on merging this. There was an issue with SwiftShader crashing when running Logs snippet from |
This was (at least in part) an issue with the validation layers not handling timeline semaphores signalling command buffer completion. |
reduce.mlir fails with #1743 under SwiftShader due to a SwiftShader bug where we can't create a Vulkan driver twice within the same binary. The check tests don't exhibit this bug (since they reuse a single driver/device for each test case). Closes #1855 COPYBARA_INTEGRATE_REVIEW=#1855 from ScottTodd:vulkan-check-test 9aa914e PiperOrigin-RevId: 310634622
These were all separate tests due to historical restrictions with the test runner. They didn't get picked up in the initial conversion because their naming confused me about what they were trying to test. Unblocks #1743. PiperOrigin-RevId: 310954767
These were all separate tests due to historical restrictions with the test runner. They didn't get picked up in the initial conversion because their naming confused me about what they were trying to test. We still need a separate limited test set for vulkan because of some outstanding issues (#1869 and #1869) Unblocks #1743. PiperOrigin-RevId: 310954767
These were all separate tests due to historical restrictions with the test runner. They didn't get picked up in the initial conversion because their naming confused me about what they were trying to test. We still need a separate limited test set for vulkan because of some outstanding issues (#1869 and #1869) Unblocks #1743. PiperOrigin-RevId: 311020118
This gives us both compiler and runtime versions of the
hal.semaphoreand provides a basic implementation of the host semaphore (for VMLA/LLVMJIT/etc) and the Vulkan native timeline semaphore (requires the layer, extension, or Vulkan 1.2).This change intentionally does not remove
hal.ex.submit_and_waitas that is currently handling resource management. Future changes will add a resource timeline and use the semaphores to advance it as a way to collect resources when no longer required.