pytorch/c10/util
sdp b4a0161449 Build SYCL kernels for ATen XPU ops on Native Windows (take 2) (#127390)
Original PR https://github.com/pytorch/pytorch/pull/126725 is closed due to bad rebase.

-------
As proposed in https://github.com/pytorch/pytorch/issues/126719, we are enabling PyTorch XPU on Native Windows on Intel GPU.

This PR  enables XPU build on Windows as the first step of #126719:

- Enable `USE_XPU` build on Windows using MSVC as host compiler. The use of MSVC as host compiler seamlessly aligns with the existing PyTorch build on Windows.
- Build oneDNN GPU library on Windows.

Co-authored-by: Yu, Guangye <guangye.yu@intel.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/127390
Approved by: https://github.com/guangyey, https://github.com/EikanWang, https://github.com/gujinghui, https://github.com/ezyang
2024-06-06 01:41:06 +00:00
..
AbortHandler.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
accumulate.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
AlignOf.h [10/N] Fixes clang-tidy warnings in c10/util/*.h (#116326) 2023-12-23 04:59:55 +00:00
ApproximateClock.cpp
ApproximateClock.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
Array.h Update dispatch stub to make SDPA routing cleaner (#126832) 2024-05-25 01:40:53 +00:00
ArrayRef.h [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
Backtrace.cpp [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
Backtrace.h [caffe2] Make all get_backtrace() implementations lazy (#125750) (#126064) 2024-05-13 20:17:41 +00:00
BFloat16-inl.h
BFloat16-math.h Remove use of math_compat.h (#116167) 2024-01-19 03:37:55 +00:00
Bfloat16.cpp [AOTI] Move c10/util ostream function implementations to their headers (#123847) 2024-04-19 00:51:24 +00:00
BFloat16.h [codemod][lowrisk] Remove extra semi colon from caffe2/c10/core/SymNodeImpl.h (#123055) 2024-05-14 19:35:29 +00:00
bit_cast.h
bits.h
Bitset.h [10/N] Fixes clang-tidy warnings in c10/util/*.h (#116326) 2023-12-23 04:59:55 +00:00
BUILD.bazel
build.bzl
C++17.cpp
C++17.h Remove c10::guts::{conjunction,disjunction} (#127726) 2024-06-03 04:06:21 +00:00
CallOnce.h [10/N] Fixes clang-tidy warnings in c10/util/*.h (#116326) 2023-12-23 04:59:55 +00:00
complex.h [C10] Mark Complex::imag as C10_HOST_DEVICE (#116877) 2024-01-05 21:17:05 +00:00
complex_math.cpp Remove use of math_compat.h (#116167) 2024-01-19 03:37:55 +00:00
complex_math.h [codemod][lowrisk] Remove extra semi colon from caffe2/c10/util/Float8_e5m2.h (#115761) 2024-01-04 02:02:26 +00:00
complex_utils.h
ConstexprCrc.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
copysign.h Remove use of math_compat.h (#116167) 2024-01-19 03:37:55 +00:00
DeadlockDetection.cpp Revert "[Environment Variable][1/N] Use thread-safe env variable API in c10 (#119449)" 2024-04-22 14:44:44 +00:00
DeadlockDetection.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
Deprecated.h
DimVector.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
env.h Revert "[Environment Variable][1/N] Use thread-safe env variable API in c10 (#119449)" 2024-04-22 14:44:44 +00:00
Exception.cpp [codemod][lowrisk] Remove extra semi colon from caffe2/c10/core/SymNodeImpl.h (#123055) 2024-05-14 19:35:29 +00:00
Exception.h [caffe2] Make all get_backtrace() implementations lazy (#125750) (#126064) 2024-05-13 20:17:41 +00:00
ExclusivelyOwned.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
ExclusivelyOwnedTensorTraits.h [10/N] Fixes clang-tidy warnings in c10/util/*.h (#116326) 2023-12-23 04:59:55 +00:00
FbcodeMaps.h
Flags.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
flags_use_gflags.cpp
flags_use_no_gflags.cpp
flat_hash_map.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
Float8_e4m3fn-inl.h
Float8_e4m3fn.cpp [AOTI] Move c10/util ostream function implementations to their headers (#123847) 2024-04-19 00:51:24 +00:00
Float8_e4m3fn.h Eliminate some C++11 checks (#126308) 2024-05-16 22:37:45 +00:00
Float8_e4m3fnuz-inl.h additional support for float8_e4m3fnuz and _e5m2fnuz (#115214) 2024-01-22 18:33:41 +00:00
Float8_e4m3fnuz.cpp [AOTI] Move c10/util ostream function implementations to their headers (#123847) 2024-04-19 00:51:24 +00:00
Float8_e4m3fnuz.h Eliminate some C++11 checks (#126308) 2024-05-16 22:37:45 +00:00
Float8_e5m2-inl.h
Float8_e5m2.cpp [AOTI] Move c10/util ostream function implementations to their headers (#123847) 2024-04-19 00:51:24 +00:00
Float8_e5m2.h [AOTI] Move c10/util ostream function implementations to their headers (#123847) 2024-04-19 00:51:24 +00:00
Float8_e5m2fnuz-inl.h additional support for float8_e4m3fnuz and _e5m2fnuz (#115214) 2024-01-22 18:33:41 +00:00
Float8_e5m2fnuz.cpp [AOTI] Move c10/util ostream function implementations to their headers (#123847) 2024-04-19 00:51:24 +00:00
Float8_e5m2fnuz.h Eliminate some C++11 checks (#126308) 2024-05-16 22:37:45 +00:00
Float8_fnuz_cvt.h Build SYCL kernels for ATen XPU ops on Native Windows (take 2) (#127390) 2024-06-06 01:41:06 +00:00
floating_point_utils.h [10/N] Fixes clang-tidy warnings in c10/util/*.h (#116326) 2023-12-23 04:59:55 +00:00
FunctionRef.h [10/N] Fixes clang-tidy warnings in c10/util/*.h (#116326) 2023-12-23 04:59:55 +00:00
generic_math.h
Half-inl.h Construct c10::Half from float16_t on ARMv8 (#120425) 2024-02-23 04:22:45 +00:00
Half.cpp [AOTI] Move c10/util ostream function implementations to their headers (#123847) 2024-04-19 00:51:24 +00:00
Half.h Use bit_cast instead of UB type-pun-via-union in Half.h (#127321) 2024-05-29 17:43:50 +00:00
hash.h improve CUDACachingAllocator lock contention (#118550) 2024-02-04 16:45:25 +00:00
IdWrapper.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
int128.cpp
int128.h [1/N] Change static functions in headers to inline (#127727) 2024-06-03 04:34:36 +00:00
intrusive_ptr.cpp
intrusive_ptr.h c10:intrusive_ptr, self assignment (#119275) 2024-03-06 01:11:56 +00:00
irange.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
Lazy.h [caffe2] Lazily symbolize backtrace in c10::Error (#125787) 2024-05-09 01:46:57 +00:00
LeftRight.cpp
LeftRight.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
llvmMathExtras.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
Load.h
Logging.cpp [codemod][lowrisk] Remove extra semi colon from caffe2/c10/core/SymNodeImpl.h (#123055) 2024-05-14 19:35:29 +00:00
Logging.h [caffe2] Make all get_backtrace() implementations lazy (#125750) (#126064) 2024-05-13 20:17:41 +00:00
logging_is_google_glog.h
logging_is_not_google_glog.h
MathConstants.cpp
MathConstants.h
MaybeOwned.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
Metaprogramming.cpp
Metaprogramming.h [10/N] Fixes clang-tidy warnings in c10/util/*.h (#116326) 2023-12-23 04:59:55 +00:00
numa.cpp
numa.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
Optional.cpp
Optional.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
OptionalArrayRef.h [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
order_preserving_flat_hash_map.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
overloaded.h [10/N] Fixes clang-tidy warnings in c10/util/*.h (#116326) 2023-12-23 04:59:55 +00:00
ParallelGuard.cpp Avoid COW materialization in at::parallel_for/parallel_reduce (#120455) 2024-03-01 05:05:28 +00:00
ParallelGuard.h Avoid COW materialization in at::parallel_for/parallel_reduce (#120455) 2024-03-01 05:05:28 +00:00
python_stub.h
qint8.h
qint32.h
quint2x4.h
quint4x2.h
quint8.h
Registry.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
safe_numerics.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
ScopeExit.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
signal_handler.cpp use condition_variable and wait_until in nccl dump on timeout (#120544) 2024-02-28 00:06:08 +00:00
signal_handler.h use condition_variable and wait_until in nccl dump on timeout (#120544) 2024-02-28 00:06:08 +00:00
SmallBuffer.h [Clang-tidy header][21/N] Fix clang-tidy warnings in aten/src/ATEN/*.{cpp,h} (#120763) 2024-03-03 23:18:43 +00:00
SmallVector.cpp Fix warnings in SmallVector (#127250) 2024-05-30 21:13:20 +00:00
SmallVector.h Fix warnings in SmallVector (#127250) 2024-05-30 21:13:20 +00:00
sparse_bitset.h [10/N] Fixes clang-tidy warnings in c10/util/*.h (#116326) 2023-12-23 04:59:55 +00:00
ssize.h [10/N] Fixes clang-tidy warnings in c10/util/*.h (#116326) 2023-12-23 04:59:55 +00:00
static_tracepoint.h
static_tracepoint_elfx86.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
strides.h [1/N] Change static functions in headers to inline (#127727) 2024-06-03 04:34:36 +00:00
string_utils.h [Reland] [11/N] Enable clang-tidy warnings on c10/util/*.h (#116751) 2024-01-08 11:07:58 +00:00
string_view.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
StringUtil.cpp Ack codecvt_utf8_utf16 as a deprecated func in C++17 (#127659) 2024-06-01 04:31:39 +00:00
StringUtil.h [2/N] Change static functions in headers to inline (#127764) 2024-06-04 00:49:04 +00:00
strong_type.h STRONG_CONSTEXPR -> constexpr (#125872) 2024-05-13 14:07:26 +00:00
Synchronized.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
tempfile.cpp Revert "[Environment Variable][1/N] Use thread-safe env variable API in c10 (#119449)" 2024-04-22 14:44:44 +00:00
tempfile.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
thread_name.cpp
thread_name.h
ThreadLocal.h
ThreadLocalDebugInfo.cpp
ThreadLocalDebugInfo.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
Type.h
Type_demangle.cpp
Type_no_demangle.cpp
TypeCast.cpp
TypeCast.h [Fix] Fixed behaviour for the conversion of complex tensors to bool (#121803) 2024-03-14 13:35:15 +00:00
typeid.cpp
typeid.h Add unsigned integer dtypes to PyTorch (#116594) 2024-01-07 07:40:49 +00:00
TypeIndex.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
TypeList.cpp
TypeList.h Remove unused c10/util/C++17.h inclusion and outdated checks (#120149) 2024-02-17 14:28:17 +00:00
TypeSafeSignMath.h [2/N] Change static functions in headers to inline (#127764) 2024-06-04 00:49:04 +00:00
TypeTraits.cpp
TypeTraits.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
Unicode.cpp
Unicode.h
UniqueVoidPtr.cpp Enable nested namespace check in clang-tidy (#118506) 2024-01-31 00:32:35 +00:00
UniqueVoidPtr.h [9/N] Fixes clang-tidy warnings in c10/util/*.h (#116185) 2023-12-22 09:35:44 +00:00
Unroll.h add int4 packed gemm support on CPU device (#117475) 2024-03-06 16:25:53 +00:00
win32-headers.h