• [^] # Re: Comparatif Intel C++ 7.0 / Gcc 3.2.1

    Posté par . En réponse à la dépêche Comparatif Intel C++ 7.0 / Gcc 3.2.1. Évalué à 2.

    Sur mon athlon XP2200+ (1800 MHz), compilé avec gcc 3.2.1 et les options que tu donne (-O3 -funroll-all-loops -fomit-frame-pointer -ffast-math) j'obtient

    Using 2.00 seconds min time per kenel.
    Composite Score: 423.64
    FFT Mflops: 366.44 (N=1024)
    SOR Mflops: 417.09 (100 x 100)
    MonteCarlo: Mflops: 60.19
    Sparse matmult Mflops: 451.97 (N=1000, nz=5000)
    LU Mflops: 822.49 (M=100, N=100)


    À noter que si je compile avec les options par défaut (c'est à dire juste -O6) ça donne ça

    Using 2.00 seconds min time per kenel.
    Composite Score: 435.46
    FFT Mflops: 363.38 (N=1024)
    SOR Mflops: 417.09 (100 x 100)
    MonteCarlo: Mflops: 58.87
    Sparse matmult Mflops: 587.77 (N=1000, nz=5000)
    LU Mflops: 750.18 (M=100, N=100)

    Donc une différence assez notable sur certains tests.