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

Bugfix for RAJA's optional RAJA::roctx dependency #1002

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

kennyweiss
Copy link
Member

Summary

  • This PR is a workaround for a potential bug in blt
  • When we specify that core depends on RAJA in blt_add_library, it should transitively depend on RAJA's dependencies. However, the RAJA::roctx dependency was not being properly propagated. The latter is present when RAJA is configured with RAJA_ENABLE_ROCTX.
  • Since core is a CMake OBJECT library, we're internally setting it up as a blt_register_library
  • As a temporary workaround, this PR explicitly adds RAJA::roctx when available/needed

@kennyweiss kennyweiss added bug Something isn't working Build system Issues related to Axom's build system labels Jan 19, 2023
@kennyweiss kennyweiss self-assigned this Jan 19, 2023
@kennyweiss
Copy link
Member Author

I described the underlying issue on LLNL/blt#618

When we specify that `core` depends on `RAJA` in `blt_add_library`,
it should transitively depend on RAJA's dependencies. However,
the `RAJA::roctx` dependency was not being properly propagated.
The latter is present when RAJA is configured with `RAJA_ENABLE_ROCTX`.
@kennyweiss kennyweiss force-pushed the bugfix/kweiss/raja-roctx-import branch from 6b0a978 to bc033eb Compare January 24, 2023 20:57
@kennyweiss kennyweiss merged commit 267fea5 into develop Jan 24, 2023
@kennyweiss kennyweiss deleted the bugfix/kweiss/raja-roctx-import branch January 24, 2023 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Build system Issues related to Axom's build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants