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

[FEAT]: golang device slice ranges #463

Merged
merged 5 commits into from
Apr 8, 2024
Merged

Conversation

jeremyfelder
Copy link
Collaborator

Describe the changes

This PR adds the capability to slice a DeviceSlice, allowing portions of data that are already on the device to be reused.

Additionally, this PR removes the need for a HostSlice underlying type to implement a Size function and uses unsafe.Sizeof instead. This together with #407 will allow direct usage of gnark-crypto types with HostSlice without the need for converting to ICICLE types

@LeonHibnik LeonHibnik merged commit c671916 into main Apr 8, 2024
21 checks passed
@LeonHibnik LeonHibnik deleted the feat/golang/device-slice-ranges branch April 8, 2024 16:42
ChickenLover pushed a commit that referenced this pull request Apr 9, 2024
## Describe the changes

This PR adds the capability to slice a DeviceSlice, allowing portions of
data that are already on the device to be reused.

Additionally, this PR removes the need for a HostSlice underlying type
to implement a Size function and uses unsafe.Sizeof instead. This
together with #407 will allow direct usage of gnark-crypto types with
HostSlice without the need for converting to ICICLE types

---------

Co-authored-by: nonam3e <[email protected]>
yshekel pushed a commit that referenced this pull request May 19, 2024
## Describe the changes

This PR adds the capability to slice a DeviceSlice, allowing portions of
data that are already on the device to be reused.

Additionally, this PR removes the need for a HostSlice underlying type
to implement a Size function and uses unsafe.Sizeof instead. This
together with #407 will allow direct usage of gnark-crypto types with
HostSlice without the need for converting to ICICLE types

---------

Co-authored-by: nonam3e <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants