NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Write your own kernel optimiser (blog.csongor.co.uk)
oinoom 23 hours ago [-]
im surprised there is no mention of loop fusion or loop fission [1]

[1] https://en.wikipedia.org/wiki/Loop_fission_and_fusion

jagged-chisel 23 hours ago [-]
> This is where abstractions break down. When the compiler gives up on something written with a nice Python library, we end up writing custom kernels, intrinsics, and inline assembly.

I don’t get it. What’s the python lib got to do with anything?

teo_zero 16 hours ago [-]
TFA describes two coding alternatives: abstract, high-level, easy-to-read code that we give to the compiler to optimize, or low-level, CPU-specific, manually optimized code. A Python library is mentioned as the archetype of the first kind.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 00:18:21 GMT+0000 (Coordinated Universal Time) with Vercel.