Building codes that use gt::adapt_device can result in a lot of spurious warnings:
include/gtensor/gtensor_span.h(263): warning #20011-D: calling a __host__ function("gt::sarray<int, (unsigned long)5ul> ::sarray(const int *, unsigned long)") from a __host__ __device__ function("gt::adapt_device<(unsigned long)5ul, const double> ") is not allowed
It's not clear how to make the sarray ctor device, the simplest change would be to make adapt_device host only, but I think PSC may be using it. @germasch what do you think?