79283748

Date: 2024-12-16 05:51:54
Score: 3.5
Natty:
Report link

For the same problem I created an std::vectorEigen::Triplet in parallel (each thread collects instances of triplets to a thread local vector in parallel and finally I merge those vectors outside the parallel block).

What is the most efficient way for assembling from triplets in parallel?

Will I have to sort per column-row, merge the same occurrences and then assign each column to a thread?

Is there another option to avoid sorting?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Ioannis Karampinis