Menu

AVX detection

Help
knoppmyth
2018-07-05
2018-07-16
  • knoppmyth

    knoppmyth - 2018-07-05

    Hi,

    There appears to be a bug with 19.13 AVX detection when using python setup. Attempting to compile on a Celeron N3160 show that AVX is supported by the CPU. However, the N3160 does not support AVX.

    Thanks in advance,

    cesman

     
    • Davis

      Davis - 2018-07-05

      What happens exactly?

       
  • knoppmyth

    knoppmyth - 2018-07-05

    It continues to compile. But running it, results in a core dump. I'm sure the dump is a result of AVX as I had this issue before in an earlier build. Once I disabled AVX, it was fine. I've since gotten an i3 as my testbed, but wanted you to know of the potential issue with AVX auto detection. Of course, I'm happy to test any solution you may have in auto detecting.

     
    • Davis

      Davis - 2018-07-05

      Sure. When you go into the dlib/cmake_utils/test_for_avx folder and run
      cmake . what does it output?

       
      • Davis

        Davis - 2018-07-05

        Also make sure you are using the latest dlib from github. It's possible
        that this has been fixed already.

         
  • knoppmyth

    knoppmyth - 2018-07-15

    Apologies for the late response... I cloned the latest from github and went through the build process. AVX is no longer detected on the N3160! Thanks Davis.

     
    • Davis

      Davis - 2018-07-15

      No worries, thanks for the update!

       
  • knoppmyth

    knoppmyth - 2018-07-16

    You're welcome. Thank you for dlib!

     

Log in to post a comment.