HISE Logo Forum
    • Categories
    • Register
    • Login

    xSIMD and hise? Is it integrated already

    Scheduled Pinned Locked Moved Solved ScriptNode
    5 Posts 3 Posters 184 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • griffinboyG
      griffinboy
      last edited by griffinboy

      I noticed that xSIMD is being used in hise for parallel processing for the RTNeural.

      Is that true? And can 3rd party c++ notes tap into that?
      If so how can I include it in my node, I can't seem to find the xSIMD files inside of hise project files, but it does exist in Hise Develop. Not sure whether that means we aren't actually using xSIMD in hise.

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @griffinboy
        last edited by ustk

        @griffinboy It apparently is avail in SNEX, so I would imagine it is straight forward in C++, unless it effectively needs a manual inclusion...

        Have a search in the folder Hise/tools/snex_playground/test_files, there are some examples

        Can't help pressing F5 in the forum...

        griffinboyG 2 Replies Last reply Reply Quote 1
        • griffinboyG
          griffinboy @ustk
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • griffinboyG
            griffinboy @ustk
            last edited by griffinboy

            @ustk

            Hmm I did finally get round to looking, but no luck.

            However in Hise Develop it does seem to be already integrated (in part) for RTNeural

            5d0409e1-f355-45fa-b6cb-7e34502843d3-image.png

            But I believe this to be a smaller version rather than the xSIMD.

            Attempting to set up the library manually has been tricky.
            I'm not really sure how to do that in Hise. I'm hoping there is somewhere that I can add the paths for the library. Because simply including the header for xSIMD inside a c++ node is not enough. The headers that make up xSIMD immediately return errors saying that the files couldn't include each other because they can't find each other.

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @griffinboy
              last edited by

              @griffinboy yes it's included within the RTNeural code folder, but it's only available in the translation unit that compiles the RTNeural code (the hi_tools module).

              In order to make it accessible on other translation units and your own nodes you have to add this line to hi_tools/hi_tools.h:

              #include "hi_neural/RTNeural/modules/xsimd/xsimd.hpp"
              

              The place doesn't really matter, but somewhere around line 150 would be a good spot.

              1 Reply Last reply Reply Quote 2
              • griffinboyG griffinboy marked this topic as a question on
              • griffinboyG griffinboy has marked this topic as solved on
              • First post
                Last post

              19

              Online

              1.7k

              Users

              11.8k

              Topics

              103.2k

              Posts