[LLVMdev] no differnce in the execution time between seq. and parallel programs
Duncan Sands
baldrick at free.fr
Tue Jun 5 12:49:27 PDT 2012
Hi esraa,
> i am using LLVM to execute two programs both of them was exactly
> similar but the difference was the first one is a sequential program
> has three functions. In the second program i am trying to execute it
> by giving each function to thread (three thread work in parallel way)
> ,but when i am trying to calculate the execution time i found the
> execution time for parallel one larger than sequential one ????
this is a very vague description and it's hard to understand what you mean
here. Maybe you mean that you used clang to compile a program containing
openmp macros. If so you have discovered that clang does not support openmp:
use the dragonegg LLVM front-end instead.
Ciao, Duncan.
>
> note
> I execute both of these program in gcc compiler and i found there is a
> difference in the execution time between these programs.The parallel
> one was faster than the sequential one.
>
> i will be thankful if any one can help me
> Regards
> esraa
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list