mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
Summary: After this, we should have contbuild guarding the Windows build both with and without CUDA. This includes a series of changes that are needed to make Windows build, specifically: (1) Various flags that are needed in the cmake system, specially dealing with /MD, /MT, cuda, cudnn, whole static linking, etc. (2) Contbuild scripts based on appveyo. (3) For Windows build, note that one will need to use "cmake --build" to build stuff so that the build type is consistent between configuration and actual build. see scripts\build_windows.bat for details. (4) In logging.h, ERROR is already defined by Windows. I don't have a good solution now, and as a result, LOG(ERROR) on windows is going to be LOG(INFO). (5) variable length array is not supported by MSVC (and it is not part of C++ standard). As a result I replaced them with vectors. (6) sched.h is not available on Windows, so akyrola 's awesome simple async net might encounter some slowdown due to no affinity setting on Windows. (7) MSVC has a Closes https://github.com/caffe2/caffe2/pull/183 Reviewed By: ajtulloch Differential Revision: D4657831 Pulled By: Yangqing fbshipit-source-id: 070ded372ed78a7e3e3919fdffa1d337640f146e |
||
|---|---|---|
| .. | ||
| mkl | ||
| threadpool | ||
| cblas.h | ||
| CMakeLists.txt | ||
| cpu_neon.h | ||
| fixed_divisor.h | ||
| fixed_divisor_test.cc | ||
| math-detail.h | ||
| math.h | ||
| math_cpu.cc | ||
| math_gpu.cu | ||
| math_test.cc | ||
| mkl_utils.h | ||
| mkl_utils_test.cc | ||
| murmur_hash3.cc | ||
| murmur_hash3.h | ||
| proto_utils.cc | ||
| proto_utils.h | ||
| proto_utils_test.cc | ||
| signal_handler.cc | ||
| signal_handler.h | ||
| simple_queue.h | ||
| simple_queue_test.cc | ||
| string_utils.cc | ||
| string_utils.h | ||
| thread_pool.h | ||
| zmq_helper.h | ||