Hello bellow is the code that I wrote
unsigned char *dev_ptr;
int dev_frame;
bool dev_fft, dev_resample;
cuComplex *dev_d_in;
float dev_k_resampledspacing;
int dev_b[FRAMES][XDIM][YDIM];
float dev_resamp[LINE_LENGTH][2];
cudaMalloc((void**)&dev_ptr, bitmap.image_size());
cudaMalloc((void**)&dev_frame, sizeof(int));
cudaMalloc((void**)&dev_fft, sizeof(bool));
cudaMalloc((void**)&dev_resample, sizeof(bool));
cudaMalloc((void**)&dev_d_in, sizeof(cuComplex)*YDIM*1);
cudaMalloc((void**)&dev_k_resampledspacing, sizeof( float ));
cudaMalloc((void**)&dev_b, sizeof(int)*FRAMES*XDIM*YDIM);
cudaMalloc((void**)&dev_resamp, sizeof(int)*LINE_LENGTH*2);
This cause a error saying that argument of type “bool” is incompatible with parameter type const void *. Can somebody help me with this??
I dont know how to solve the problem ;(. Thank you.