C# 클래스 NSoft.NFramework.Parallelism.Tools.ParallelTool

파일 보기 프로젝트 열기: debop/NFramework

공개 메소드들

메소드 설명
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라 한다. 이를 병렬로 수행할 수 있도록 합니다.

메소드 상세

Wavefront() 공개 정적인 메소드

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

Wavefront() 공개 정적인 메소드

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);
리턴 void