Can a gpu kernel function (global) take void * type arguments? That means, we cast the type inside the kernel function to get particular argument values. Just like pthread kernel functions.
Has anyone tried before?
Can a gpu kernel function (global) take void * type arguments? That means, we cast the type inside the kernel function to get particular argument values. Just like pthread kernel functions.
Has anyone tried before?
Update: I have just checked with a test program that simply increments data arrays. It worked.
Update: I have just checked with a test program that simply increments data arrays. It worked.