Known issue, Julia codegen assumes forms of fpow that are not necessarily provided by the back-end. Once we have contextual dispatch we’ll be able to selectively override these functions for the GPU back-end, but for now you need to duplicate code to prevent the bad invocations.