Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
averne_
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
averne_
2mo ago
The explanation is missing that the hardware also notifies you of modifications, which makes it useful for implementing cross-cluster synchronization primitives. Compare to MONITOR/MWAIT on x86: https://www.felixcloutier.com
2.
▲
by
averne_
2mo ago
They already do, it's called v_bitop3_b32. Added in CDNA4, present in CDNA5 and will be making its way in RDNA5, if the LLVM code is to be trusted. https://www.amd.com/content/dam/amd/en/documents&#x
3.
▲
by
averne_
4mo ago
The blog makes it clear that "standard" GPU here is in opposition to purpose-built hardware like Cerebras. The selling point is reaching the same order of magnitude in generative speed as those approaches.
4.
▲
by
averne_
4mo ago
I tried with some simple prompts (fibonacci, linked list manipulation) and it worked nicely.
5.
▲
by
averne_
6mo ago
I wrote the Vulkan ProRes backend. The bitstream decoder was implemented from scratch, for a number of reasons. First, the original code was reverse-engineered, before Apple published an SMPTE document describing the bitstream syntax. Secon
6.
▲
by
averne_
9mo ago
Not really. https://codecs.multimedia.cx/2022/12/ffhistory-fabrice-bella... >Fabrice won International Obfuscated C Code Contest three times and you need a certain mindset to create code like that—which creeps
7.
▲
by
averne_
10mo ago
Not OP but I also often to listen to ambient while programming. A couple recommendations would be "Music for Nine Post Cards" and other works by Hiroshi Yoshimura, and "Music for 18 musicians" and others by Steve Reich.
8.
▲
by
averne_
1y ago
New physics in this context means previously unknown effects or mechanisms, or even a new theory/framework for an already understood phenomenon. Using "physics" in this way is common amongst academics.
9.
▲
by
averne_
1y ago
The main reason a wafer scale chip works there is because their cores are extremely tiny, and silicon area that gets fused off in the event of a defect is much lower than on NVIDIA chips, where a whole SM can get disabled. AFAIU this approa
10.
▲
by
averne_
1y ago
The NVidia driver also has userland submission (in fact it does not support kernel-mode submission at all). I don't think it leads to a significant simplification or not of the userland code, basically a driver has to keep track of the
11.
▲
by
averne_
1y ago
It actually doesn't make much difference: https://chipsandcheese.com/i/138977378/decoder-differences-a...
12.
▲
by
averne_
1y ago
No problem, just be aware there's a bunch of optimizations I haven't had time to implement yet. In particular, I'd to remove the reset kernel, fuse the VLD/IDCT ones, and try different strategies and hw-dependent special
13.
▲
by
averne_
1y ago
Do you have a link for that? I'm the guy working on the Vulkan ProRes decoder mentionned as "in review" in this changelog, as part of a GSoC project. I'm curious wrt how a WebGPU implementation would differ from Vulkan.
14.
▲
by
averne_
1y ago
Do you mind going in some detail as to why they suck? Not a dig, just genuinely curious.
15.
▲
by
averne_
1y ago
Hardware GPU encoders refer to dedicated ASIC engines, separate from the main shader cores. So they run in parallel and there is no performance penalty for using both simultaneously, besides increased power consumption. Generally, you'
16.
▲
by
averne_
1y ago
Matrix instructions do of course have uses in graphics. One example of this is DLSS.
17.
▲
by
averne_
2y ago
Self-plug, but I wrote an open-source NVDEC driver for the Tegra X1, working on both the Switch OS and NVidia's Linux distro (L4T): https://github.com/averne/FFmpeg . It currently integrates all the low-level bits
18.
▲
by
averne_
2y ago
The mushrooms are imported from China or Poland as mycelium, and the harvest is done in France. Since the law distinguishes between mycelium and mushroom, the mushroom were technically produced in France. https://web.archive.org&
19.
▲
by
averne_
3y ago
It's not so clear cut. The author of the original PR had serious gripes about jart's handling of the situation, especially how hard they pushed their PR, practically forcing the merge before legitimate concerns were lifted. See th
20.
▲
by
averne_
3y ago
This isn't true anymore. It was their first approach, but since then they have switched to their own JIT recompiler. You can read their rationale here: https://github.com/Ryujinx/Ryujinx/pull/693 For the
21.
▲
by
averne_
3y ago
There are OpenGL extensions which can import a provided GPU buffer as a texture, using those you can achieve zero-copy. For instance, with VAAPI->OpenGL you would use vaExportSurfaceHandle in conjunction with glEGLImageTargetTexture2DOES
22.
▲
by
averne_
4y ago
You can just use __builtin_popcount or equivalent, which maps to a single instruction on most platforms.
23.
▲
by
averne_
4y ago
The nouveau project used a kernel module to intercept mmio accesses: https://nouveau.freedesktop.org/MmioTrace.html . Generally speaking hooking onto driver code is one of the preferred ways of doing dynamic reverse engineer
24.
▲
by
averne_
4y ago
> how much work would have been involved in getting this release open sourced Close to no actual effort (the headers are autogenerated). However there was probably a lot of work behind the scenes with their legal team/whatever to cl
25.
▲
by
averne_
4y ago
That's not exactly correct. This is register maps for the 3d engine (also called class), what you describe would be closer to the shader ISA. In driver code you'll see them building command buffers that set registers in those clas
26.
▲
by
averne_
4y ago
I've written an open-source driver for the decoding side of the nvjpg module found in the Tegra X1 (ie. earlier hardware revision than the one in the A100). I did some quick benchmarks against libjpeg-turbo, if that can give you an ide
27.
▲
by
averne_
4y ago
I'm not sure there's much to be simplified, interpreted JS is just that slow. In more recent firmwares Nintendo introduced more security-oriented changes (CFI, PAC) that potentially slowed the browser down even further. The Switch
28.
▲
by
averne_
4y ago
Because it runs in a browser (WebKit-based), and because the browser is compiled without JIT for security concerns. It should really be a native applet, but Nintendo probably wanted to control it without needing a full firmware update.
29.
▲
by
averne_
5y ago
More importantly this uses the devkitPro/libnx homebrew toolchain, while the OP project uses the official SDK (the "complicated legal reasons" behind the absence of code probably being an NDA signature).
30.
▲
by
averne_
5y ago
Not true for plasmonic waveguides which can confine energy well beyond the diffraction limit. But I agree that for now, photonics is just an academic wet dream.
More ›