I have two structures as;
struct collapsed {
char **seq;
int num;
};
// set of collapsed examples
struct data {
collapsed *x;
int num;
int numblocks;
int *blocksizes;
float *regmult;
float *learnmult;
};
And I have one statically defined 'data X;' need to be transmitted into device memory from host memory. I am currently out of my mind to do that for a week. Is there any senior deveoper that can help thi newbie with a little code snippet or example?