Skip to content

Not respecting KokkosKernels_ENABLE_COMPONENT_{whatever}=OFF #2704

Description

@cwpearson

Configure Kokkos Kernels:

cmake -S kokkos-kernels -B build-kokkos-kernels \
  -DKokkos_ROOT=...

See all components are enabled

Kokkos Kernels components
   COMMON:    ON
   BATCHED:   ON
   BLAS:      ON
   LAPACK:    ON
   GRAPH:     ON
   SPARSE:    ON
   ODE:       ON

Configure again with a component disabled:

cmake -S kokkos-kernels -B build-kokkos-kernels \
  -DKokkos_ROOT=...
  -DKokkosKernels_ENABLE_COMPONENT_BATCHED=OFF

See all components are still enabled:

Kokkos Kernels components
   COMMON:    ON
   BATCHED:   ON
   BLAS:      ON
   LAPACK:    ON
   GRAPH:     ON
   SPARSE:    ON
   ODE:       ON

At best this is surprising behavior.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions