calling DeviceScan from kernel

4 views
Skip to first unread message

Ron Livne

unread,
Jul 30, 2017, 4:04:56 AM7/30/17
to cub-users
Hi,

I'm calling DeviceScan::ExclusiveSum from a kernel function.
Although I'm getting cudaSuccess back from the ExclusiveSum, sometimes I'm not getting any results (I'm memsetting the out vector and it's not changing at all)

Is it legal to call DeviceScan from a __global__ or __device__ function?
What am I doing wrong?

Reply all
Reply to author
Forward
0 new messages