FLOPS包括哪些所有操作?

编程入门 行业动态 更新时间:2024-10-14 18:13:32
本文介绍了FLOPS包括哪些所有操作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

FLOPS表示每秒浮点运算,我对什么是浮点数有所了解.我想知道这些操作是什么? +, -, *, /是唯一的操作还是像取logarithm(),exponential()这样的操作也是FLO?

FLOPS stands for FLoating-point Operations Per Second and I have some idea what Floating-point is. I want to know what these Operations are? Does +, -, *, / are the only operations or operations like taking logarithm(), exponential() are also FLOs?

两个浮点数的+和*是否花费相同的时间?如果他们花费的时间不同,那么我应该从以下陈述中得出什么解释:性能为100 FLOPS .一秒钟内有多少+和*.

Does + and * of two floats take same time? And if they take different time, then what interpretation should I draw from the statement: Performance is 100 FLOPS. How many + and * are there in one second.

我不是计算机科学专业的人,所以请尽量减少技术含量.如果我完全理解错误,也请告诉我.

I am not a computer science guy, so kindly try to be less technical. Also let me know if I have understood it completely wrong.

谢谢

推荐答案

FLOPS中没有特定的操作集,它只是使用每个处理器作为单个指令支持的操作来衡量的.通常支持基本的算术运算,但是对数之类的运算是使用一系列更简单的运算来计算的.

There is no specific set of operations that are included in FLOPS, it's just measured using the operations that each processor supports as a single instruction. The basic arithmetic operations are generally supported, but operations like logarithms are calculated using a series of simpler operations.

对于现代计算机,所有受支持的浮点运算通常在单个时钟周期或更短的时间内运行.即使操作之间的复杂度有所不同,它也只是将数据进出瓶颈的处理器.

For modern computers all the supported floating point operations generally run in a single clock cycle or less. Even if the complexity differs a bit between operations, it's rather getting the data in and out of the processor that is the bottle neck.

FLOPS仍然是计算速度的一种有用方法的原因是,CPU不专门用于浮点计算.在CPU中添加更多浮点单元会提高FLOPS,但仅凭此优势的CPU并没有很大的市场.

The reason that FLOPS is still a useful measure for computing speed is that CPUs are not specialized on floating point calculations. Adding more floating point units in the CPU would drive up the FLOPS, but there is no big market for CPUs that are only good at that.

更多推荐

FLOPS包括哪些所有操作?

本文发布于:2023-11-30 03:45:18,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1648608.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:操作   FLOPS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!