Skip to content

Conversation

@gunan
Copy link
Contributor

@gunan gunan commented May 20, 2018

No description provided.

@gunan gunan changed the title Instead of expose stream executor namespace in cmake shared object. Expose stream executor namespace in cmake shared object. May 20, 2018
The one we are interested in is tensorflow::se and it is covered by a previous regex.
r"functor::|"
r"\?nsync_|"
r"perftools::gputools")
r"stream_executor::")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like the right fix, but it seems we're once again hitting the 2**16 exported symbols limit. Perhaps stream_executor::* contains far more symbols that perftools::gputools ever did?

I don't know anything about the structure of that namespace, but is it possible we could use a narrower regex to get the symbols we need here? Ideally we'd have some sort of explicit public or private/impl subnamespace that we could include/exclude as possible, but I'm not sure if such a thing exists...

@case540 case540 self-assigned this May 21, 2018
@gunan
Copy link
Contributor Author

gunan commented May 23, 2018

I think we now got around the symbol limit issue, however now I am seeing this:
http://ci.tensorflow.org/view/TF%20pull%20requests/job/tf-pr-win-cmake-gpu/34/console

C:\tf_jenkins\workspace\tf-pr-win-cmake-gpu\cmake_build\Release\contrib_image_sirds_ops_gen_python.exe : fatal error LNK1169: one or more multiply defined symbols found [C:\tf_jenkins\workspace\tf-pr-win-cmake-gpu\cmake_build\contrib_image_sirds_ops_gen_python.vcxproj]

Copy link
Contributor

@mrry mrry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hooray!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants