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.

看文档还是不看?

现在的我的答案是,看文档还是必须的,但是视频还是千万不要看

  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

avi9111

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值