cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

gideonlee
Journeyman III

Will Arrays in struct be supported?

The current readme says arrays are not supported in struct. Will that be supported in the final release?

What I want to do is to pass everything between the host and the kernel in one big struct. So I'd have something like:

typedef struct { ... } Value;

typedef struct { ...; Value values[1024]; ... } OneBigThing;

And pass that OneBigThing between the host and the kernel.  Is it not supported now? Will that be supported?

0 Likes
1 Reply
omkaranathan
Adept I

Arrays inside struct are not supported in the current SDK. You can expect the support in one of the upcoming releases.

0 Likes