mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2011-08-01, 22:43   #1
siegert81
 
Dec 2010

2·37 Posts
Default Question

I have a limited understanding of a GPU's limitations, but has anyone written a program that allows the 512+ processors of a GPU to simultaneously primality test 512+ numbers at the same time?

In other words, instead of trying to test one number 512 times more quickly, couldn't we just slowly test 512 different numbers? Wouldn't that still be much, much faster (in the long run) than using CPUs for primality tests?
siegert81 is offline   Reply With Quote
Old 2011-08-01, 22:53   #2
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

101011001111002 Posts
Default

If I understand correctly, you can't with current cards. The would be memory issues.
Uncwilly is online now   Reply With Quote
Old 2011-08-02, 02:22   #3
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

41·251 Posts
Default

Each small kernel in a GPU can't do too much by itself, their force come from working all together, and in fact the bottleneck is not in the calculus itself, but in memory access, that will lose time for "semaphorization" and you will not get to much gain in time.

Assuming you have to eat 512 cakes. You can eat them one per day and eat 512 cakes in 512 days, or you can cut each cake in 512 pieces and eat each day a small piece from all cakes. You still need 512 days to eat each all. Of course, each version has its own advantages and disadvantages, the second way would be more yummmmy, especially if the cakes are different kinds, but you will have to run around 512 plates every day, and eventually use 512 little forks to avoid "taste contamination"... :P Now imagine you eat one cake per day, but cut it first in 512 little pieces, and use 512 little forks to eat it. You will lose some time to cut it, to change the forks, but you still eat the same tasteless cake each day. One.
LaurV is offline   Reply With Quote
Reply



All times are UTC. The time now is 15:09.


Fri Jul 7 15:09:10 UTC 2023 up 323 days, 12:37, 0 users, load averages: 1.09, 1.15, 1.15

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔