JargonFile/original/html/S/strided.html
2014-03-27 18:54:56 +00:00

13 lines
2.3 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>strided</title><link rel="stylesheet" href="../../jargon.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.61.0"/><link rel="home" href="../index.html" title="The Jargon File"/><link rel="up" href="../S.html" title="S"/><link rel="previous" href="STR.html" title="STR"/><link rel="next" href="stroke.html" title="stroke"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">strided</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="STR.html">Prev</a> </td><th width="60%" align="center">S</th><td width="20%" align="right"> <a accesskey="n" href="stroke.html">Next</a></td></tr></table><hr/></div><dt><a id="strided"/><dt xmlns="" id="strided"><b>strided</b>: <span xmlns="http://www.w3.org/1999/xhtml" class="pronunciation">/stri:´d@d/</span>, <span xmlns="http://www.w3.org/1999/xhtml" class="grammar">adj.</span></dt></dt><dd><p> [scientific computing] Said of a sequence of memory reads and writes
to addresses, each of which is separated from the last by a constant
interval called the <span class="firstterm">stride length</span>.
These can be a worst-case access pattern for the standard memory-caching
schemes when the stride length is a multiple of the cache line size.
Strided references are often generated by loops through an array, and (if
your data is large enough that access-time is significant) it can be
worthwhile to tune for better locality by inverting double loops or by
partially unrolling the outer loop of a loop nest. This usage is
borderline techspeak; the related term <span class="firstterm">memory
stride</span> is definitely techspeak.</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="STR.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../S.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="stroke.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">STR </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> stroke</td></tr></table></div></body></html>