Hi, I need these two functions on a device function but when I call one of these it shows me this message:
error: calling a host function from a device/global function is not allowed
I know I can’t host’s functions from a device’s function, but how can I do the sqrt and the pow on a device’s function?
Thanks for the answers!