IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo module

elementwise_range

Runs an elementwise body over one contiguous range of a row-major shape.

A target that splits an elementwise loop into one contiguous range per thread, rather than striding it, runs each thread's range with elementwise_range.

Functions​

  • ​elementwise_range: Calls func on the elements of extents from row-major offset start up to end.

Was this page helpful?