xSIMD and hise? Is it integrated already
-
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. -
@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 -
This post is deleted! -
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
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. -
@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.
-
G griffinboy marked this topic as a question
-
G griffinboy has marked this topic as solved