title: Is there a limit on the size of array that can be used in CUDA?
body: <p>Written a program that calculates the integral of a simple function. When testing it I found that if I used an array of size greater than 10 million elements it produced the wrong answer. I found that the error seemed to be occurring when once the array had been manipulated in a CUDA kernel. 10 millions elements and below worked fine and produced the correct result. </p>
  
  <p>Is there a size limit on the amount of elements that can be transferred across to the GPU or calculated upon the GPU?</p>
  
  <p>P.S. using C style arrays containing floats. </p>