We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93631c9 commit 5624a3dCopy full SHA for 5624a3d
paddle/phi/kernels/funcs/fft_fill_conj.h
@@ -138,7 +138,7 @@ struct FFTFillConjFunctor {
138
};
139
140
template <typename DeviceContext, typename C>
141
-void FFTFillConj(const DeviceContext& dev_ctx,
+void FFTFillConj(const DeviceContext& ctx,
142
const DenseTensor* src,
143
DenseTensor* dst,
144
const std::vector<int64_t>& axes) {
@@ -202,7 +202,7 @@ void FFTFillConj(const DeviceContext& dev_ctx,
202
const auto dst_shape = dst_shape_v.data();
203
const auto p_is_fft_axis = _is_fft_axis.get();
204
#endif
205
- ForRange<DeviceContext> for_range(dev_ctx, dst->numel());
+ ForRange<DeviceContext> for_range(ctx, dst->numel());
206
FFTFillConjFunctor<C> fill_conj_functor(src_data,
207
dst_data,
208
src_strides,
0 commit comments