Can you improve CPU performance with Intel library?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Jouni
Posts: 3279
Joined: Wed Mar 08, 2006 8:15 pm

Can you improve CPU performance with Intel library?

Post by Jouni »

I mean this https://software.intel.com/en-us/mkl ? I am VERY suspicious.
Jouni
Sesse
Posts: 300
Joined: Mon Apr 30, 2018 11:51 pm

Re: Can you improve CPU performance with Intel library?

Post by Sesse »

It depends on what calculations you are doing.

If you want to speed up big matrix multiplications, FFTs or other numerical code (and you don't want to push it to the GPU), MKL can help you. But an alpha-beta chess engine does none of that. NN engines do big matrix multiplications and convoltions, but a GPU is typically a better bet for that anyway.

It's a bit like asking whether having an lawn mower is useful. It depends; if you want to cut the grass, it's great, but if what you needed was a place to cook dinner, perhaps not so much…
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Can you improve CPU performance with Intel library?

Post by zullil »

Sesse wrote: Fri Jan 04, 2019 10:50 am
It's a bit like asking whether having an lawn mower is useful. It depends; if you want to cut the grass, it's great, but if what you needed was a place to cook dinner, perhaps not so much…
:lol:
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Can you improve CPU performance with Intel library?

Post by xr_a_y »

Maybe VSL can help if you need a lot of random number ... but fft, blas and lapack won't be use for a a/b search (except for texel tuning).
Jouni
Posts: 3279
Joined: Wed Mar 08, 2006 8:15 pm

Re: Can you improve CPU performance with Intel library?

Post by Jouni »

Maybe I can speedup Lc0 from 10 nps to 15 nps :) . Not worth the effort as there were warnings about overheating and big RAM usage.
Jouni