On Fri, Aug 10, 2012 at 6:59 AM, madhur amilkanthwar
<[email protected]> wrote:
> Hello,
> I'm newbie to PyCUDA. I need to call function declared with __device__ from
> function declared with __global__.
> How to achieve in pyCUDA?

Is this even possible in CUDA? I thought that __device__ functions
could only be called from other __device__ functions. Now, it may be
possible to call a __global__ function from a __device__ function
(it's been a little while since I looked), but not the other way
around.

David

>
> --
> Thank You.
> Madhur D. Amilkanthwar
> RISE lab,
> IIT Madras.
>
>
> _______________________________________________
> PyCUDA mailing list
> [email protected]
> http://lists.tiker.net/listinfo/pycuda
>



-- 
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to