Can anyone describe the differences between __global__ and __device__ ?
__global__
__device__
When should I use __device__, and when to use __glob
__glob
Global Function can only be called from the host and they don't have a return type while Device Function can only be called from kernel function of other Device function hence dosen't require kernel setting