Skip to content

Commit

Permalink
KokkosKernels_Controls: add missing <string> include
Browse files Browse the repository at this point in the history
Also remove pointless warning to stderr
  • Loading branch information
cwpearson committed Jul 24, 2023
1 parent 93085b6 commit d1eb5cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sparse/src/KokkosKernels_Controls.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
/// \brief Mechanism to control internal behavior of kernels
/// \author Luc Berger-Vergiat (lberge@sandia.gov)

#include <string>
#include <unordered_map>
#include "KokkosKernels_config.h"
#include "KokkosKernels_tpl_handles_decl.hpp"
Expand Down Expand Up @@ -64,8 +65,6 @@ class Controls {
const std::string& orUnset = "") const {
auto search = kernel_parameters.find(name);
if (kernel_parameters.end() == search) {
std::cerr << "WARNING: Controls::getParameter for name \"" << name
<< "\" was unset" << std::endl;
return orUnset;
} else {
return search->second;
Expand Down

0 comments on commit d1eb5cb

Please sign in to comment.