IntelLabs / HPAT.jl

High Performance Analytics Toolkit (HPAT) is a Julia-based framework for big data analytics on clusters.
BSD 2-Clause "Simplified" License
120 stars 16 forks source link

Index Analysis for Inference #5

Open ehsantn opened 8 years ago

ehsantn commented 8 years ago

DistributedPass inference needs proper index analysis for arrays accessed in parfors.

DrTodd13 commented 8 years ago

Do you have a test case I can work on this with?

ehsantn commented 8 years ago

If a parfor p has index variable i and array is accessed with index variable j, we need to make sure j doesn't depend on i before parallelizing p. This requires dependence analysis.

DrTodd13 commented 7 years ago

Think my latest checkin does this. It passes index_test.jl at least.

ehsantn commented 7 years ago

The result of index_test.jl is wrong I believe. All arrays should be SEQ but they are not. I update the test to properly check for this.