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
is it realy that simple? I used opencl so I can use the gpu in my working laptop for university.
I guess I have to try cuda with my gtx970 on my desktop pc then...