AhmadO
AhmadO

Reputation: 9

Threads Block vs Time

I am developing a code that depends on running many threads blocks on a GPU.Each block consists of juts 32 threads and all threads doing the same instructions but with different data. Now I plot the number of block vs. time. I got a figure looks like a stair. Any one can help me to interpret why it looks like a stair. I could post the figure because I have to have at least 10 reputation, but if you interested please send me your email and I will send you the figure. Thanks in advance

Upvotes: 0

Views: 44

Answers (1)

ddemidov
ddemidov

Reputation: 1761

Your GPU is probably capable of running several blocks (say, n) simultaneously. Then 1 to n blocks will take same time to complete.

Upvotes: 1

Related Questions