-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compatibility changes with Windows CL and ICL compilers; Windows CUDA…
… support and bug fixes in cudamatrix Parent track: c826fe8 P 16c1ba0 P d79a8c9 P 0a17a84 C 569c8c2 C
- Loading branch information
kkm
committed
May 18, 2015
1 parent
c8bf5c6
commit 1cc30dc
Showing
10 changed files
with
46 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1cc30dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a little but concerned about "std::isnan" replacing "::_isnan"
Do you have any knowledge if it's supported in all VS compilers, say, 2010,2012--2015?
Add kaldi-types.h:
Are you sure stdint.h is available in VS? I have the recollection it wasn't in some older versions -- it might be in the newer version, though. I don't exactly know, what "newer" and "older" means :/ So please check and then I'll just trust you :)
That concern actually extends to other modification in this patch. I think we should be clear which versions we support or not. I.e. add #pragma warning (or error) in case the compiler is too old
The second concern I hjave is about "src/util/kaldi-io-test.cc"
Yes, you assume cygwin will be available to run egs, but I don't feel we should make it a requirement for compiling the libraries and running tests. So I'd prefer to go back to the original "windows/dos" commands.
1cc30dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jtrmal:
std::isnan
is probably not there in VS2010, and certainly not in VS2008.stdint.h
is available starting with VS2012. Do you think we need to support anything older than VS2012? AFAIK, the free compiler comes with Visual Studio Express and/or the SDK, so I would not worry about older compilers.The original
more/type
trick does not even work. I think, however, we can easily support training under Windows, and should (for the record, @danpovey.thinks otherwise, AFAIU). In any case, piping is either not required on Windows (library decoding only), or should support all pipe tricks (if we support training). as for test only, let me figure something out. Good point not to require cygwin even for testing.A bigger problem is the matrix backend library on Windows. ATLAS is not available for Windows, AFAIK, and MKL is not free.