FLOPS包括哪些所有操作? [英] What all operations does FLOPS include?

查看:147
本文介绍了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包括哪些所有操作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆