u/S48GSin r/GraphicsProgramming • Recommends
On “Wrote a deep dive on GPU cache hierarchy - how memory access patterns affect shader performance”
thanks for sharing
I remember this video - about C++ optimization for matrix multiplications - [video
re-sorting memory or preparing memory for matrix multiplication can do huge impact on performance - it probably same on GPU - for large data expecially ML
I also have this blog post related to cache - Decompiling Nvidia shaders, and optimizing
scroll to - Analyze and optimize neural(ML) shaders
shader compiler store "const" as index to unique value - so one index per unique - means less unique is better - this how it possible to "compress" data for ML-like shaders increasing performance by 10x times