[pypy-dev] An idea about automatic parallelization in PyPy/RPython

haael at interia.pl haael at interia.pl
Wed Nov 19 17:31:53 CET 2014


Hi

I find it brilliant.

Thanks
haael



Od: "黄若尘" <hrc706 at gmail.com>
Do: pypy-dev at python.org; 
Wysłane: 2:46 Wtorek 2014-11-18
Temat: [pypy-dev] An idea about automatic parallelization in PyPy/RPython

> Hi everyone,
>    
>    I’m a master student in Japan and I want to do some research in PyPy/RPython. 
>    I have read some papers about PyPy and I also had some ideas about it.  I have communicated with Mr. Bloz and been advised to send my question here.
> 
>    Actually, I wonder if it is possible to make an automatic parallelization for the trace generated by JIT, that is, check if the hot loop is a parallel loop, if so, then try to run the trace parallel in multi-core CPU or GPU, make it faster.
>    I think it maybe suitable because:
>    1. The traced-base JIT is targeting on loops, which is straight to parallel computation.
>    2. There is no control-flow in trace, which is suitable to the fragment program in GPU. 
>    3. We may use the hint of @elidable in interpreter codes, since the elidable functions are nonsensitive in the execution ordering so can be executed parallel.
> 
>    What do you think about it?
> 
> Best Regards, 
> Huang Ruochen
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
> 




More information about the pypy-dev mailing list