Hacker Newsnew | past | comments | ask | show | jobs | submit | oispakaljaa's commentslogin

What a disappointment, I was expecting a map of toruses around the world


I was staring at the map for well over 2 minutes, trying to think how "USS Midway" could possibly be a torus.


Was expecting a map of bagel and donut shops


Google Maps, but only bagel and donut shops? Sounds like a startup pitch.


Not expecting, but hoping nonetheless.


As mentioned in TFA.


indeed


Line must go up.


According to the provided benchmarks [1], it seems to be quite a bit faster.

[1] https://bitbucket.org/blaze-lib/blaze/wiki/Benchmarks


These benchmarks look to be ~8 years old, and don't really agree with benchmarks done by other sources (https://romanpoya.medium.com/a-look-at-the-performance-of-ex..., https://eigen.tuxfamily.org/index.php?title=Benchmark)

In general I would be skeptical about any benchmark that claims to beat MKL significantly on standard operations


beating MKL for <100x100 is pretty doable. the BLAS framework has a decent amount of inherent overhead, so just exposing a better API (e.g. one that specifies the array types and sizes well) makes it pretty easy to improve things. For big sizes though, MKL is incredibly good.


If you are talking about non-small matrix multiplication in MKL, is now in opensource as a part of oneDNN. It literally has exactly the same code, as in MKL (you can see this by inspecting constants or doing high-precision benchmarks).

For small matmul there is libxsmm. It may take tremendous efforts make something faster than oneDNN and libxsmm, as jit-based approach of https://github.com/oneapi-src/oneDNN/blob/main/src/gpu/jit/g... is too flexible: if someone finds a better sequence, oneDNN can reuse it without major change of design.

But MKL is not limited to matmul, I understand it...


Got stuck in Rule 5. Why does this not count as defining my own print function?

  42 + sum(print(0) for print in [lambda x: x])


scope


> P. S. When studying Haskell on a CS course in school, I used to define exactly the same squiggly arrow operator for my programs :-)

Haskell base already has the reverse application operator (&) which does the same thing. Not included in the prelude but can be imported from Data.Function. [1] It's defined as:

  (&) :: a -> (a -> b) -> b
  x & f = f x
Not that there's anything wrong with using your own definitions, just thought I'd point it out!

[1] https://hackage.haskell.org/package/base-4.18.1.0/docs/Data-...


I identify as a lurker although I've made occasional posts and comments. I don't see how the mods are the problem here. Third part apps go, I go. It's that simple.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: