¿Cómo llamar a una función de host en un núcleo CUDA?
omo implica el siguiente error, no se permite llamar a una función de host ('rand') en el núcleo, y me pregunto si hay una solución para ello si necesito hacer eso.
error: calling a host function("rand") from a __device__/__global__ function("xS_v1_cuda") is not allowed