I wrote a program to simulate long-lasting calculations with OpenCL.
It is basically a vector addition example, with special kernel.
The point was to simulate long kernel calculations (that’s why I used slower int instead of float, long loop and condition checking).
I tried to measure calculation times with 100,1k,10k,100k vector parameters but I’m being kicked out from a program without any error message:
1)On my laptop (GeForce 9300M GS - 8 cuda cores) already from 10k arguments
2)On a cluster from 100k (few old Nvidia cards with 32 cuda cores).
My question is, did I do something wrong with the code? Or OpenCL has some special time limitations?
PS Program is getting vector dimension as first argv parameter, so when you want to run it for 10k parameters you enter: