Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)G
GPU_programming

Members
0
Posts
44
Created
3 yr. ago

Programming Lemmy instance focused on GPUs. CUDA, OpenCL, ROCm, DirectX, Vulkan are all on subject here.

🌉 bridged from !gpu_programming@lemmy.world by Tidepool

How I learned Vulkan and wrote a small game engine with it

edw.is

Implementing a GPU's Programming Model on a CPU

Seems like a personal project that is basically a personal-version of the Intel "ispc" tool. Still, 2nd or 3rd programming languages of this nature isn't a bad thing, if anything, we need more ideas and more implementations to figure out how best to map GPU-like programming to AVX512 or other CPU SIMD languages.

litherum.blogspot.com

The Book of Shaders

Found this reference online, figured I'd save it here. Looks like an excellent introduction to fragment/pixel shaders.

thebookofshaders.com

Learning DirectX 12

Sorry for the spam, just did a bit of a research / search and decided I needed to save at least these DirectX12 links and read up on them later.

www.3dgep.com

Efficient Stream Compaction on Wide SIMD Many-Core Architectures

Stream Compaction is one of the most important applications of GPU prefix sums IMO. Of course, prefer a library over writing your own. DirectX11 (and 12) has AppendStructuredBuffers (https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/sm5-object-appendstructuredbuffer) for instance that performs this automatically. AVX512 even has "compress" and "expand" instructions that effectively perform this stream-compaction task. IMO, this is one of the "new era" methods of creating SIMD-datastructures. Its not often talked about, but its all over the place, the wizards / experts obviously know about this but somehow don't know how to tell us normal people how it works.

www.cse.chalmers.se

GCC Lands AVX-512 Fully-Masked Vectorization

Somewhat tangential to GPU_programming, but I think its still on subject as AVX512 is very similar to GPU-code fundamentally.

GCC makes a big advancement to its AVX512 code generation, for fully masked vectorization to handle less-than-full vectors.

www.phoronix.com

Shader Printf in HLSL and DX12

Someone wanted a more portable printf implementation, so they created one for themselves.

I'll be giving this article a good look over for sure.

therealmjp.github.io

MLC | Making AMD GPUs competitive for LLM inference

I'm not so much into the deep learning stuff myself, but any GPU article is worthy of a spot here!

blog.mlc.ai

Solving MaxSAT with Matrix Multiplication

The abstract stuck out to me, and I like dabbling in the 3SAT stuff on a hobby level.

The gist is that these researchers have utilized the TensorCores / FP16 Matrix Multiplication routines found in neural-network chips/instructions to start searching for MaxSAT (which seems to be related to 3SAT somehow, I'll be reading more about this...)

hgpu.org