-
公开(公告)号:US08799629B2
公开(公告)日:2014-08-05
申请号:US12328262
申请日:2008-12-04
申请人: Huseyin S. Yildiz , Stephen S. Toub , Paul Ringseth , John Duffy
发明人: Huseyin S. Yildiz , Stephen S. Toub , Paul Ringseth , John Duffy
CPC分类号: G06F9/5027 , G06F2209/5018
摘要: A method of executing a loop over an integer index range of indices in a parallel manner includes assigning a plurality of index subsets of the integer index range to a corresponding plurality of threads, and defining for each index subset a start point of the index subset, an end point of the index subset, and a boundary point of the index subset positioned between the start point and the end point of the index subset. A portion of the index subset between the start point and the boundary point represents a private range and the portion of the index subset between the boundary point and the end point represents a public range. Loop code is executed by each thread based on the index subset of the integer index range assigned to the thread.
摘要翻译: 以并行方式在索引的整数索引范围上执行循环的方法包括将整数索引范围的多个索引子集分配给相应的多个线程,并为每个索引子集定义索引子集的起始点, 索引子集的终点,以及位于索引子集起始点和终点之间的索引子集的边界点。 起始点和边界点之间的索引子集的一部分表示专用范围,边界点和终点之间的索引子集的一部分表示公共范围。 循环代码由每个线程基于分配给线程的整数索引范围的索引子集执行。
-
公开(公告)号:US20100146245A1
公开(公告)日:2010-06-10
申请号:US12328262
申请日:2008-12-04
申请人: Huseyin S. Yildiz , Stephen S. Toub , Paul Ringseth , John Duffy
发明人: Huseyin S. Yildiz , Stephen S. Toub , Paul Ringseth , John Duffy
IPC分类号: G06F9/30
CPC分类号: G06F9/5027 , G06F2209/5018
摘要: A method of executing a loop over an integer index range of indices in a parallel manner includes assigning a plurality of index subsets of the integer index range to a corresponding plurality of threads, and defining for each index subset a start point of the index subset, an end point of the index subset, and a boundary point of the index subset positioned between the start point and the end point of the index subset. A portion of the index subset between the start point and the boundary point represents a private range and the portion of the index subset between the boundary point and the end point represents a public range. Loop code is executed by each thread based on the index subset of the integer index range assigned to the thread.
摘要翻译: 以并行方式在索引的整数索引范围上执行循环的方法包括将整数索引范围的多个索引子集分配给相应的多个线程,并为每个索引子集定义索引子集的起始点, 索引子集的终点,以及位于索引子集起始点和终点之间的索引子集的边界点。 起始点和边界点之间的索引子集的一部分表示专用范围,边界点和终点之间的索引子集的一部分表示公共范围。 循环代码由每个线程基于分配给线程的整数索引范围的索引子集执行。
-