andresy/torch — pull request #1 by pflaquerre (2011-10-13 20:30:36+00:00)
Title: Windows support

This branch allows Torch 7 to be built on Windows with icc, and adds timer support. To compile:

- Install intel's compiler (msvc doesn't support c99)
- Launch cmake-gui
- Set CMAKE_C_FLAGS and CMAKE_CXX_FLAGS to "/Qopenmp /Qstd=c99"
- Set INTEL_COMPILER_DIR
- Generate
- Open Torch.sln
- Right-click the solution in the solution explorer, click Intel C++ Compiler Pro, click Use Intel C++
- Build the solution
- Build the INSTALL target

Some remaining warnings:

warning #63: shift count is too large, libraries\TH\generic/THTensorRandom.c:20
warning #264: floating-point value does not fit in required floating-point type, packages\nn\generic/TemporalLogSoftMax.c:19