Skip to content

The most effective way to transform each lane for generic dimensions. #1314

Answered by bluss
Wleter asked this question in Q&A
Discussion options

You must be logged in to vote

I haven't looked into the details, but I'd recommend first trying:

  1. Don't use iterators and std::iter::zip
  2. Use ndarray::Zip and its parallelization support
  3. Don't use par_bridge, it is slow, unless you have to

It looks like you need a function like general_mat_vec_mul which ndarray has right there, but maybe I read the code wrong.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@Wleter
Comment options

@bluss
Comment options

@nilgoyette
Comment options

@Wleter
Comment options

Answer selected by Wleter
Comment options

You must be logged in to vote
1 reply
@Wleter
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #1313 on July 29, 2023 12:48.