A quick search shows that Mathematica is using Intel MKL

By: Maynard Handley (name99.delete@this.name99.org), October 22, 2017 6:08 pm
Room: Moderated Discussions
Anon (no.delete@this.email.com) on October 22, 2017 5:12 pm wrote:
> Gabriele Svelto (gabriele.svelto.delete@this.gmail.com) on October 21, 2017 11:38 pm wrote:
> > Mathematica Quick Revision History
> >
> > Check the entry for version 8.0.4
> Yes, quite. what a damn surprise.

Anon, I don't get what you are saying, or trying to imply.

We have the following facts
- the Mathematica engine on iPad performs equivalently to its Intel counterpart except in two specific areas
+ bignums
+ large floating point matrices
+ FFTs remain uncertain. You'd assume they're using MKL, but unlike the linear algebra situation, I can find no evidence for this. Certainly (like linear algebra) they do not appear to be using the Apple-supplied FFT routines.

- the discrepancy between the iPad performance and the Intel performance is so large that it is unreasonable to assume that the available libraries (GMP, Apple Accelerate) are being used but have been inadequately optimized.

GIVEN these facts, a much more reasonable assumption is that (for some reason) external libraries are not being used by the iPad version of the engine.

Why might this be? Who knows?
Maybe it's technical (something specific about the use of LLVM? perhaps gcc was used for the rPi version of Mathematica which, as far as I can tell, does use an external library for BLAS, and presumably also uses GMP; but LLVM can't handle something particular in GMP)?
Maybe it's a legal/business decision --- for whatever reason Wolfram has decided that the way they want to use THIS particular product (which contains the Mathematica engine, but is NOT Mathematica) they don't want any external dependencies in the core code?

What are you trying to get at, beyond those facts?
I personally think, after investigating this in detail, that the situation is better than I expected. I started off afraid that there'd be a lot of external library dependencies (crypto/compression? FFTW? image import/processing? audio processing? network?), and that these would take time to be moved to ARM64.

It's still possible that this is the case, but I have not found any evidence of such in my explorations on the internet so far. So while porting may still be a substantial problem for other large code bases, this particular code base that I care about seems to be in adequate shape, with the porting problem based on something BEYOND "the library does not exist for A64, or has not been adequately tested/debugged/optimized".
< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
Mathematica on iPadMaynard Handley2017/10/20 01:34 AM
  Mathematica on iPaddmcq2017/10/20 07:26 AM
    Mathematica on iPadMaynard Handley2017/10/20 01:41 PM
      Mathematica on iPadMaynard Handley2017/10/20 08:16 PM
        Does this give better formatting?Maynard Handley2017/10/20 08:20 PM
          Does this give better formatting?anon2017/10/20 09:37 PM
            Does this give better formatting?Maynard Handley2017/10/20 10:29 PM
              Does this give better formatting?anon2017/10/21 12:52 AM
                Does this give better formatting?Maynard Handley2017/10/21 09:48 AM
                  Does this give better formatting?anon2017/10/21 10:01 AM
        Mathematica on iPadAdrian2017/10/21 01:49 AM
          Sorry for the typoAdrian2017/10/21 01:51 AM
          Mathematica on iPaddmcq2017/10/21 07:03 AM
            Mathematica on iPadMaynard Handley2017/10/21 09:58 AM
          Mathematica on iPadWilco2017/10/21 07:16 AM
            Mathematica on iPadDoug S2017/10/21 09:02 AM
              Mathematica on iPadMegol2017/10/22 05:24 AM
            clang __builtin_addcllMichael S2017/10/21 11:05 AM
          Mathematica on iPadMaynard Handley2017/10/21 09:55 AM
  Mathematica on iPadAnon2017/10/21 04:20 PM
    Mathematica on iPadMaynard Handley2017/10/21 05:51 PM
      Mathematica on iPadAnon2017/10/21 09:56 PM
        Mathematica on iPadMaynard Handley2017/10/22 12:23 AM
      A quick search shows that Mathematica is using Intel MKLGabriele Svelto2017/10/21 11:38 PM
        A quick search shows that Mathematica is using Intel MKLAnon2017/10/22 05:12 PM
          A quick search shows that Mathematica is using Intel MKLMaynard Handley2017/10/22 06:08 PM
            A quick search shows that Mathematica is using Intel MKLDoug S2017/10/22 10:40 PM
            A quick search shows that Mathematica is using Intel MKLMichael S2017/10/23 05:32 AM
  Mathematica on iPadnone2017/10/22 06:06 AM
    Mathematica on iPaddmcq2017/10/23 03:43 AM
Reply to this Topic
Body: No Text
How do you spell avocado?