mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-04-11, 09:22   #12
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

2·17·347 Posts
Default

Quote:
Originally Posted by diep View Post
Such code would of course also work great at nvidia (not sure they support opencl as of yet - didn't figure it out - i assume they will).
I downloaded Nvidia's openCL implementation a few months ago but was unable to get it to build. Things may have improved since.

Perhaps I should give it another try.

Paul
xilman is offline   Reply With Quote
Old 2011-04-11, 09:27   #13
diep
 
diep's Avatar
 
Sep 2006
The Netherlands

3·269 Posts
Default

Quote:
Originally Posted by xilman View Post
I downloaded Nvidia's openCL implementation a few months ago but was unable to get it to build. Things may have improved since.

Perhaps I should give it another try.

Paul
We can see it as a C compiler; in the end they all wil fix everything well for opencl. as a language i'm not so sure yet how fast opencl will be.

for example crucial for trial factoring is somehow being able to get the 2 results from the 2 instructions quickly which each multiply a 32 x 32 bits integer and give you the top 32 bits and the other instruction the lower 32 bits. Then less important yet still would matter is when adding 2 numbers, that if they are bigger than 32 bits, and would produce a 33 bits number, that this top bit can get shifted somehow if it woud be stored in an overflow flag or carry flag whatever; i know nvidia can do this fast, not sure about amd, but with respect to opencl i have no clue whether it provides any mechanisms there.

TheJudger reported me he got this to work at nvidia a few weeks ago, which is a nice speedup for him in CUDA.

Now the raw performance of an AMD card (6990) is roughly factor 3 faster than the fastest nvidia card, but that's paper. The question is: how much do you lose with opencl.

Regards,
Vincent
diep is offline   Reply With Quote
Old 2011-04-12, 23:18   #14
Vato
 
Jan 2009

22·5 Posts
Default

OpenCL is definitely slower, but I don't have suitable means to quantify it.
Another downer is that SDK 2.2 or above busy-waits, so you'll always have a 100% busy core, even if the app requirements don't demand it :-(

Last fiddled with by Vato on 2011-04-12 at 23:18
Vato is offline   Reply With Quote
Old 2011-04-13, 00:12   #15
diep
 
diep's Avatar
 
Sep 2006
The Netherlands

11001001112 Posts
Default

Quote:
Originally Posted by Vato View Post
OpenCL is definitely slower, but I don't have suitable means to quantify it.
Another downer is that SDK 2.2 or above busy-waits, so you'll always have a 100% busy core, even if the app requirements don't demand it :-(
I guess they have to have the cores keep spinning, as they seem to be needing to switch wavefronts a lot and other stuff. The latencies to have each SIMD (very bad chosen name by the way as it isn't a SIMD by any close means; SIMD at the CPU's is completely useless compared to the SIMD's of a GPU from my simple programmers viewpoint; with the SIMD at the cpu you need something of a high IPC; at a gpu it's independant processors kind of, that only by accident execute the same code at roughly the same time) do other stuff are so fast internal, that if you would have the gpu idle, it would take seconds to wake up; you can't quickly switch then.

Yet we'll see how it pans out here.

With a Dutch saying: the soup doesn't get eaten as hot as it gets served.

It's a hell of an excuse to run Trial Factoring. "the gpu will eat that power anyway Sahib, when it is busy waiting"
diep is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 10 in Ubuntu, good idea, bad idea, or...? jasong jasong 8 2017-04-07 00:23
Looking at new GPU card for less than $450 section31 GPU Computing 4 2016-01-19 17:04
Linux install of CUDA toolkit for GT 430 card, maybeโ€ฆ ewmayer GPU Computing 66 2015-01-10 08:46
How well would this card do? Rodrigo GPU Computing 31 2011-08-01 19:44
Card Games Uncwilly Hobbies 1 2006-06-03 12:45

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


Fri Jul 7 15:15:55 UTC 2023 up 323 days, 12:44, 0 users, load averages: 0.96, 1.17, 1.14

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.

โ‰  ยฑ โˆ“ รท ร— ยท โˆ’ โˆš โ€ฐ โŠ— โŠ• โŠ– โŠ˜ โŠ™ โ‰ค โ‰ฅ โ‰ฆ โ‰ง โ‰จ โ‰ฉ โ‰บ โ‰ป โ‰ผ โ‰ฝ โŠ โА โŠ‘ โŠ’ ยฒ ยณ ยฐ
โˆ  โˆŸ ยฐ โ‰… ~ โ€– โŸ‚ โซ›
โ‰ก โ‰œ โ‰ˆ โˆ โˆž โ‰ช โ‰ซ โŒŠโŒ‹ โŒˆโŒ‰ โˆ˜ โˆ โˆ โˆ‘ โˆง โˆจ โˆฉ โˆช โจ€ โŠ• โŠ— ๐–• ๐–– ๐–— โŠฒ โŠณ
โˆ… โˆ– โˆ โ†ฆ โ†ฃ โˆฉ โˆช โІ โŠ‚ โŠ„ โŠŠ โЇ โŠƒ โŠ… โŠ‹ โŠ– โˆˆ โˆ‰ โˆ‹ โˆŒ โ„• โ„ค โ„š โ„ โ„‚ โ„ต โ„ถ โ„ท โ„ธ ๐“Ÿ
ยฌ โˆจ โˆง โŠ• โ†’ โ† โ‡’ โ‡ โ‡” โˆ€ โˆƒ โˆ„ โˆด โˆต โŠค โŠฅ โŠข โŠจ โซค โŠฃ โ€ฆ โ‹ฏ โ‹ฎ โ‹ฐ โ‹ฑ
โˆซ โˆฌ โˆญ โˆฎ โˆฏ โˆฐ โˆ‡ โˆ† ฮด โˆ‚ โ„ฑ โ„’ โ„“
๐›ข๐›ผ ๐›ฃ๐›ฝ ๐›ค๐›พ ๐›ฅ๐›ฟ ๐›ฆ๐œ€๐œ– ๐›ง๐œ ๐›จ๐œ‚ ๐›ฉ๐œƒ๐œ— ๐›ช๐œ„ ๐›ซ๐œ… ๐›ฌ๐œ† ๐›ญ๐œ‡ ๐›ฎ๐œˆ ๐›ฏ๐œ‰ ๐›ฐ๐œŠ ๐›ฑ๐œ‹ ๐›ฒ๐œŒ ๐›ด๐œŽ๐œ ๐›ต๐œ ๐›ถ๐œ ๐›ท๐œ™๐œ‘ ๐›ธ๐œ’ ๐›น๐œ“ ๐›บ๐œ”