I am facing a sporadic behavior in some of the matlab GPU toolkit algorithm. I have an NVidia GForce GTX 860M on my laptop. The problem is this: -
There is a delay of about one second in the first GPU computation as compared to subsequent ones. Since the first run is slower, I predicted cache preparations take might be the culprit. For CPU, this behavior is well known. But I am not sure why does the 1st run on GPU also gives a slower results. Will a CUDA implementation also have a delay in the first run? What do we call this problem? Is there any way to formally address the problem other than running the problem couple of times?
Thanks in advance!