Coder Social home page Coder Social logo

FMA support in clang++-3.8 about grid HOT 4 CLOSED

paboyle avatar paboyle commented on July 18, 2024
FMA support in clang++-3.8

from grid.

Comments (4)

paboyle avatar paboyle commented on July 18, 2024 1

Hi Jim,

can you add -mfma to the Clang++ flags.

I think/suspect that clang is not supporting it by default when it does make sense that "avx2" should
include all of avx2.

On my haswell MacBook, I use clang 3.8:

../../configure --enable-precision=single --enable-simd=AVX2 CXXFLAGS=-mavx2 -mfma -O3 -std=c++11 -fopenmp LDFLAGS=-L/opt/llvm-3.8/lib/ LIBS=-lgmp -lmpfr -fopenmp --enable-comms=none CXX=/opt/llvm-3.8/bin/clang++

from grid.

paboyle avatar paboyle commented on July 18, 2024

any progress -- I know it is PR but I'd like to close issues before lattice conference ;)

from grid.

james-simone avatar james-simone commented on July 18, 2024

Hi Peter,

Sorry for the slow response! I followed you suggestion and the code compiles and runs.

--jim

On 07/06/2016 04:56 PM, Peter Boyle wrote:

any progress -- I know it is PR but I'd like to close issues before lattice conference ;)


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #38 (comment), or mute the
thread https://github.com/notifications/unsubscribe/AGIAzmVtGwIN1VoCsD5OkusFUuP5LO-1ks5qTCSMgaJpZM4JAOL5.

--jim

from grid.

paboyle avatar paboyle commented on July 18, 2024

Thanks Jim,
closing.

from grid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.