Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » OpenCL
OpenCL [message #30737] Wed, 19 January 2011 13:27 Go to next message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
Mirek,

I do not know whether you are asking for something sophisticated but I am attaching a very basic example of OpenCL in U++. It is the traditional “Hello World” example. The OpenCL code is in the file “example1_kernels.cl”.

In my case I downloaded the NVIDIA OpenCL drivers and other OpenCL files from the Khronos Group web page. I included the appropriate instructions in the Package Organizer.

My knowledge of OpenCL is limited but I am condemned to use it in the near future, due to the fact that for intensive math calculations is a fundamental tool.

Best wishes,

Javier
  • Attachment: OpenCL.rar
    (Size: 1.73KB, Downloaded 228 times)
Re: TheIde new look [message #30745 is a reply to message #30737] Thu, 20 January 2011 10:17 Go to previous messageGo to next message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
Roger that.

I am happy to hear that you are interested in OpenCL.

By the way, what about NTL with OpenCL? Can they work together?

Best wishes,
Javier
Re: TheIde new look [message #30750 is a reply to message #30745] Thu, 20 January 2011 15:00 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
281264 wrote on Thu, 20 January 2011 04:17

Roger that.

I am happy to hear that you are interested in OpenCL.

By the way, what about NTL with OpenCL? Can they work together?



Do not know yet.

What I know (because I have been studying it currently) is that NTL would not work with SSE2. The problem is that SSE2 has requirements for memory alignement that basic U++ memory allocatator is unable to satisfy.

I am however thinking about fixing this issue.... Well, maybe impossible for Array containers, but should be possible for Vector.

Mirek
Previous Topic: U++ development: Two philosophies
Next Topic: Ideas for TheRainbow
Goto Forum:
  


Current Time: Tue Apr 16 15:25:17 CEST 2024

Total time taken to generate the page: 0.01605 seconds