MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / ref

Method ref

include/cutlass/tensor_view.h:202–205  ·  view source on GitHub ↗

Returns a TensorRef pointing to the first element of the tensor.

Source from the content-addressed store, hash-verified

200
201 /// Returns a TensorRef pointing to the first element of the tensor.
202 CUTLASS_HOST_DEVICE
203 TensorRef ref() const {
204 return TensorRef(this->data(), this->layout());
205 }
206
207 /// Returns a TensorRef pointing to the first element of the tensor.
208 CUTLASS_HOST_DEVICE

Callers 1

subviewMethod · 0.95

Calls 3

TensorRefClass · 0.85
dataMethod · 0.45
layoutMethod · 0.45

Tested by

no test coverage detected