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

Feature Request: multiple simultaneous CLANG invocation. #130

Closed
emerth opened this issue Jan 29, 2020 · 1 comment
Closed

Feature Request: multiple simultaneous CLANG invocation. #130

emerth opened this issue Jan 29, 2020 · 1 comment
Assignees

Comments

@emerth
Copy link

emerth commented Jan 29, 2020

Miopen runs clang to build object files that implement shaders that run layers or operations in ML/AI models. Which is fine. However it appears to run clang once, then run it once more, then once more, then... .

Logically the model graph should be available before forking out clang, and the shaders are object files, independent of each other, so it should be possible to count the cores in the host PC and then fork off that many clang instances.

Which leads to my feature request: parallelize the clang shader compilation code, make it invoke multiple clangs simultaneously.

@daniellowell
Copy link
Contributor

The Find calls for convolution are now parallelized per algorithm. That is, each algorithm compiles the solvers' kernels in parallel. Expect future improvements in this area.

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

3 participants