Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 讨论

Why CPU is faster then NVIDIA GeForce 740?

Altera_Forum
名誉分销商 II
2,078 次查看

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.
0 项奖励
2 回复数
Altera_Forum
名誉分销商 II
708 次查看

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.
0 项奖励
Altera_Forum
名誉分销商 II
708 次查看

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.
0 项奖励
回复