Main Content

분산 배열

분산 배열과 동시 실행을 사용하여 빅데이터 세트를 병렬로 분석합니다

Parallel Computing Toolbox™는 큰 배열을 여러 MATLAB® 워커에 걸쳐 분할할 수 있도록 분산 배열을 지원합니다. 사용자는 전체 배열을 단일 개체로 보고 연산을 수행하지만, 워커는 배열의 일부에 대해서만 연산을 수행하고 필요한 경우 워커 간에 자동으로 데이터를 전송합니다. 워커 간 통신이 용이하도록 단일 프로그램 다중 데이터(spmd) 언어 구문에서 동시 실행이 지원됩니다. 분산 지원 행렬 연산과 함수를 사용하여 이러한 배열을 추가적으로 수정하지 않고 직접 사용할 수 있습니다. Parallel Computing Toolbox에서 분산 배열을 사용하면 클러스터의 결합된 메모리를 사용하여 빅데이터 응용 프로그램을 실행할 수 있습니다.

함수

모두 확장

distributed분산 배열의 요소를 클라이언트에서 생성 및 액세스
gather로컬 작업 공간으로 분산 배열, Composite 객체 또는 gpuArray 객체 전송
spmd병렬 풀의 워커에서 코드를 병렬로 실행
Composite여러 워커에 분산되지 않은 변수를 클라이언트에서 생성 및 액세스
parallel.pool.Constant데이터 또는 함수 핸들에서 상수를 만들어서 사용
delete (Pool)병렬 풀 종료
redistributeRedistribute codistributed array with another distribution scheme
codistributedAccess elements of arrays distributed among workers in parallel pool
codistributor1d공동분산 배열을 위한 1차원 분산 방식
codistributor2dbc2-D block-cyclic distribution scheme for codistributed array
codistributed.buildCreate codistributed array from distributed data
for분산된 범위에 대한 for 루프
getLocalPart공동분산 배열의 국소 부분
globalIndicesGlobal indices for local part of codistributed array
spmdReduceReduce arrays on spmd workers (R2022b 이후)
writeWrite distributed data to an output location
pagefunApply function to each page of distributed or GPU array

클래스

모두 확장

parallel.Pool워커의 병렬 풀

예제 및 방법

개념