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

Method offset

include/cutlass/tensor_ref.h:315–318  ·  view source on GitHub ↗

Computes the offset of an index from the origin of the tensor

Source from the content-addressed store, hash-verified

313
314 /// Computes the offset of an index from the origin of the tensor
315 CUTLASS_HOST_DEVICE
316 LongIndex offset(TensorCoord const& coord) const {
317 return layout_(coord);
318 }
319
320 /// Returns a reference to the element at a given Coord
321 CUTLASS_HOST_DEVICE

Callers 15

jquery.jsFile · 0.45
FFunction · 0.45
vFunction · 0.45
accumToSmemMethod · 0.45
loadFunction · 0.45
upcastFunction · 0.45
operator+Method · 0.45
TensorViewClass · 0.45
operator-Method · 0.45
operator+Method · 0.45
operator-Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected