Reduction from NVidia SDK works on HD Graphics but don't work on Intel CPU

Reduction from NVidia SDK works on HD Graphics but don't work on Intel CPU


I found that reduction algorithm from NVidia SDK works on HD Graphics 4400 but don't work on Intel CPU i5.
I've expected that Nvidia algorithm works everywhere OR work only on Nvidia hardware so that difference in behavior between CPU and GPU on SAME machine looks strange for me.

 

Reduction algorithm and C# + OpenCL.NET unit test are in attachments. Unit test fails on Intel CPU with size = 4.

What differences in kernel execution exists between CPU and GPU? How can I fix the problem?

Thank you!

ps. I can attach a sample VS 2012 project if it needs.

附件大小
下载text/plain _unittest.txt1.72 KB
下载text/plain _reduction.cl_.txt2.46 KB
2 帖子 / 0 全新

A duplicate topic. Topic with discussion.

发表评论

登录添加评论。还不是成员?立即加入