Host rand
calls don’t work on the GPU. We also don’t support the CURAND device API for now. See Generating Random Number from inside Kernel for possible workarounds.
IIRC @tkf also had a solution, maybe he can elaborate (Slack has eaten the history).