Kev sib piv tsis siv neeg, kuj pib parallelization, lossis autoparallelization hais txog kev hloov cov lej sib txuas mus rau hauv ntau txoj xov thiab / lossis vectorized code txhawm rau siv ntau tus txheej txheem ib txhij hauv lub tshuab sib koom-nco multiprocessor.
Dab tsi yog parallelizing compilers?
Ib "parallelizing compiler" feem ntau yog ib qho compiler uas pom kev sib luag hauv ib qho kev ua ntu zus thiab tsim cov cai tsim nyog rau lub khoos phis tawj sib txuas. Tsis ntev los no parallelizing compilers lees paub cov lus qhia sib luag, xws li array assignments lossis parallel loops.
Dab tsi yog qhov tsim nyog rau kev sib xyaw ua ke?
Qhov tseem ceeb ntawm kev sib piv. Nrog rau txoj kev loj hlob sai ntawm ntau cov tub ntxhais processors, cov kev pab cuam sib luag tuaj yeem ua kom zoo dua kom khiav nrawm dua li cov kev pabcuam serial . Compilers tsim los hloov cov kev pab cuam serial kom khiav hauv parallel yog parallelizing compilers.
Dab tsi yog parallelization hauv kev suav?
Parallelization yog tus qauv tsim lub khoos phis tawj lossis qhov system los ua cov ntaub ntawv sib luag. Feem ntau, cov khoos phis tawj khoos phis tawj suav cov ntaub ntawv serially: lawv daws ib qho teeb meem, thiab tom qab ntawd tom ntej, tom qab ntawd. … Parallelization raws li cov txheej txheem suav tau siv tau ntau xyoo, tshwj xeeb tshaj yog nyob rau hauv kev ua haujlwm ntawm supercomputing.
Yuav ua li cas compilers yuav siv tau rau optimization nyob rau hauv parallel systems?
Raws li cov lej linear programming,restructuring compilers txhim kho cov ntaub ntawv hauv cheeb tsam thiab nthuav tawm ntau qhov sib npaug los ntawm kev rov txiav txim dua. Space-optimizing compilers tuaj yeem rov xaj cov lej kom ntev zuj zus uas tuaj yeem ua rau hauv subroutines.