230 karma · joined Dec 2, 2017 (8y ago) · 51 submissions
1.
Kernel Float: Unlocking Mixed-Precision GPU Programming(dl.acm.org ↗)
26 points · by gpuhacker · 11mo ago · 1 comment
comment 2y ago · link · parent
comment 2y ago · link · parent
There is also a paper about PMT: https://arxiv.org/pdf/2210.03724
comment 2y ago · link · parent
comment 2y ago · link · parent
"In 2018, professors Alan Benson, Danielle Li, and Kelly Shue analyzed sales workers' performance and promotion practices at 214 American businesses to test the veracity of the Peter principle. They found that these companies tended to promote employees to a management position based on their performance in their previous position, rather than based on managerial potential. Consistent with the Peter principle, the researchers found that high performing sales employees were likelier to be promoted, and that they were likelier to perform poorly as managers, leading to considerable costs to the businesses.[15][16][2]"
comment 2y ago · link · parent
Probably quite the overkill in terms of energy efficiency for just image to text, but I only need this like once every two weeks or so.
comment 2y ago · link · parent
I don't know it anymore but I remember it started with a whole bunch of aaaaaaa, but also included other characters. The beauty is the attack left no trace at all, so they never knew what hit them.
comment 2y ago · link · parent
comment 3y ago · link · parent
The outcome of a prefix sum exactly corresponds with the "row starts" part of the CSR sparse matrix notation. So they are also essential when creating sparse matrices.
comment 3y ago · link · parent
AFAIK Thrust is intended to simplify GPU programming. It could well be that for specific use cases, in particular when it is possible to fuse multiple operations into single kernels, you could outperform Thrust.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Anecdotal, but worth sharing anyways: I read a comment on HN in 2018 from someone who mentioned a connection between migraine and vitamin D deficiency. I started taking vitamin D after that and my migraines have decreased from once every three weeks to about three times per year.
comment 3y ago · link · parent
comment 3y ago · link · parent
It is interesting to see that the author got this far without interchanging the innermost loop over k to the outermost loop, as is done in CUTLASS (https://github.com/NVIDIA/cutlass).
As you can see in this blog post the code ends up with a lot of compile-time constants (e.g. BLOCKSIZE, BM, BN, BK, TM, TN) one way to optimize this code further is to use an auto-tuner to find the optimal value for all of these parameters for your GPU and problem size, for example Kernel Tuner (https://github.com/KernelTuner/kernel_tuner)