Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
World Community Grid Forums
Category: Completed Research Forum: Help Conquer Cancer Thread: HCC with GPU |
No member browsing this thread |
Thread Status: Active Total posts in this thread: 486
|
Author |
|
mikey
Veteran Cruncher Joined: May 10, 2009 Post Count: 821 Status: Offline Project Badges: |
OpenCL is for GPUs, not CPUs. OpenCL (Open Computing Language) is a framework for writing programs that execute across heterogeneous platforms consisting of CPUs, GPUs, and other processors. OpenCL includes a language (based on C99) for writing kernels (functions that execute on OpenCL devices), plus APIs that are used to define and then control the platforms. OpenCL provides parallel computing using task-based and data-based parallelism. It has been adopted by Intel, AMD, Nvidia, and ARM http://en.wikipedia.org/wiki/OpenCL BUT...I saw this the other day on PrimeGrid: "For the most part, all of the software that we use is highly optimized and hand-tuned for the particular hardware it's designed to run on. The best example of this is George Woltman's gwnum libraries, which is inside LLR and a lot of other software. It's hand-written assembly language code designed specifically for the various CPU improvements that have been created over the years. It squeezes every last drop of performance out of whatever CPU you have. Opening up the CUDA architecture to more platforms makes it easy to write portable code. It won't necessarily make it easy to write fast code for all platforms. You can have portable code, or you can have fast code, but fast portable code is almost an oxymoron. Take a look at our GPU sieving software, for example. On Nvidia GPUs, the software is written in CUDA, which is sepcifically designed for the Nvidia CPUs. It's blazingly fast. On ATI/AMD, it's written in OpenCL, which is portable and is not specifically designed for ATI's GPUs. It's pitifully slow by comparison to the Nvidia version of the software. The hardware itself is not inferior; it's the fact that a portable, cross platform software architecture is being used that makes it so slow." Unfortunately there are tradeoffs for all 'generic' software. |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Unfortunately there are tradeoffs for all 'generic' software. Optimization will come later and my money goes there, but for now, going 'generic' makes a lot of sense when just starting out -- specially when just starting out. Come one, come all... Have a GPU? Then you are good to go... now! (and not tomorrow while awaiting fine-tuning of the optimized implementation).; |
||
|
BladeD
Ace Cruncher USA Joined: Nov 17, 2004 Post Count: 28976 Status: Offline Project Badges: |
If there will be an OpenCL app for CPU's, it would make sense to beta that first. Why HCC already runs on CPUs? |
||
|
Falconet
Master Cruncher Portugal Joined: Mar 9, 2009 Post Count: 3295 Status: Offline Project Badges: |
If there will be an OpenCL app for CPU's, it would make sense to beta that first. Why HCC already runs on CPUs? I think it's because OpenCL in CPU's is faster than "normal" AMD Ryzen 5 1600AF 6C/12T 3.2 GHz - 85W AMD Ryzen 5 2500U 4C/8T 2.0 GHz - 28W AMD Ryzen 7 7730U 8C/16T 3.0 GHz |
||
|
Dark Angel
Veteran Cruncher Australia Joined: Nov 11, 2005 Post Count: 721 Status: Offline Project Badges: |
Highly unlikely. No portable code is ever as fast as that written for the specific platform it is to run on.
----------------------------------------Currently being moderated under false pretences |
||
|
KWSN - A Shrubbery
Master Cruncher Joined: Jan 8, 2006 Post Count: 1585 Status: Offline |
And the HCC code for CPUs was significantly optimized not too long ago.
----------------------------------------Distributed computing volunteer since September 27, 2000 |
||
|
nasher
Veteran Cruncher USA Joined: Dec 2, 2005 Post Count: 1422 Status: Offline Project Badges: |
just waiting and wondering what will come up next till then i will wait
---------------------------------------- |
||
|
Dark Angel
Veteran Cruncher Australia Joined: Nov 11, 2005 Post Count: 721 Status: Offline Project Badges: |
Currently I don't have the hardware to run GPU work, unfortunately. Next year, perhaps.
----------------------------------------Currently being moderated under false pretences |
||
|
sk..
Master Cruncher http://s17.rimg.info/ccb5d62bd3e856cc0d1df9b0ee2f7f6a.gif Joined: Mar 22, 2007 Post Count: 2324 Status: Offline Project Badges: |
If there will be an OpenCL app for CPU's, it would make sense to beta that first. Why HCC already runs on CPUs? |
||
|
BladeD
Ace Cruncher USA Joined: Nov 17, 2004 Post Count: 28976 Status: Offline Project Badges: |
If there will be an OpenCL app for CPU's, it would make sense to beta that first. Why HCC already runs on CPUs? If the OpenCL GPU app was not comparable with reliable results, they wouldn't be moving forward to beta. ---------------------------------------- [Edit 1 times, last edit by BladeD at Dec 31, 2011 7:45:02 AM] |
||
|
|