Új hozzászólás Aktív témák

  • S_x96x_S

    őstag

    válasz S_x96x_S #7477 üzenetére

    státus:

    Post by agner » 2022-08-08, 9:13:02
    szerencsére az Intel clang fordítóra váltott
    ami ingyenes .. és ez már nem hozza etikátlanul hátrányba az AMD procikat ..
    https://www.agner.org/forum/viewtopic.php?f=1&t=6#p216

    agner: """
    There is an important update to this story. Intel have switched to a Clang-based compiler that works well with non-Intel microprocessors.

    If you download the new Intel "oneAPI" Compiler, you get two versions. A legacy version named "Classic" which is a continuation of the old compiler, and a new "LLVM-based" version which is in fact a forking of the Clang compiler. The classic version is not recommended for new projects and may soon be discontinued.

    ...

    The same article shows benchmarks indicating that Intel's LLVM-based compiler optimizes better than Clang. However, such a difference is not seen in my tests.

    My conclusion now is that Intel's LLVM-based compiler may be used for compiling code that can run on all brands of CPUs, but you may as well use the plain Clang compiler which is almost identical and optimizes at least as good.

    Intel's SVML library may be used for vector math functions. Other alternatives include the Sleef library and my Vector class library.

    Other Intel function libraries should be used with care as long as there is no clear indication from Intel about the CPU dispatching in these libraries. You may do your own tests to see how well they perform on the best AMD processors.
    """

    Mottó: "A verseny jó!"

Új hozzászólás Aktív témák