-
Notifications
You must be signed in to change notification settings - Fork 116
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
Conversation
let cfg = VecOpsConfig::default(); | ||
|
||
test_utilities::test_set_main_device(); | ||
mixed_mul_scalars(a_main, b, result_main, &cfg).unwrap(); |
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.
I'd like it to be a self contained test, compare mul with a naive addition loop
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.
shouldn't we also need to add mixed_add_scalars function to achieve that?
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.
I meant res = scalar*ext and a loop over res += ext scalar times
cuda-backend-branch: scalar_mul_ext