I have Ubuntu 9.10 32 bit with SDK2.01 installed on my laptop with Intel core2 duo P7350 and ATI HD4650.
When i run the code on cpu, it does run properly. When i run on GPU, the display freezes. I can still hear my music playing in the background, but cant see anything moving on the screen (mouse, keyboard, change to console mode... nothing)...
The FFT kernel was designed to run specifically on work-group size 64 but seems like your video-card doesn't support that size on that kernel.
To query the maximum size supported by your card for a particular kernel you can use the function clGetKernelWorkGroupInfo with input flag CL_KERNEL_WORK_GROUP_SIZE.
The sample should just exit if this size is less than 64.
yeah, that's what i would have expected. Just fail, like other programs when i try to use group sizes of 256(specifying block size of 64) ... BTW, my card's kernel work group size is 128. Why does the graphics card stop display activity in anycase?