OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1719 Discussions

"member reference base type 'unsigned int' is not a structure or union" ???

Polar01
Beginner
2,575 Views
Hi,
during compilation I got the following error message :
"error : member reference base type 'unsigned int' is not a structure or union"
With the following line :
offset = invFlags.x * (bitsOnCount[0] + tid4.x - localBitsScan[tid4.x]) + flags.x * localBitsScan[tid4.x];
Where :
__local uint localBitsScan[WGZ_x4];
__local uint bitsOnCount[1];
int4 invFlags;
int4 flags;
int offset;
check the following :
Line 174, 177...
0 Kudos
2 Replies
maxim_milakov
Beginner
2,575 Views

What is declaration of tid4 variable?

Thelink you specified leads to error page for me.

0 Kudos
Polar01
Beginner
2,575 Views
Thanks,
I have finally found the problem, I think it is related to the "parser" of the Intel SDK (a token priority problem).
I have commit the change now. If you are interested you can check the difference.
Regards
0 Kudos
Reply