- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey, I've recently started developing program under OpenCL and created Kernel and it's executed corretly, but somehow calculations made by my Intel CPU are faster then same one made by my grafic card NVIDIA GeForce 740. How is it posssible???
Here below is code of my Kernel, if accessing it is also needed I'll attach it later.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any architecture (CPU, GPU or FPGA) has coding style guidelines that impact performance; it is not surprising to get bad performance when these guidelines are not followed.
However, this forum is for Altera's OpenCL compiler; I can help you with optimizing your code for the Altera FPGAs. For GPU optimizations, please refer to NVIDIA's forum.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One possible reason I might think of is the kernel launch overhead so you should profile your code and see whether it is the case.
Are you running your code on Windows or Linux? The overhead might be a problem if you have too small(fast) kernels or little data.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page