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

update Vector functions to pass by reference #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jacobmerson
Copy link
Collaborator

Profiling code on OpenMP backend we are seeing vector constuctors in the profiling data that are coming from pass by value. For vectors that are bigger than n=1 pass by reference should be more efficient.

Profiling code on OpenMP backend we are seeing vector constuctors in the
profiling data that are coming from pass by value. For vectors that are
bigger than n=1 pass by reference should be more efficient.
@jacobmerson
Copy link
Collaborator Author

@Angelyr Do you know what settings (g++, on, off, off) refers to? I'm having trouble replicating the failed test on my system and it doesn't seem to have any output indicating how the failed test broke.

@jacobmerson
Copy link
Collaborator Author

Looks like this might be #104

@cwsmith
Copy link

cwsmith commented Aug 29, 2024

/runtests

Copy link

Test Result: failure (details)

@cwsmith
Copy link

cwsmith commented Aug 29, 2024

/runtests

Copy link

Test Result: failure (details)

@cwsmith
Copy link

cwsmith commented Aug 29, 2024

Test Result: failure (details)

@jacobmerson The failing self-hosted tests are diffs against a 'gold' mesh that is stored in the repo; they also fail for master. I just pushed a commit that should fix that.

Do you see a performance improvement with pass by reference?

@jacobmerson
Copy link
Collaborator Author

I need to add some timing tests for this still. I will update this pull request when I get a chance to do that.

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.

2 participants