cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

spectral
Adept II

"invalid work group size" ???

Hi,

I got an error message with this code and don't understand why ?

If someone has an idea ?

 

 

_queue->enqueueNDRangeKernel(*_kernel__Trace, cl::NullRange, cl::NDRange(768), cl::NDRange(_32, 6), 0, 0); __kernel __attribute__((reqd_work_group_size(32, 6, 1))) void kernel__PersistentTrace() ...

0 Likes
2 Replies
genaganna
Journeyman III

Originally posted by: viewon01 Hi,

I got an error message with this code and don't understand why ?

If someone has an idea ? 

You are getting this error because you have 1D global threads and 2D local threads.

Dimension of global and local threads must be same.

0 Likes

Ah ok, thanks

0 Likes