-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Pull Request #6583 from mhoemmen/Trilinos/TSQR-Jan2020
Automatically Merged using Trilinos Pull Request AutoTester PR Title: TSQR: Automatically detect CUBLAS & CUSOLVER TPLs; improve TPL handle wrappers PR Author: mhoemmen
- Loading branch information
Showing
19 changed files
with
241 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#ifndef TSQR_IMPL_CUBLASHANDLE_FWD_HPP | ||
#define TSQR_IMPL_CUBLASHANDLE_FWD_HPP | ||
|
||
#include "TpetraTSQR_config.h" | ||
#ifdef HAVE_TPETRATSQR_CUBLAS | ||
|
||
#include <memory> | ||
|
||
namespace TSQR { | ||
namespace Impl { | ||
|
||
/// \class CuBlasHandle | ||
/// \brief Opaque wrapper for cublasHandle_t (cuBLAS handle instance) | ||
/// | ||
/// \note To developers: Do not expose the declaration of this class | ||
/// to downstream code. Users should only deal with this class by | ||
/// the forward declaration and functions available in this header | ||
/// file. Do not expose cuBLAS headers or extern declarations to | ||
/// downstream code. | ||
class CuBlasHandle; | ||
|
||
//! Get TSQR's global cuBLAS handle wrapper. | ||
std::shared_ptr<CuBlasHandle> getCuBlasHandleSingleton(); | ||
|
||
} // namespace Impl | ||
} // namespace TSQR | ||
|
||
#endif // HAVE_TPETRATSQR_CUBLAS | ||
|
||
#endif // TSQR_IMPL_CUBLASHANDLE_FWD_HPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.