Mali Offline Compiler 的 FMA CVT等GPU Shader结果参数说明
我是不會看文檔的,這輩子都不可能看文檔
曾經很不喜歡看文檔,更不喜歡看教學視頻
原因可能有如下
太多框架可學習
太多團隊可管理
太多游戲可玩
太多BUG要跟進
太多經典大神作品
總之,編程的事情好玩可多了去了,不比看文檔實際?
直到我需要用Mali做gpu shader分析
?
基于Mali Shader Offline C
我需要知道A FMA CVT sfu
百度也百度不到任何資料
由此可推斷,估計是官方的簡寫,非通用,大概率是官方的資料
所以,只能看官方文檔
?
?
文檔還是挺精彩的,不看可惜了
意外發現,官方資料還很全(都很有用,可惜人生 苦短,進了librery,還是不能盡閱)
直接跳去第二章節
最終文檔里找到了想要的參數說明
3.3 Mali Valhall architecture
? ? Mali Valhall GPU shader cores have six parallel pipeline classes, comprising three arithmetic pipelines
and three fixed-function support pipelines.
? ? All Valhall GPUs implement two parallel processing engines, each containing their own set of arithmetic
pipelines. Data presented in the tool is normalized based on the number of engines in the design, to give
an overall cost for the targeted shader core, not just for a single engine.
Arithmetic fused multiply accumulate unit (FMA)
The FMA pipelines are the main arithmetic pipelines, implementing the floating-point
multipliers that are widely used in shader code. Each FMA pipeline implements a 16-wide warp,
and can issue a single 32-bit operation or two 16-bit operations per thread and per clock cycle.
Most programs that are arithmetic-limited are limited by the performance of the FMA pipeline.
Arithmetic convert unit (CVT)
The CVT pipelines implement simple operations, such as format conversion and integer
addition. Each FMA pipeline implements a 16-wide warp, and can issue a single 32-bit
operation or two 16-bit operations per thread and per clock cycle.
Arithmetic special functions unit (SFU)
The SFU pipelines implement a special functions unit for computation of complex functions
such as reciprocals and transcendental functions. Each SFU pipeline implements a 4-wide issue
path, executing a 16-wide warp over 4 clock cycles.
Load/store unit (LS)
The load/store pipeline handles all non-texture memory access, including buffer access, image
access, and atomic operations.
Varying unit (V)
The varying pipeline is a dedicated pipeline which implements the varying interpolator.
Texture unit (T)
The texture pipeline handles all texture sampling and filtering operations.
看文檔還是不看?
現在的我的答案是,看文檔還是必須的,但是視頻還是千萬不要看
總結
以上是生活随笔為你收集整理的Mali Offline Compiler 的 FMA CVT等GPU Shader结果参数说明的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 深度剖析C语言结构体
- 下一篇: 树的高度单位换算 c语言编辑,单位换算公