Skip to content

u128 array zero fill - quick solution#595

Open
brody2consult wants to merge 5 commits intoRust-GPU:mainfrom
brody2consult:start-128-bit-array-fill
Open

u128 array zero fill - quick solution#595
brody2consult wants to merge 5 commits intoRust-GPU:mainfrom
brody2consult:start-128-bit-array-fill

Conversation

@brody2consult
Copy link
Copy Markdown

@brody2consult brody2consult commented May 5, 2026

This is a quick solution to support the case I described in #594:

pub fn f() -> [u128; 2] { return [0; 2] }

This proposal would help me get past the first build issue I have encountered with RustCrypto.

I would love to support non-zero memset fill for both u128 & i128 as discussed in #594, but this would involve some more work in testing to hopefully ensure that this is done correctly & not likely broken by potential future refactoring.

I would be happy to address any possible feedback on my first contribution to Rust-GPU.

TODO

  • squash commits before merging - Reviewers please let me know if you want me to do this or if you want to do this yourself

@brody2consult brody2consult changed the title u128 array zero fill u128 array zero fill - quick solution May 5, 2026
@brody2consult brody2consult force-pushed the start-128-bit-array-fill branch from f2e86c0 to fbb18af Compare May 5, 2026 20:33
@brody2consult brody2consult marked this pull request as ready for review May 6, 2026 01:13
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.

1 participant