Questions tagged [flops]

FLOPS (FLoating point Operations Per Second): a unit of measurement used to quantify the performance of the implementation of a numerical algorithm.

Anything related to the FLOPS unit of measurement (FLoating point Operations Per Second), i.e. a unit of measurement used to quantify the performance of the implementation of a numerical algorithm.

See Wikipedia page on FLOPS.

132 questions
0
votes
0 answers

Using multiprocessing to utilize all cores of the CPU

I am trying calculate the number of Floating point operations per second that my CPU can perform, so I wrote the following program: import time import sys from multiprocessing import Process numOfLoops = 10000000 if (len(sys.argv) != 2): …
Rakesh Adhikesavan
  • 11,966
  • 18
  • 51
  • 76
0
votes
1 answer

Computing theoretical FLOPS of a CPU with boosting capability

I have a Intel i7-4510U with a base frequency of 2.0 GHz and a turbo frequency of 3.1 GHz. Datasheet When calculating the theoretical FLOPS, should I use the base frequency of the turbo frequency? GFlops = (CPU speed in GHz) x (number of CPU cores)…
Nicolai Lissau
  • 7,298
  • 5
  • 43
  • 57
0
votes
1 answer

C++ calculate GFlops

I recently trying to make a simple program that calculates FLOPS. Since c++ is fast enough so I think that worth a try to have close result. When I compile it with Notepad++ plugins, NppExec, it works fine, but i doesn't build it. When i build and…
Happy Face
  • 1,061
  • 7
  • 18
0
votes
3 answers

Does the arithmetic negate count as a floating point operation?

I'm currently measuring the performance of some code in FLOPS. This code presents some arithmetic negate instructions like this one: d = -a where d and a are floating point variables. The architecture I'm currently using does have specific negate…
Auron
  • 13,626
  • 15
  • 47
  • 54
0
votes
1 answer

How many cycles to multiply a float in C#

I have a numeric intensive application and after looking for GFLOPS on the internet, I decided to do my own little benchmark. I just did a single thread matrix multiplication thousands of times to get about a second of execution. This is the inner…
Arturo Hernandez
  • 2,749
  • 3
  • 28
  • 36
0
votes
1 answer

How to calculate cycles /issue for floating point additions for 1 core?

(Not Homework!!) This is my processor : Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz Number of cores : 2 I was reading FLOPS I came across a questions that asks calculate cycles /issue for floating point additions for 1 core.(I know the number of cores…
LoveMeow
  • 3,858
  • 9
  • 44
  • 66
0
votes
1 answer

Counting FLOPs and size of data and check whether function is memory-bound or cpu-bound

I am going to analyse and optimize some C-Code and therefore I first have to check, whether the functions I want to optimize are memory-bound or cpu-bound. In general I know, how to do this, but I have some questions about counting Floating Point…
knacker123
  • 79
  • 9
0
votes
2 answers

Is there any difference in execution times between two different processors with same amount of gigaflops?

I have a hardware related question that I debated with a friend. Consider two processors from two different manufacturers with the same amount of gigaflops put into the same computers (i.e. RAM and such as are the same for both computers). Now given…
Euklides
  • 564
  • 1
  • 10
  • 35
-1
votes
1 answer

How to compute the model complexity of FasterRCNNFPN pretrained from torchvision?

I got the pretrained FASTERRCNN_RESNET50_FPN model from pytorch (torchvision), here's the link. Now I want to compute the model's complexity (number of parameters and FLOPs) as reported from torchvsion: enter image description here How to do…
Tien PHAM
  • 7
  • 5
-1
votes
1 answer

Running massive calculation

I have a c# code like this Parallel.For(0, 10000, i => { function getThePassphase(int length){ } }); Use parallel method, it's capable of running my function "getThePassphase()" 10000 times per second on my i7 processor. Assume i want to…
-1
votes
1 answer

How to measure GPU GFLOPS on a non-unified shader system?

my question is because there are some old GPUs that does have vertex shaders and pixel shaders, I don't know how I can measure GFLOPS with that kind of GPU. I know you can measure GFLOPS using Core Speed x ALUs x 2 (I don't know what this "2" is, if…
GABO
  • 1
-1
votes
1 answer

When we count Gflop,do we need to take index-computation into account?

for instance, counting maths ops here: for (int i = 0; i < 100; ++i) { for (int j = 0; j < 50; ++j) { X[i*xcol+j] = Y[i] * Z[j]; } } Should we counting the ops like…
user0002128
  • 2,785
  • 2
  • 23
  • 40
1 2 3
8
9