Sudo code shown like this,
host __device float function(){
return (float)BRandom(); // got error here, I cannot call BRandom() because, I think, BRandom is a none device function which I cannot call.
}
global void(){
function();
}
The question is how can I get a value from BRandom()
Thank you for considering.