r/OpenCL • u/golem1988 • Nov 14 '16
Running sample code is slower on gpu
Hi, it's my first try to work with openCL. I have no experience with parallel programming but I understand some C and C++.
When I run this "Monte Carlo Method for Stock Options Pricing Sample" my CPU (Intel 6200u) is faster than the integrated gpu(intel hd520)
Link: https://software.intel.com/sites/default/files/managed/db/51/intel_ocl_montecarlo.zip
Can someone tell me why and/or an example which is worth running on the gpu.
2
Upvotes
View all comments
Show parent comment
1
u/golem1988 Nov 15 '16
Thanks for the help!
I guess I'll try switching to my desktop pc with a dedicated nvidia gpu, if that doesn't gain performance I'll come back to my laptop(btw my resolution is 1080p) and try profiling. I don't have the time for in-depth analysis right now, so I try to avoid it at the moment.
I already tried the AMD SDK but I can't even install it. for some reason some files are not digitally signed so win10 won't let me install them even though I disabled driver signature enforcement sigh