MCPcopy Create free account
hub / github.com/Tencent/hpc-ops / data

Method data

3rd/cutlass/include/cute/container/array_subbyte.hpp:493–494  ·  view source on GitHub ↗

In analogy to std::vector ::data(), these functions are deleted to prevent bugs. Instead, prefer auto* data = raw_pointer_cast(my_subbyte_array.begin()); where the type of auto* is implementation-defined and with the knowledge that [data, data + my_subbyte_array.size()) may not be a valid range.

Source from the content-addressed store, hash-verified

491 // where the type of auto* is implementation-defined and
492 // with the knowledge that [data, data + my_subbyte_array.size()) may not be a valid range.
493 CUTE_HOST_DEVICE constexpr
494 pointer data() = delete;
495
496 CUTE_HOST_DEVICE constexpr
497 const_pointer data() const = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected