An wired behavior of the host memory

Hi, there! I spot on a very wired behavior of my OpenCL program that I have to construct a totally unrelated variable char whaterver, so that my program can run, or the kernel just dumped. And I found that that char array size has to be larger or equal to 73.

I am trying to warp some OpenCL C packages in to my c++ code. And this is a simple matrix multiplication.

The wired thing is line char ker[73]; Without it my program just core dumped. And this size does not increase along with the size of matrix.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.