Skip to content

Conversation

@peterjc123
Copy link
Collaborator

@peterjc123 peterjc123 commented Nov 12, 2017

  1. CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS has a limitation, the maximum number of exported functions cannot exceed 65535. So it can't be used in CUDA builds. Removing this.
  2. Specify static on an inline function to prevent linking errors. The MSVC uses C89 standard that will expose the inline function if it's not static.

1. CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS has a limitation, the maximum number of exported functions cannot exceed 65535. So it can't be used.
2. Specify static on an inline function to prevent linking errors.
@soumith soumith merged commit ea4432b into pytorch:master Nov 12, 2017
@soumith
Copy link
Contributor

soumith commented Nov 12, 2017

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants