C++ Bit Fields

Does the CUDA compiler support Bit Fields now ?

Bit Fields allow us to compress data into the minimum of bits,
with precission read/write to sigle bits in a byte, or below the byte level, preferably in structs.

Example: This pack structure occupies only 4 bit of memory:
eg four values, where each can contain only 0 or 1:

struct {
unsigned int f1:1;
unsigned int f2:1;
unsigned int f3:1;
unsigned int f4:1;
} pack;




I don’t recall anything in the CUDA 1.1 release notes particularly mentioning bit fields. Why don’t you try it and find out?

error: duplicate member `__dummy’ !

Thus I conclude that Bit Fields are not supported in Cuda.