cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

drstrip
Journeyman III

clEnqueueNDRangeKernel bug?

Windows Vista, FireStream(RV770).

I am calling my kernel with work_group_size set to NULL, which is supposed to allow the compiler to pick a "good" work group size. My kernel runs fine as long as the global size is below 256 x 64. Once it reaches this size, the results are completely bogus. (It actually fails just a bit below this size, 248 x 62 works, though).  I then tried calling with work_group_size set to (4, 16) and everything works fine.

 

Should NULL have worked? That's how I read the standard.

0 Likes
3 Replies
omkaranathan
Adept I

NULL should work. Could you post the code?(kernel & host side)

0 Likes

Run the MatrixMultiply example from the samples, setting the work_group_size parameter to NULL, using input

-x 256 -y 256 -x 256 -e

The verification fails.

If you run it in the original version it will pass.

0 Likes

drstrip,
This has been reported as fixed internally and should be available in the next release.
0 Likes