| ▲ | nerdralph 25 minutes ago | |
Not all CPU/GPU architectures have a single global memory space. AMD GCN GPUs have global VRAM, local SRAM for each compute unit(CU), and a global SRAM that all CUs could access. Neither GCC nor LLVM were great at optimizing OpenCL to make effective use of those different memories, so getting the highest performance sometimes required the use of AMD GCN assembler. https://nerdralph.blogspot.com/2017/02/inside-amd-gcn-code-e... | ||