Hello everyone !! I’m using structure as follows.
struct domain_data
{
int *no_h_domains,
*no_v_domains,
*domain_hsize,
*domain_vsize,
*domain_hstep,
*domain_vstep;
struct domain_pixels
{
int dom_x, dom_y;
double sum,sum2;
int sym;
} ***pixel;
} domain;
But when I try
domain.pixel= (struct domain_pixels **) malloc(isizeof(struct domain_pixels **));
then it gives following errors.
error C2440: ‘=’ : cannot convert from ‘domain_pixels ***’ to ‘domain_data::domain_pixels ***’
and
a value of type “domain_pixels ***” cannot be assigned to an entity of type “domain_data::domain_pixels ***”
But the same code is executed perfectly fine in win32 application.
Can anyone tell me, whether I can do this in opencl? if yes then how? Plz reply ASAP.