MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / isLinear

Method isLinear

src/backend/cpu/jit/BufferNode.hpp:143–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 bool isLinear(const dim_t *dims) const final {
144 return m_linear_buffer && dims[0] == m_dims[0] &&
145 dims[1] == m_dims[1] && dims[2] == m_dims[2] &&
146 dims[3] == m_dims[3];
147 }
148
149 size_t getHash() const noexcept final {
150 std::hash<const void *> ptr_hash;

Callers 4

createSubArrayFunction · 0.45
copyDataFunction · 0.45
transformFunction · 0.45
evalMultipleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected