You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current DXC compiler library is an in process component. Desire has been expressed to have an out of process solution for compiling shaders. This solution should perform compilation in a reusable host process that is connected to by the c-style compiler library.
Design a reliable/reusable IPC mechanism
The llvm-project encourages building reusable libraries (called support libraries) that can be connected to together to create compelling clang tooling. Clang itself is constructed using these libraries. Each support library is individually tested. IPC logic seems like a good fit to be added to the support library set of features.
A design needs to be spec'd out and run through a design meeting with the team. This will bottom out on the details around standing up such a system and implemented in another task Issue #90782 .
Thoughts
Investigate ORC, an existing jit compilation system. Perhaps there is some code reuse there that can be leveraged
Keep the design simple and to the point. There is no need to create a full featured library.
Requirements
Reusable library in design
Ensure that if one process goes down/crashes that proper cleanups occur
Must be cross platform in design. ( linux has fork( ), Windows does not ).
Thoughts on test approach
documentation is written and located where other support library docs live
The text was updated successfully, but these errors were encountered:
The current DXC compiler library is an in process component. Desire has been expressed to have an out of process solution for compiling shaders. This solution should perform compilation in a reusable host process that is connected to by the c-style compiler library.
Design a reliable/reusable IPC mechanism
The llvm-project encourages building reusable libraries (called support libraries) that can be connected to together to create compelling clang tooling. Clang itself is constructed using these libraries. Each support library is individually tested. IPC logic seems like a good fit to be added to the support library set of features.
A design needs to be spec'd out and run through a design meeting with the team. This will bottom out on the details around standing up such a system and implemented in another task Issue #90782 .
Thoughts
Requirements
The text was updated successfully, but these errors were encountered: