Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

futhark autotune: --timeout doesn't work #1617

Open
athas opened this issue Mar 29, 2022 · 0 comments
Open

futhark autotune: --timeout doesn't work #1617

athas opened this issue Mar 29, 2022 · 0 comments

Comments

@athas
Copy link
Member

athas commented Mar 29, 2022

Timeouts became broken when we moved to using a server-mode process. Worse, the remaining half-baked timeout support actually corrupts the "state machine" used, so you get weird crashes as Futhark gets confused about which commands receive which responses.

The right solution is that a timeout should cause the entire process to be terminated and started up anew. This will unfortunately require clever programming to avoid making the control flow completely incomprehensible (it'll basically have to be an event-driven state machine).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant