Skip to content

Commit

Permalink
Deprecate KOKKOSLINALG_OPT_LEVEL
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Dec 13, 2023
1 parent 6679f19 commit 7144284
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ endif()
* KokkosKernels_LAPACK_ROOT: PATH
* Location of LAPACK install root.
* Default: None or the value of the environment variable LAPACK_ROOT if set
* KokkosKernels_LINALG_OPT_LEVEL: BOOL
* KokkosKernels_LINALG_OPT_LEVEL: BOOL **DEPRECATED**
* Optimization level for KokkosKernels computational kernels: a nonnegative integer. Higher levels result in better performance that is more uniform for corner cases, but increase build time and library size. The default value is 1, which should give performance within ten percent of optimal on most platforms, for most problems.
* Default: 1
* KokkosKernels_MAGMA_ROOT: PATH
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ ELSE()
KOKKOSKERNELS_ADD_OPTION_AND_DEFINE(
LINALG_OPT_LEVEL
KOKKOSLINALG_OPT_LEVEL
"Optimization level for KokkosKernels computational kernels: a nonnegative integer. Higher levels result in better performance that is more uniform for corner cases, but increase build time and library size. The default value is 1, which should give performance within ten percent of optimal on most platforms, for most problems. Default: 1"
"DEPRECATED. Optimization level for KokkosKernels computational kernels: a nonnegative integer. Higher levels result in better performance that is more uniform for corner cases, but increase build time and library size. The default value is 1, which should give performance within ten percent of optimal on most platforms, for most problems. Default: 1"
"1")

# Enable experimental features of KokkosKernels if set at configure
Expand Down
2 changes: 2 additions & 0 deletions common/src/KokkosLinAlg_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifndef KOKKOSLINALG_CONFIG_H
#define KOKKOSLINALG_CONFIG_H

[[deprecated("KokkosLinAlg_config.h is deprecated!")]]

#include <KokkosKernels_config.h>

#endif // KOKKOSLINALG_CONFIG_H

0 comments on commit 7144284

Please sign in to comment.