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

vec_ops: scalar * ext field #709

Merged
merged 33 commits into from
Jan 1, 2025
Merged

vec_ops: scalar * ext field #709

merged 33 commits into from
Jan 1, 2025

Conversation

emirsoyturk
Copy link
Contributor

@emirsoyturk emirsoyturk commented Dec 26, 2024

cuda-backend-branch: scalar_mul_ext

@emirsoyturk emirsoyturk marked this pull request as draft December 28, 2024 20:42
@emirsoyturk emirsoyturk marked this pull request as ready for review January 1, 2025 08:59
let cfg = VecOpsConfig::default();

test_utilities::test_set_main_device();
mixed_mul_scalars(a_main, b, result_main, &cfg).unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd like it to be a self contained test, compare mul with a naive addition loop

Copy link
Contributor Author

Choose a reason for hiding this comment

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

shouldn't we also need to add mixed_add_scalars function to achieve that?

Copy link
Contributor

Choose a reason for hiding this comment

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

I meant res = scalar*ext and a loop over res += ext scalar times

@emirsoyturk emirsoyturk merged commit 290ca67 into main Jan 1, 2025
15 checks passed
@emirsoyturk emirsoyturk deleted the scalar_mul_ext branch January 1, 2025 19:42
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