message: Work around missing support for complex multiplication in Cuda on Windows.
diff: @@ -40,13 +40,6 @@ namespace functor {
  typedef Eigen::GpuDevice GPUDevice;
  -template <typename T>
  -struct Square {
  - __host__ __device__ T operator()(const T& a) const {
  - return a * Eigen::numext::conj(a);
  - }
  -};
  -
  template <typename T>
  struct Sqrt {
  __host__ __device__ T operator()(const T& a) const {
  @@ -112,6 +105,13 @@ struct Prod<std::complex<double>> {
  }
  };
  +template <typename T>
  +struct Square {
  + __host__ __device__ T operator()(const T& a) const {
  + return Prod<T>()(a, Eigen::numext::conj(a));
  + }
  +};
  +
  template <typename T, typename outT = T>
  struct DividesBy {
  T divisor;
  