-
Notifications
You must be signed in to change notification settings - Fork 190
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
[pauli word] Rework the implementation from front to back. #2338
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
schweitzpgi
force-pushed
the
ch-pauli.as.string
branch
from
November 6, 2024 20:41
d34f03b
to
c69b593
Compare
schweitzpgi
force-pushed
the
ch-pauli.as.string
branch
2 times, most recently
from
November 13, 2024 16:48
25a5745
to
7e9926f
Compare
schweitzpgi
force-pushed
the
ch-pauli.as.string
branch
from
November 15, 2024 21:43
46904ba
to
cdcc455
Compare
This was referenced Nov 19, 2024
schweitzpgi
force-pushed
the
ch-pauli.as.string
branch
from
November 19, 2024 19:40
9183f83
to
8464564
Compare
pinging for a review. |
4 tasks
sacpis
reviewed
Nov 19, 2024
sacpis
reviewed
Nov 19, 2024
4 tasks
sacpis
reviewed
Nov 19, 2024
sacpis
reviewed
Nov 19, 2024
sacpis
approved these changes
Nov 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with minor comments. Thanks @schweitzpgi.
This changes the pauli_word implementation to be compatible with std::string, use the core character literal support, which changes the code generation and provides a potential way to perform optimizations on quake.exp_pauli ops. This PR also does a complete rewrite of the GKE code. The rewrite fuses the C++ host entry point argument processing with the .argsCreator support function. It removes several special cases that are no longer germane as the surface of supported C++ argument types has expanded quite a bit. It is fully backwards compatible with the old argument packing pointer-free format. The .argsCreator function remains highly coupled with the Python implementation and launcher. C++ should use the streamlined launcher as it has greater flexibility. Fixes tests and updates them to use the hybrid launcher where appropriate. Add new tests. Signed-off-by: Eric Schweitz <[email protected]>
of booleans to std::vector<bool> so it needs to be undone. Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
the thunk unpacking code are fixed. Move functions to static functions. Add handling of std::vector<bool>. std::vector<bool> is a class that is distinct from all other std::vector<T> and it needs to be handled with special code on the host side. (On the device side, it is forced to look like any other span.) Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
header files in use. Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
at library/binding build time. Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
Kernels need to be able to receive recursively dynamic composable types. This includes compositions of surface types of vectors and structs. Extend the test. Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
Signed-off-by: Eric Schweitz <[email protected]>
schweitzpgi
force-pushed
the
ch-pauli.as.string
branch
from
November 19, 2024 23:30
8464564
to
7338095
Compare
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This changes the pauli_word implementation to be compatible with std::string, use the core character literal support, which changes the code generation and provides a potential way to perform optimizations on quake.exp_pauli ops.
This PR also does a complete rewrite of the GKE code. The rewrite fuses the C++ host entry point argument processing with the .argsCreator support function. It removes several special cases that are no longer germane as the surface of supported C++ argument types has expanded quite a bit. It is fully backwards compatible with the old argument packing pointer-free format. The .argsCreator function remains highly coupled with the Python implementation and launcher. C++ should use the streamlined launcher as it has greater flexibility.
Fixes tests and updates them to use the hybrid launcher where appropriate. Add new tests.
Description