hi…
My question is simple. I have an array of char pointers…Each of the pointers point to appropriate character arrays. How do i send this to device usin cudaMemcpy??
What will the arguments to cudaMemcpy be?[codebox]char* tnode_atts_char_dev[50];
char* tnode_vals_char_dev[50];
cudaMalloc((void**)&tnode_atts_char_dev,50*(sizeof(char*)));
cudaMalloc((void**)&tnode_atts_char_dev,50*(sizeof(char*)));
cudaMemcpy(?,?,?,cudaMemcpyHostToDevice);
cudaMemcpy(?,?,?,cudaMemcpyHostToDevice);[/codebox]
Sumone plz help me with this…