Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pow operator complex32 UT failure on Windows MTL/LNL (#847)
(Windows only) Fix for test_binary_ufuncs_xpu.py::TestBinaryUfuncsXPU::test_pow_xpu_float16 The previous way of casting into opmath_t leads to accuracy failure for complex half dtype on windows. This change uses memory::LoadWithCast instead which fixes the problem. (cherry picked from commit 5955b5c) --------- Co-authored-by: Feng Yuan <feng1.yuan@intel.com>
- Loading branch information