#include "lbann/base.hpp"
#include "lbann/utils/exception.hpp"
#include <cuda_runtime.h>
#include <cutensor.h>
Go to the source code of this file.
|
| template<typename CppType > |
| using | lbann::CUDAScalar = typename CUDATypeT< CppType >::scalar_type |
| |
|
| template<typename CppType > |
| constexpr auto | lbann::CUDAType = CUDATypeT<CppType>::value |
| |
| template<typename CppType > |
| constexpr auto | lbann::CUDAScalarType = CUDATypeT<CUDAScalar<CppType>>::value |
| |
◆ CHECK_CUTENSOR
| #define CHECK_CUTENSOR |
( |
|
cmd | ) |
|
Value:do { \
auto const lbann_chk_cutensor_status__ = (cmd); \
if (CUTENSOR_STATUS_SUCCESS != lbann_chk_cutensor_status__) { \
LBANN_ERROR("cuTENSOR error (status=", \
lbann_chk_cutensor_status__, \
"): ", \
cutensorGetErrorString(lbann_chk_cutensor_status__)); \
} \
} while (false)
Definition at line 35 of file cutensor_support.hpp.