Skip to content

[Windows] Don't try to read numa node from SysFS - #5991

Merged
teamdandelion merged 2 commits into
r0.12from
log-fix
Dec 1, 2016
Merged

teamdandelion merged 2 commits into
r0.12from
log-fix

Conversation

@mrry

@mrry mrry commented Nov 30, 2016

Copy link
Copy Markdown
Contributor

This makes the behavior on Windows consistent with Mac OS X, and prevents a needless error message when using GPUs.

Partially addresses #5986.

This makes the behavior on Windows consistent with Mac OS X, and prevents a needless error message when using GPUs.

Partially addresses #5986.
@gunan

gunan commented Nov 30, 2016

Copy link
Copy Markdown
Contributor

Jenkins failed to fetch changes from github, retrying tests.
Jenkins, test this please.

#elif defined(PLATFORM_WINDOWS)
// Windows support for NUMA is not currently implemented. Return node 0.
return 0;
#else

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Don't we need an #endif at the end of the file for this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nevermind, I finally found it :)

@mrry

mrry commented Nov 30, 2016

Copy link
Copy Markdown
Contributor Author

@tensorflow-jenkins test this please.

@teamdandelion
teamdandelion merged commit 45254d9 into r0.12 Dec 1, 2016
@teamdandelion
teamdandelion deleted the log-fix branch December 1, 2016 01:00
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