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

Weekly chores #332

Merged
merged 8 commits into from
Dec 2, 2024
Merged

Weekly chores #332

merged 8 commits into from
Dec 2, 2024

Conversation

maxtremblay
Copy link
Contributor

A bunch of small improvements to the reduce implementation. See commits for detail.

Copy link
Member

@nathanielsimard nathanielsimard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except the typo LGTM

@@ -16,10 +16,10 @@ pub trait ReduceNaiveInstruction<EI: Numeric>: Send + Sync + 'static {
/// This could be called many time during reduction. It is required
/// that reducing the initial accumulator any number of times do not change the outcome
/// of the reduction. For example, adding 0s in a sum do not change the outcome.
fn init_accumulator(line_size: u32) -> Self::Accumulator;
fn init_accumulator(#[comptime] ine_size: u32) -> Self::Accumulator;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ine_size => line_size

@louisfd louisfd merged commit 67e845f into main Dec 2, 2024
5 checks passed
@maxtremblay maxtremblay deleted the weekly-chores branch December 2, 2024 14:41
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