Skip to content

Conversation

willow-ahrens
Copy link
Contributor

This is required for benchmark loops which would like to test the runtime of assembly. e.g.

  // Assemble output indices and numerically compute the result
  auto time = benchmark(
    [&y]() {
      y.setNeedsAssemble(true);
      y.setNeedsCompute(true);
    },
    [&y]() {
      y.assemble();
      y.compute();
    }
  );

@willow-ahrens willow-ahrens merged commit 0e79acb into master Apr 14, 2025
0 of 4 checks passed
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.

1 participant