Skip to content

Commit

Permalink
fix comilation failures (#106)
Browse files Browse the repository at this point in the history
Co-authored-by: jsandham <[email protected]>
  • Loading branch information
jsandham and jsandham authored Jul 26, 2022
1 parent ce712e0 commit f31b90b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/base/parallel_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ namespace rocalution
}

/** \brief Return the global size */
ROCALUTION_EXPORT
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32)
#else
[[deprecated("This function will be removed in a future release. Use "
"GetGlobalNrow() or GetGlobalNcol() instead")]]
#endif
ROCALUTION_EXPORT
IndexType2 GetGlobalSize(void) const;
/** \brief Return the global number of rows */
ROCALUTION_EXPORT
Expand All @@ -85,12 +85,12 @@ namespace rocalution
ROCALUTION_EXPORT
IndexType2 GetGlobalNcol(void) const;
/** \brief Return the local size */
ROCALUTION_EXPORT
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32)
#else
[[deprecated("This function will be removed in a future release. Use "
"GetLocalNrow() or GetLocalNcol() instead")]]
#endif
ROCALUTION_EXPORT
int GetLocalSize(void) const;
/** \brief Return the local number of rows */
ROCALUTION_EXPORT
Expand All @@ -110,12 +110,12 @@ namespace rocalution
int GetNumProcs(void) const;

/** \brief Initialize the global size */
ROCALUTION_EXPORT
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32)
#else
[[deprecated("This function will be removed in a future release. Use "
"SetGlobalNrow() or SetGlobalNcol() instead")]]
#endif
ROCALUTION_EXPORT
void SetGlobalSize(IndexType2 size);
/** \brief Initialize the global number of rows */
ROCALUTION_EXPORT
Expand All @@ -124,12 +124,12 @@ namespace rocalution
ROCALUTION_EXPORT
void SetGlobalNcol(IndexType2 ncol);
/** \brief Initialize the local size */
ROCALUTION_EXPORT
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32)
#else
[[deprecated("This function will be removed in a future release. Use "
"SetLocalNrow() or SetLocalNcol() instead")]]
#endif
ROCALUTION_EXPORT
void SetLocalSize(int size);
/** \brief Initialize the local number of rows */
ROCALUTION_EXPORT
Expand Down
2 changes: 1 addition & 1 deletion src/base/vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ namespace rocalution
ROCALUTION_EXPORT
virtual int GetLocalSize(void) const;
/** \brief Return the size of the ghost vector */
ROCALUTION_EXPORT
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32)
#else
[[deprecated("This function will be removed in a future release.")]]
#endif
ROCALUTION_EXPORT
virtual int GetGhostSize(void) const;

/** \brief Perform a sanity check of the vector
Expand Down
2 changes: 1 addition & 1 deletion src/solvers/multigrid/ruge_stueben_amg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ namespace rocalution
virtual void Print(void) const;

/** \brief Set coupling strength */
ROCALUTION_EXPORT
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32)
#else
[[deprecated("This function will be removed in a future release. Use "
"SetStrengthThreshold() instead")]]
#endif
ROCALUTION_EXPORT
void SetCouplingStrength(ValueType eps);

/** \brief Set strength threshold */
Expand Down

0 comments on commit f31b90b

Please sign in to comment.