On Mon, May 9, 2016 at 2:04 AM, Yichao Yu <yyc1...@gmail.com> wrote:
> On Mon, May 9, 2016 at 1:15 AM, Ford Ox <fordfo...@gmail.com> wrote:
>> I have checked the link and read the article. Am I right that the parallel
>> accelerator basically uses C code instead of julia to do the computation?
>> That would be kinda shame dont you think?
>
> No I don't think so.
>
> IIUC it uses C for the threading API, it even has a backend using the
> julia threading API. (And the julia threading API is very incomplete
> and experimental).
> And in general this is not so different from julia generating LLVM IR
> (especially since LLVM has a C backend). Generating C is just usually
> not the as efficient as generating LLVM IR since you'll have parser
> overhead, much less flexible and expressive, unless, as in this case,
> the function/API is in C.

Or in another word, it is at most a shame for LLVM IR for not having a
threading construct (which, admittedly, is a very hard problem but
people are working on it).

>
>>
>> Dne pondělí 9. května 2016 7:00:38 UTC+2 Christian Peel napsal(a):
>>>
>>> > The usual solution is to devectorized your code and to use loops (except
>>> > for matrix multiplication if you have large matrices).
>>>
>>> I am hopeful that ParallelAccelerator.jl [1][2] or similar projects can
>>> enable fast vectorized Julia code
>>>
>>> [1] https://github.com/IntelLabs/ParallelAccelerator.jl
>>> [2] http://julialang.org/blog/2016/03/parallelaccelerator
>>>
>>> On Sun, May 8, 2016 at 3:37 PM, feza <moham...@gmail.com> wrote:
>>>>
>>>> I mean the revised script runs just as fast if not a tad faster with the
>>>> latest master as it does on 0.4.5 : )
>>>>
>>>>
>>>> On Sunday, May 8, 2016 at 5:20:08 PM UTC-4, Patrick Kofod Mogensen wrote:
>>>>>
>>>>> Same as v0.4, or same as before you changed the code?
>>>>>
>>>>> On Sunday, May 8, 2016 at 8:55:00 PM UTC+2, feza wrote:
>>>>>>
>>>>>> roughly the same speed.
>>>>>>
>>>>>> On Sunday, May 8, 2016 at 2:44:19 PM UTC-4, Patrick Kofod Mogensen
>>>>>> wrote:
>>>>>>>
>>>>>>> out of curiosity, what about v0.5?
>>>
>>>
>>>
>>>
>>> --
>>> chris...@ieee.org

Reply via email to