Skip to content

Commit

Permalink
Avoid xpu regression (#4130)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjruwase committed Aug 12, 2024
1 parent 8baf546 commit 101a43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op_builder/async_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def is_compatible(self, verbose=False):
# which is a function provided by libaio that is used in the async_io op.
# If needed, one can define -I and -L entries in CFLAGS and LDFLAGS
# respectively to specify the directories for libaio.h and libaio.so.
aio_compatible = self.has_function('io_submit', ('aio', ))
aio_compatible = self.has_function('io_pgetevents', ('aio', ))
if verbose and not aio_compatible:
self.warning(f"{self.NAME} requires the dev libaio .so object and headers but these were not found.")

Expand Down

0 comments on commit 101a43d

Please sign in to comment.