CUTLASS
CUDA Templates for Linear Algebra Subroutines and Solvers
|
Helper for std::is_base_of.
#include <platform.h>
Classes | |
struct | dummy |
Public Types | |
typedef char(& | yes)[1] |
typedef char(& | no)[2] |
Static Public Member Functions | |
template<typename T > | |
static CUTLASS_HOST_DEVICE yes | check (DerivedT *, T) |
static CUTLASS_HOST_DEVICE no | check (BaseT *, int) |
Static Public Attributes | |
static const bool | value = sizeof(check(dummy<BaseT, DerivedT>(), int())) == sizeof(yes) |
typedef char(& cutlass::platform::is_base_of_helper< BaseT, DerivedT >::no)[2] |
typedef char(& cutlass::platform::is_base_of_helper< BaseT, DerivedT >::yes)[1] |
|
static |
|
static |
|
static |