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

Add DAG execution utilities #24

Open
charleskawczynski opened this issue May 1, 2024 · 0 comments
Open

Add DAG execution utilities #24

charleskawczynski opened this issue May 1, 2024 · 0 comments

Comments

@charleskawczynski
Copy link
Member

We could add utilities here for constructing a DAG (similar to how TensorFlow works), and dispatch into specialized kernels:

  • If the DAG shows that all broadcast expressions can be executed in parallel, then we can launch a kernel with an additional cuda thread dimension, so that all broadcast expressions can be computed asynchronously.

If the DAG shows that there heavy dependence between broadcast expressions, then simply fusing the kernel will allow for hoisted reads/writes.

If it's something in-between, we could potentially break up the fused object into multiple, specialized, kernels.

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

No branches or pull requests

1 participant