CUDA error message : unspecified launch failure
Posted
by
user1297065
on Stack Overflow
See other posts from Stack Overflow
or by user1297065
Published on 2012-03-28T05:23:50Z
Indexed on
2012/03/28
5:29 UTC
Read the original article
Hit count: 137
Filed under:
c
I received the error message "unspecified launch failure" in following part.
off_t *matches_position;
......
cudaMalloc ( (void **) &mat_position, sizeof(off_t)*10);
......
cudaMemcpy (mat_position, matches_position, sizeof(off_t)*10, cudaMemcpyHostToDevice );
......
err=cudaMemcpy (matches_position, mat_position, sizeof(off_t)*10, cudaMemcpyDeviceToHost );
if(err!=cudaSuccess)
{
printf("\n3 %s\n", cudaGetErrorString(err));
}
Do you know why this error message is reported??
© Stack Overflow or respective owner