HISE Logo Forum
    • Categories
    • Register
    • Login

    Intel Performance Primitives

    Scheduled Pinned Locked Moved General Questions
    36 Posts 2 Posters 861 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.
    • Adam_GA
      Adam_G @d.healey
      last edited by Adam_G

      @d-healey said in Intel Performance Primitives:

      C:\Program Files (x86)\Intel\oneAPI\ipp\latest\lib

      thanks! that let me compile hise with oneapi default linking but im still getting error C1083: Cannot open include file: 'ipp.h': No such file or directory when i try compiling a vst with ipp :(

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @Adam_G
        last edited by

        @Adam_G Possible it needs to be added here too, in which case I don't think this is a good solution and I have an idea for another which I'll investigate now

        61bfa8e2-92f7-41b2-8142-616d39e81440-image.png

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by d.healey

          Ok I think I solved it, it's an issue with the IPP integration with VS

          In Visual Studio:
          Go to Tools > Options > Intel Compilers and Libraries
          Next to Intel IPP, change the selected library to Intel Integrated Performance Primitives 2022.1 (or whatever version you have)

          Let me know if it works...

          Nope that didn't do it :(

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          Adam_GA 1 Reply Last reply Reply Quote 0
          • Adam_GA
            Adam_G @d.healey
            last edited by Adam_G

            @d-healey a brain bender! following along ive tried all the above. ive also tried including the paths in the Additional Include Directories in the project properties (Project -> [project name] Properties, under C/C++ | General). but ho change

            1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey
              last edited by d.healey

              @Christoph-Hart @Adam_G I've found the root cause of the issue I think...

              There are a few places like this in the source code

              #if IPP_VERSION_MAJOR >= 2021 && IPP_VERSION_MINOR >= 10
              #include <ipp/ippcore.h>
              #include <ipp/ipps.h>
              #else
               #include <ippcore.h>
               #include <ipps.h>
              #endif
               #define JUCE_IPP_AVAILABLE 1
              #endif
              

              And the version check is not working. IPP_VERSION_MAJOR has been set correctly to 2022 but the minor version is only 1 so it's going to the else and looking for ippcore.h instead of ipp/ippcore.h

              If I replace the paths then it "seems" to work.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              Adam_GA 1 Reply Last reply Reply Quote 0
              • Adam_GA
                Adam_G @d.healey
                last edited by

                @d-healey ahhhh wow that was very impressive detective work! 😦 😁

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @Adam_G
                  last edited by d.healey

                  @Adam_G said in Intel Performance Primitives:

                  wow that was very impressive detective work!

                  I just clicked the error message in visual studio ;)

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  Adam_GA 1 Reply Last reply Reply Quote 0
                  • Adam_GA
                    Adam_G @d.healey
                    last edited by

                    @d-healey im watching a master at work 😂

                    1 Reply Last reply Reply Quote 1
                    • d.healeyD
                      d.healey
                      last edited by d.healey

                      @d-healey said in Intel Performance Primitives:

                      #if IPP_VERSION_MAJOR >= 2021 && IPP_VERSION_MINOR >= 10

                      Looks like this was Christoph's attempt to support newer versions of IPP. @Christoph-Hart Please fix :D

                      My suggested fix

                      #if (IPP_VERSION_MAJOR >= 2021 && IPP_VERSION_MINOR >= 10) || IPP_VERSION_MAJOR >= 2022

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      1 Reply Last reply Reply Quote 0
                      • Adam_GA
                        Adam_G
                        last edited by Adam_G

                        could you point me where to edit oh wise one @d-healey

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @Adam_G
                          last edited by d.healey

                          @Adam_G When building HISE just click each error message and it will jump you to the relevant spots in the source code. There were only 3 I think.

                          I'll try my suggested fix tomorrow, if Christoph doesn't get there first, and make a pull request.

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          Adam_GA 1 Reply Last reply Reply Quote 0
                          • Adam_GA
                            Adam_G @d.healey
                            last edited by

                            @d-healey thank you 🙇

                            1 Reply Last reply Reply Quote 0
                            • d.healeyD
                              d.healey
                              last edited by

                              Yeah that worked, here's the PR

                              Libre Wave - Freedom respecting instruments and effects
                              My Patreon - HISE tutorials
                              YouTube Channel - Public HISE tutorials

                              Adam_GA 1 Reply Last reply Reply Quote 1
                              • Adam_GA
                                Adam_G @d.healey
                                last edited by

                                @d-healey hey do you know if this was ever merged, or how can i download your edit? id really like to get ipp added

                                d.healeyD 1 Reply Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @Adam_G
                                  last edited by

                                  @Adam_G said in Intel Performance Primitives:

                                  hey do you know if this was ever merged

                                  Not yet, you can click the PR link above to check. I have a few outstanding PRs, Christoph usually does a bunch of them at a time when he gets around to it.

                                  @Adam_G said in Intel Performance Primitives:

                                  or how can i download your edit?

                                  You can fork HISE and pull in my PR to your fork. Or you can build from my ippFix branch - https://github.com/davidhealey/HISE/tree/ippFix

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  1 Reply Last reply Reply Quote 0
                                  • Adam_GA
                                    Adam_G
                                    last edited by

                                    thanks friend 👍

                                    1 Reply Last reply Reply Quote 0
                                    • Adam_GA
                                      Adam_G
                                      last edited by Adam_G

                                      My project won't open now. I'm in the process of removing things in the XML since its validating okay, but the entire project is really just some parametric eqs so i dont think its anything in the project. should i change BuildVersion="650" ? @d-healey

                                      i had some custom laf scripts in there so i moved all the scripts out to see if it would load with errors but it still crashes So its gotta be that or something i have in the oninit right? just guessing

                                      d.healeyD 1 Reply Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey @Adam_G
                                        last edited by

                                        @Adam_G said in Intel Performance Primitives:

                                        should i change BuildVersion="650" ?

                                        What's that?

                                        Does a new project open and work?

                                        Libre Wave - Freedom respecting instruments and effects
                                        My Patreon - HISE tutorials
                                        YouTube Channel - Public HISE tutorials

                                        Adam_GA 1 Reply Last reply Reply Quote 0
                                        • Adam_GA
                                          Adam_G @d.healey
                                          last edited by

                                          @d-healey I don't know it was in the top of my XML so I assumed it was relevant haha. Yes a new project opens

                                          d.healeyD 1 Reply Last reply Reply Quote 0
                                          • d.healeyD
                                            d.healey @Adam_G
                                            last edited by d.healey

                                            @Adam_G What commit of HISE were you using before building the new one? And what do you mean by won't open - does HISE just crash?

                                            Libre Wave - Freedom respecting instruments and effects
                                            My Patreon - HISE tutorials
                                            YouTube Channel - Public HISE tutorials

                                            Adam_GA 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            16

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts