If Apple wants their new pro devices to fully appeal to the professional STEM crowd, they need to create an AS replacement for the Intel MKL (Math Kernel Library) (https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl.html#gs.7m48kb).
It makes a significant difference. This illustrates how much of a difference it makes on x86 chips: The Intel MKL is designed to work only with Intel processors. Thus if you are running, say, Mathematica or Matlab on an AMD device, by default you wouldn't get access to the Intel MKL. However, up until about 2020, users running AMD devices were able to use a Terminal workaround (MKL_DEBUG_CPU_TYPE) to "trick" the MKL into thinking the device had an Intel chip (see https://www.pugetsystems.com/labs/h...for-Python-Numpy-And-Other-Applications-1637/).
Mathematica users with AMD devices have reported 15%–30% speedups when they used this workaround to gain access to the MKL.
MKL versions beginning in 2020 shut the door on this. And of course even if that weren't the case, this wouldn't work on AS. So, IMO, Apple needs to create an equivalent to MKL optimized for AS, and publicize it heavily, so that those building AS-native versions of computational software can incorporate calls to fast math libraries into their code.
It appears Apple hasn't done this yet, since the latest version of Mathematica runs natively on AS, yet its built-in benchmark is slower on the M1 than on the core-i9 iMac (3.1—3.2 on the M1 vs. 4.5 on a 2019 27-inch iMac with a 3.6 GHz 8-Core i9). And this isn't b/c of the difference in core count—the built-in benchmark uses only four cores.
Consistent with Mathematica's native benchmark being slower than expected on the M1, my mid-2014 MBP benchmarks at 3.0—nearly as fast as the M1 machines. And that's definitely not because of core count, b/c my MBP has only 4 cores.
Some have argued that Mathematica needs a better built-in benchmark, and that's probably true, but still...
It makes a significant difference. This illustrates how much of a difference it makes on x86 chips: The Intel MKL is designed to work only with Intel processors. Thus if you are running, say, Mathematica or Matlab on an AMD device, by default you wouldn't get access to the Intel MKL. However, up until about 2020, users running AMD devices were able to use a Terminal workaround (MKL_DEBUG_CPU_TYPE) to "trick" the MKL into thinking the device had an Intel chip (see https://www.pugetsystems.com/labs/h...for-Python-Numpy-And-Other-Applications-1637/).
Mathematica users with AMD devices have reported 15%–30% speedups when they used this workaround to gain access to the MKL.
MKL versions beginning in 2020 shut the door on this. And of course even if that weren't the case, this wouldn't work on AS. So, IMO, Apple needs to create an equivalent to MKL optimized for AS, and publicize it heavily, so that those building AS-native versions of computational software can incorporate calls to fast math libraries into their code.
It appears Apple hasn't done this yet, since the latest version of Mathematica runs natively on AS, yet its built-in benchmark is slower on the M1 than on the core-i9 iMac (3.1—3.2 on the M1 vs. 4.5 on a 2019 27-inch iMac with a 3.6 GHz 8-Core i9). And this isn't b/c of the difference in core count—the built-in benchmark uses only four cores.
Consistent with Mathematica's native benchmark being slower than expected on the M1, my mid-2014 MBP benchmarks at 3.0—nearly as fast as the M1 machines. And that's definitely not because of core count, b/c my MBP has only 4 cores.
Some have argued that Mathematica needs a better built-in benchmark, and that's probably true, but still...
Last edited: