cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

vignyan
Journeyman III

FFT sample run on GPU

Causes display freeze on Ubuntu

Hi, 

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)...

Any ideas?

Thanks,

Vignyan

0 Likes
5 Replies
omkaranathan
Adept I

The issue is with FFT sample only? or other samples too?

0 Likes

Matrix Multiplication works just fine.

0 Likes

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.

0 Likes

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?

0 Likes

vignyan,

Maximum groupsize in 7xx cards is 64 currently, if you are using barrier.

0 Likes