Wednesday, April 1st 2020
AMD Processors No Longer Crippled with Latest MATLAB MKL Update
MATLAB received an update that no longer cripples users of AMD processors. Back in November 2019, there was quite some controversy when it emerged that MATLAB, a popular computing platform popular with engineering firms, universities, and research institutes, wasn't working optimally with AMD processors. Specifically, the suite's Intel MKL (math kernel library) component was designed such that if it didn't recognize the "GenuineIntel" CPUID string, it would disable fast AVX2 code-paths and fall back to SSE. This would inflict anywhere between 20-300 percent performance penalties on "AuthenticAMD" processors.
Reddit user Nedflanders1976 developed a tweak back in November, which spoofs MKL into thinking AMD processors are "GenuineIntel," enabling it to leverage modern instruction sets such as SSE4, AVX, and AVX2. AMD processors have been supporting SSE4 and AVX since its 2011 FX-series, and AVX2 since 2017 Ryzen. With the latest R2020a version, MATLAB automatically enables AVX2 execution on AMD processors that support the instruction set. A quick set of tests by ExtremeTech confirms that the update does indeed leverage the faster code-path by default, with Ryzen Threadripper 3960X and 3970X gaining over 200% performance and beating the Core i9-10980XE (something that needed the Nedflanders1976 tweak earlier).
Sources:
Nedflanders1976 (Reddit), ExtremeTech
Reddit user Nedflanders1976 developed a tweak back in November, which spoofs MKL into thinking AMD processors are "GenuineIntel," enabling it to leverage modern instruction sets such as SSE4, AVX, and AVX2. AMD processors have been supporting SSE4 and AVX since its 2011 FX-series, and AVX2 since 2017 Ryzen. With the latest R2020a version, MATLAB automatically enables AVX2 execution on AMD processors that support the instruction set. A quick set of tests by ExtremeTech confirms that the update does indeed leverage the faster code-path by default, with Ryzen Threadripper 3960X and 3970X gaining over 200% performance and beating the Core i9-10980XE (something that needed the Nedflanders1976 tweak earlier).
42 Comments on AMD Processors No Longer Crippled with Latest MATLAB MKL Update
Wow.
Intel makes good products that companies 'want to sell'. That is a different ball game to what you are stating. Others might have good products, but how is it different than any other industry? Are we going to argue intel cpus have good features(speedstep always works to a t)... They aren't nvidia for instance, nor amd. They might not be the most ingenious, but it shows the level of their clearcut standards.
:confused: Really? 15 years ago when AMD launched the famous Opteron series of server CPUs, Dell wanted to sell them but Intel told them not to and paid up to $900M quarterly in "rebates" from the MOAP.
So, hardly anyone wants to sell Intel products.
Maybe WiFi cards and SSDs, but CPUs and GPUs, hell, no!
That's mafia at its finest.