![]() |
CUTLASS
CUDA Templates for Linear Algebra Subroutines and Solvers
|
Reference object inserts or extracts sub-byte items.
#include <array_subbyte.h>
Public Member Functions | |
| CUTLASS_HOST_DEVICE | reference () |
| Default ctor. More... | |
| CUTLASS_HOST_DEVICE | reference (Storage *ptr, int idx=0) |
| Ctor. More... | |
| CUTLASS_HOST_DEVICE reference & | operator= (T x) |
| Assignment. More... | |
| CUTLASS_HOST_DEVICE T | get () const |
| CUTLASS_HOST_DEVICE | operator T () const |
| Extract. More... | |
| CUTLASS_HOST_DEVICE | operator int () const |
| Explicit cast to int. More... | |
| CUTLASS_HOST_DEVICE | operator float () const |
| Explicit cast to float. More... | |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
1.8.11