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

KOKKOSKERNELS_ENABLE_COMPONENT_{whatever} is always defined #2379

Open
cwpearson opened this issue Oct 15, 2024 · 0 comments
Open

KOKKOSKERNELS_ENABLE_COMPONENT_{whatever} is always defined #2379

cwpearson opened this issue Oct 15, 2024 · 0 comments

Comments

@cwpearson
Copy link
Contributor

This causes problems e.g. here:

#ifdef KOKKOSKERNELS_ENABLE_COMPONENT_BLAS

The error is here, the variables are set to a string like "KokkosKernels_ENABLE_COMPONENT_{whatever}" instead of the value of that variable.

SET(KOKKOSKERNELS_ENABLE_COMPONENT_BATCHED KokkosKernels_ENABLE_COMPONENT_BATCHED)
SET(KOKKOSKERNELS_ENABLE_COMPONENT_BLAS KokkosKernels_ENABLE_COMPONENT_BLAS)
SET(KOKKOSKERNELS_ENABLE_COMPONENT_LAPACK KokkosKernels_ENABLE_COMPONENT_LAPACK)
SET(KOKKOSKERNELS_ENABLE_COMPONENT_GRAPH KokkosKernels_ENABLE_COMPONENT_GRAPH)
SET(KOKKOSKERNELS_ENABLE_COMPONENT_SPARSE KokkosKernels_ENABLE_COMPONENT_SPARSE)
SET(KOKKOSKERNELS_ENABLE_COMPONENT_ODE KokkosKernels_ENABLE_COMPONENT_ODE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants