C compiler and multi-core support

Discussion in 'C Programming' started by Martinfnp, Feb 17, 2006.

  1. Martinfnp

    Martinfnp Guest

    Hello all, I'm completely new in theory of C compiler and it's support
    for multi-core hardware. Does anybody know whether compiler for
    multi-core and SMP/AMP/BMP does need some special internal features?
    I'm not talking right know about libs, just translation of the C code
    into the instructions. I still understand that the most responsibility
    is on the OS side and application even doesn't need to be recompiled.
    Just special libs for SMP/BMP/AMP need to be linked? Is that correct or
    am I wrong? How is it in the case there is no OS running, just basic
    firmware? Martin
    Martinfnp, Feb 17, 2006
    #1
    1. Advertising

  2. Martinfnp

    loufoque Guest

    Martinfnp a écrit :
    > Does anybody know whether compiler for
    > multi-core and SMP/AMP/BMP does need some special internal features?


    I think you only need a SMP-enabled kernel.
    As I don't know much about that stuff, I may be wrong though.
    loufoque, Feb 17, 2006
    #2
    1. Advertising

  3. Martinfnp

    Martinfnp Guest

    I've found OpenMP which is probably coming as an standard. Today Intel
    has it implemented in their compilers. You simply write app once and
    then you decide whether it should be compiled for multi-core and up to
    which level of the parallelism. It's really looking cool. Does anybody
    know if somebody else is working to implement OpenMP into their
    compilers? I just don't want follow dead thread. www.openmp.org
    Martinfnp, Feb 17, 2006
    #3
  4. Martinfnp

    Ian Collins Guest

    Martinfnp wrote:
    > I've found OpenMP which is probably coming as an standard. Today Intel
    > has it implemented in their compilers. You simply write app once and
    > then you decide whether it should be compiled for multi-core and up to
    > which level of the parallelism. It's really looking cool. Does anybody
    > know if somebody else is working to implement OpenMP into their
    > compilers? I just don't want follow dead thread. www.openmp.org
    >

    Sun compilers support OpenMP.

    --
    Ian Collins.
    Ian Collins, Feb 17, 2006
    #4
  5. On 17 Feb 2006 10:37:21 -0800, in comp.lang.c , "Martinfnp"
    <> wrote:

    >Hello all, I'm completely new in theory of C compiler and it's support
    >for multi-core hardware. Does anybody know whether compiler for
    >multi-core and SMP/AMP/BMP does need some special internal features?


    This is completely offtopic here since the topic is the C Language.
    You would need to ask in groups specialising in whatever compiler
    and/or OS you want to think about.
    Mark McIntyre
    --
    "Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are,
    by definition, not smart enough to debug it."
    --Brian Kernighan

    ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
    http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
    ----= East and West-Coast Server Farms - Total Privacy via Encryption =----
    Mark McIntyre, Feb 17, 2006
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    907
    Kai Schwebke
    Mar 14, 2007
  2. rym3k
    Replies:
    1
    Views:
    947
    =?UTF-8?B?QXJuZSBWYWpow7hq?=
    Jul 6, 2007
  3. Chen
    Replies:
    15
    Views:
    10,142
    Arne Vajhøj
    Jan 19, 2008
  4. Grizlyk
    Replies:
    11
    Views:
    438
    Grizlyk
    Mar 1, 2008
  5. Gyoung-Yoon Noh
    Replies:
    1
    Views:
    83
    James Britt
    Dec 24, 2005
Loading...

Share This Page