commit | cd282dee871551db6b1c05c4b6fea6b9b15270de | [log] [tgz] |
---|---|---|
author | Boian Petkantchin <boian.petkantchin@amd.com> | Wed Apr 17 11:18:53 2024 -0700 |
committer | GitHub <noreply@github.com> | Wed Apr 17 18:18:53 2024 +0000 |
tree | 20eeefdf9607c65d656a65b33532744ec6e0e18e | |
parent | fdfe344a8b7f3ab0bad14b6cc543f301da0d0acd [diff] |
[runtime][hip][cuda] Fix waiting on a semaphore on the host (#17073) When waiting on a semaphore we first attempt to wait on a timepoint event on the dispatch stream. This is not correct as the semaphore is signaled in a callback on the host stream when signaling that an action is complete. This callback happens after the dispatch stream event, so the semaphore value may not be update yet. The fix is to directly wait on the host semaphore and not on the dispatch stream event. Also add a test that catches this failure.
IREE (Intermediate Representation Execution Environment, pronounced as “eerie”) is an MLIR-based end-to-end compiler and runtime that lowers Machine Learning (ML) models to a unified IR that scales up to meet the needs of the datacenter and down to satisfy the constraints and special considerations of mobile and edge deployments.
See our website for project details, user guides, and instructions on building from source.
IREE is still in its early phase. We have settled down on the overarching infrastructure and are actively improving various software components as well as project logistics. It is still quite far from ready for everyday use and is made available without any support at the moment. With that said, we welcome any kind of feedback on any communication channels!
See our website for more information.
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.