CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

OpenFOAM and OpenCL

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By Arrow

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2009, 15:22
Default OpenFOAM and OpenCL
  #1
New Member
 
Dave Archer
Join Date: Oct 2009
Posts: 2
Rep Power: 0
Arrow is on a distinguished road
Hi all...

I thought we needed a new thread to discuss the possibility of accelerating OpenFOAM on heterogenious systems with OpenCL.

I think OpenCL is the way to go as it is more general and open than a port to CUDA( which is proprietary to nVidia).

OpenCL has an active working group with respect to C++ and tools and libraries similar to BLAST are coming along.

Best to start discussing the issues.
foadsf likes this.
Arrow is offline   Reply With Quote

Old   October 21, 2009, 16:31
Default
  #2
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17
andrewryan is on a distinguished road
http://www.cfd-online.com/Forums/ope...oam-gpgpu.html

Did u read this thread?
andrewryan is offline   Reply With Quote

Old   October 23, 2009, 21:18
Default My bad I guess
  #3
New Member
 
Dave Archer
Join Date: Oct 2009
Posts: 2
Rep Power: 0
Arrow is on a distinguished road
Stupid newbee tricks...

Just started the thread because the other one was started in 2006.

Porting OpenFOAM to a GPGPU environment is a pressing technological imperative.

Both AMD and nVidia have gpu's out or coming real soon now that promise to boost HPC 100x.

Just loudly making the point that the spirit of OpenFOAM as OSS should demand a OSS heterogenious computing solution like OpenCL.

The good people at Apple and AMD have a C++ binding for OpenCL available.

CL::xx name space

Tools are available now and will get better. ( see MAGMA project).

Just saying
Arrow is offline   Reply With Quote

Old   October 26, 2009, 04:25
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,679
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by Arrow View Post
Best to start discussing the issues.
A few issues come to mind: How much time is required to move the matrices from main memory to GPU and back? Are the GPUs capable of double precision?

Since you are the one promoting the idea, it would be nice if you provided a bit more background about your own feasibility assessment and perhaps about what coding you already attempted in this direction.
olesen is offline   Reply With Quote

Old   October 26, 2009, 05:59
Default
  #5
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17
andrewryan is on a distinguished road
> Are the GPUs capable of double precision?

As far as I read the Nvidia GPUs have very limited double support atm. However the next gen Nvidia Fermi should fully support double precision, see Nvidias whitepaper [1]

[1] http://www.nvidia.com/content/PDF/fe...Whitepaper.pdf
andrewryan is offline   Reply With Quote

Old   October 26, 2009, 08:17
Default
  #6
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
My 2 cents.

Intel will be rolling out a x86 compliant Larabee GPU architecture in the next year. These processor cores will eventually be integrated on-chip with the cpu or as drop in replacements in multi-socket systems with CSI interconnect removing all memory transfer latencies. This combination in my opinion strongly disincentives investment in an OpenCL specific branch since it is highly likely this approach will be superseded within the next 2-3 years by the x86 compliant "co-processor" model.

Of course this is just conjecture made up from a patchwork of information, the reality of Intel's architecture may be quite different.
eugene is offline   Reply With Quote

Old   October 26, 2009, 11:25
Default
  #7
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
You mean, people should wait to hear an anouncement on the Icon Open Source CFD International Conference ;-)
elvis is offline   Reply With Quote

Reply

Tags
opencl, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 13:42.