Git Product home page Git Product logo

Comments (4)

MattOslinKodiak avatar MattOslinKodiak commented on June 11, 2024

This seems to be specific to the avx2 kernel, the generic c kernel does not have this issue.

from blasfeo.

giaf avatar giaf commented on June 11, 2024

Hi, I've never encountered such an issue.
It may be something very specific about your target architecture / OS / compiler / static or shared library combination.
And yes, it is expected that the issue only appears in the assembly kernels (as used e.g. in avx2, avx and sse3 kernels) since these are hard-coded by me; the generic kernel only uses C code, so the compiler takes care of producing the correct object code for the specific platform.
Can you share some more details about your platform?

from blasfeo.

MattOslinKodiak avatar MattOslinKodiak commented on June 11, 2024

Thanks for the reply! This is on an Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz processor, which supports avx2

from blasfeo.

giaf avatar giaf commented on June 11, 2024

Sorry for the late reply.

I installed clang-12 on ubuntu 20.04 but I could not replicate the issue.

This is most likely specific to some (predefined) compiler flag.
Probably the compiler / linker is attempting at merging the read-only data section from different assembly source files (the generic target doesn't use assembly in the kernels, that's why there is no issue there), and it is somehow not happy about something there.
You could try to add some assembler / compiler / linker flag to disable sections merging, e.g. something similar to https://stackoverflow.com/questions/46688618/how-to-switch-off-local-array-merging-in-clang
I'm sorry but since I can not reproduce the issue I can't give much more specific answers.
If you find a solution, please share it here.

About HPIPM not compiling with BLASFEO 0.1.3, could you report what the issue is?

from blasfeo.

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.