C# Class NSoft.NFramework.Parallelism.Tools.ParallelTool

Mostrar archivo Open project: debop/NFramework

Public Methods

Method Description
Wavefront ( int rows, int cols, int>.Action processCell ) : void

매트릭스에서 각 Cell의 연산을 Wavefront (물결)과 같이, 상위 Cell, 좌측 Cell의 작업이 완료한 후에, 작업하도록 합니다.

Wavefront ( int rows, int cols, int blocksPerRow, int blocksPerCol, Action processBlock ) : void

Matrix 연산 중에 현재 행보다 아래와 현재 열보다 오른쪽의 요소에 대해 작업을 Wavefront라 한다. 이를 병렬로 수행할 수 있도록 합니다.

Method Details

Wavefront() public static method

매트릭스에서 각 Cell의 연산을 Wavefront (물결)과 같이, 상위 Cell, 좌측 Cell의 작업이 완료한 후에, 작업하도록 합니다.
public static Wavefront ( int rows, int cols, int>.Action processCell ) : void
rows int 매트릭스 행 수
cols int 매트릭스 열 수
processCell int>.Action 매트릭스의 각 셀을 처리할 델리게이트
return void

Wavefront() public static method

Matrix 연산 중에 현재 행보다 아래와 현재 열보다 오른쪽의 요소에 대해 작업을 Wavefront라 한다. 이를 병렬로 수행할 수 있도록 합니다.
public static Wavefront ( int rows, int cols, int blocksPerRow, int blocksPerCol, Action processBlock ) : void
rows int 매트릭스 행 수
cols int 매트릭스 열 수
blocksPerRow int 매트릭스 행 분할 수
blocksPerCol int 매트릭스 열 분할 수
processBlock Action 매트릭스의 분할된 서브매트릭스를 처리할 델리게이트. processBlock(startRow, endRow, startCol, endCol);
return void