Forum Discussion
SBioo
Occasional Contributor
7 years agoStrange Invalid Work-Group Size Error
Hi, I'm having a kernel defined as below: __kernel
__attribute__((max_work_group_size(LRN_MAX_LOCAL_SIZE, 1, 1)))
void lrn(
// Params Ports
uchar data_dim1,
uchar data_dim...
HRZ
Frequent Contributor
7 years agoYou are setting the limit for the third dimension of the work-group to 1 in the kernel, but you are supplying 24 in the host for that dimension. I believe this is the reason behind the error you are getting. The emulator probably ignores these attributes altogether and hence, you don't get any errors there.