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

Function isBufferOrShift

src/backend/common/jit/Node.cpp:86–89  ·  view source on GitHub ↗

This function returns true if the \p node is a Shift node or a Buffer node

Source from the content-addressed store, hash-verified

84
85/// This function returns true if the \p node is a Shift node or a Buffer node
86auto isBufferOrShift(const Node_ptr &node) -> bool {
87 return node->getNodeType() == kNodeType::Buffer ||
88 node->getNodeType() == kNodeType::Shift;
89}
90
91} // namespace common
92} // namespace arrayfire

Callers

nothing calls this directly

Calls 1

getNodeTypeMethod · 0.80

Tested by

no test coverage detected