intel / torch-xpu-ops

Apache License 2.0
30 stars 21 forks source link

Windows: Fixing building error #995

Closed fengyuan14 closed 4 weeks ago

fengyuan14 commented 1 month ago
  1. std::isnan(int type) leads to ambiguous candidates in ucrt.lib.
  2. Fixing incapable decoration (restrict) on Windows.
  3. Cannot export symbols due to including the header declared with TORCH_XPU_API in the source where we define the function.