Skip to content

Control timeline semaphore emulation at runtime, remove extension layer. - #2317

Merged
copybara-service[bot] merged 1 commit into
iree-org:googlefrom
ScottTodd:timeline-semaphore-runtime
Jun 26, 2020
Merged

copybara-service[bot] merged 1 commit into
iree-org:googlefrom
ScottTodd:timeline-semaphore-runtime

Conversation

@ScottTodd

Copy link
Copy Markdown
Member
  • The VK_LAYER_KHRONOS_timeline_semaphore extension layer may still be used, but it is no longer required. To simplify maintenance, this change removes IREE's build system helpers and documentation for it.
  • The integrations/tensorflow/e2e/e2e_control_flow_test_tf_iree_vulkan test required bumping kMaxInFlightFenceCount to remain passing when using IREE's new timeline semaphore emulation.
  • Updated SwiftShader instructions on Windows now that the Linux-only extension layer is not required with it.

Fixes #2002

@ScottTodd ScottTodd added infrastructure Relating to build systems, CI, or testing runtime Relating to the IREE runtime library labels Jun 25, 2020
@ScottTodd
ScottTodd requested a review from antiagainst June 25, 2020 21:35

@antiagainst antiagainst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks Scott for clean this up! So nice to see lots of hacky stuff gone. :)

Comment thread iree/hal/vulkan/vulkan_device.cc Resolved
* The `VK_LAYER_KHRONOS_timeline_semaphore` extension layer may still be used, but it is no longer required. To simplify maintenance, this change removes IREE's build system helpers and documentation for it.
* The `integrations/tensorflow/e2e/e2e_control_flow_test_tf_iree_vulkan` test required bumping `kMaxInFlightFenceCount` to remain passing when using IREE's new timeline semaphore emulation.
* Updated SwiftShader instructions on Windows now that the Linux-only extension layer is not required with it.
@ScottTodd
ScottTodd force-pushed the timeline-semaphore-runtime branch from 12e1962 to 354b691 Compare June 26, 2020 16:11
@copybara-service
copybara-service Bot merged commit 7c4086a into iree-org:google Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing runtime Relating to the IREE runtime library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Vulkan emulated_timeline_semaphore to avoid the extension layer

3 participants