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

Method genOffsets

src/backend/common/jit/Node.hpp:217–222  ·  view source on GitHub ↗

Generates the variable that stores the thread's/work-item's offset into the memory. \param[in/out] kerStream The string will be written to this stream \param[in] ids The integer id of the node and its children \param[in] is_linear True if the kernel is a linear kernel

Source from the content-addressed store, hash-verified

215 /// \param[in] ids The integer id of the node and its children
216 /// \param[in] is_linear True if the kernel is a linear kernel
217 virtual void genOffsets(std::stringstream &kerStream, int id,
218 bool is_linear) const {
219 UNUSED(kerStream);
220 UNUSED(id);
221 UNUSED(is_linear);
222 }
223
224 /// Generates the code for the operation of the node.
225 ///

Callers 3

getKernelStringFunction · 0.45
getKernelStringFunction · 0.45
getKernelStringFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected