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

Disable LightningKokkos OMP backend on macOS (x86_64) #478

Merged
merged 6 commits into from
Jan 26, 2024

Conversation

maliasadi
Copy link
Member

@maliasadi maliasadi commented Jan 25, 2024

We temporarily disable the OMP support for LightningKokkos only on macOS (x86_64) due to memory issues in the computation of Lightning's adjoint-jacobian in the presence of multiple OMP threads. This issue could be reproduced when building multiple Lightning simulators with Kokkos_ENABLE_OPENMP=ON.

[sc-55321]

@maliasadi maliasadi added the CI Pull requests that update CIs label Jan 25, 2024
Copy link
Contributor

@erick-xanadu erick-xanadu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you have already tested this, then I think this is ready for merging. 🥳

Copy link
Contributor

Hello. You may have forgotten to update the changelog!
Please edit doc/changelog.md on your branch with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

@maliasadi maliasadi merged commit 9da5912 into main Jan 26, 2024
30 checks passed
@maliasadi maliasadi deleted the maa/fix-mac-x86-runtime branch January 26, 2024 14:33
@dime10 dime10 added the bug Something isn't working label Jan 29, 2024
@dime10 dime10 mentioned this pull request Jan 29, 2024
josh146 pushed a commit that referenced this pull request Jan 29, 2024
We temporarily disable the OMP support for `LightningKokkos` only on
macOS (x86_64) due to memory issues in the computation of Lightning's
adjoint-jacobian in the presence of multiple OMP threads. This issue
could be reproduced when building multiple Lightning simulators with
`Kokkos_ENABLE_OPENMP=ON`.

[sc-55321]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI Pull requests that update CIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants