Can I use the struct as the share variable in the #omp for loop? If it is possible, then how can I do that.
For example, a structure looks like this.
typedef struct
{
lda_suffstats * thread_lda_ss;
char filename[100];
int start_doc;
int end_doc;
double likelihood;
corpus * corpus;
double ** var_gamma;
double ** phi;
lda_model * model;
} thread_info ;
