Repository navigation
Replace all COMPILER_MSVC to _MSC_VER and _WIN32 accordingly - #18448
Merged
Merged
Conversation
mrry
approved these changes
Apr 12, 2018
Contributor
Author
|
@mrry I fixed one more ARRAYSIZE -> TF_ARRAYSIZE. PTAL and re-trigger CI test. |
Contributor
Author
|
@meteorcloudy For some reason, I got the email notification that you pinged @tensorflow-jenkins for CI test, but your comment is missing in Github web and the CI test is not triggered. |
Member
|
That's right.. I deleted the comment because I just realized TF is not using Jenkins to do presubmit anymore, I don't know how to trigger a retest. @mrry Can you do that? |
meteorcloudy
approved these changes
Apr 12, 2018
Contributor
|
@meteorcloudy Sure: for future reference, you now have to apply the "kokoro:force-run" label to the PR to kick off the tests. |
Member
|
@mrry Got it, thanks! |
Contributor
Author
|
Last commit fixes the remaining failing CI tests ("GPU CC", "GPU Python3" and "XLA"), caused by including non-existing header file. Sorry for the spam. |
armasanea
pushed a commit
to armasanea/tensorflow
that referenced
this pull request
Jul 6, 2018
…low#18448) * Replace all COMPILER_MSVC to _MSC_VER and _WIN32 accordingly * One more ARRAYSIZE to TF_ARRAYSIZE * Delete non-existing include
copybara-service Bot
pushed a commit
that referenced
this pull request
Oct 29, 2024
Imported from GitHub PR openxla/xla#18448 First part of splitting up #17982 Copybara import of the project: -- 8ecc06c64422558094c5d1a913d4b425ca453435 by chaser <[email protected]>: Don't inline stream annotated kCalls Merging this change closes #18448 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18448 from chaserileyroberts:chase/stream_call_noinline 8ecc06c64422558094c5d1a913d4b425ca453435 PiperOrigin-RevId: 691070675
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 1, 2024
Imported from GitHub PR openxla/xla#18448 First part of splitting up #17982 Copybara import of the project: -- 8ecc06c64422558094c5d1a913d4b425ca453435 by chaser <[email protected]>: Don't inline stream annotated kCalls Merging this change closes #18448 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18448 from chaserileyroberts:chase/stream_call_noinline 8ecc06c64422558094c5d1a913d4b425ca453435 PiperOrigin-RevId: 691070675
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 7, 2024
Imported from GitHub PR openxla/xla#18448 First part of splitting up #17982 Copybara import of the project: -- 8ecc06c64422558094c5d1a913d4b425ca453435 by chaser <[email protected]>: Don't inline stream annotated kCalls Merging this change closes #18448 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18448 from chaserileyroberts:chase/stream_call_noinline 8ecc06c64422558094c5d1a913d4b425ca453435 PiperOrigin-RevId: 691070675
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 7, 2024
Imported from GitHub PR openxla/xla#18448 First part of splitting up #17982 Copybara import of the project: -- 8ecc06c64422558094c5d1a913d4b425ca453435 by chaser <[email protected]>: Don't inline stream annotated kCalls Merging this change closes #18448 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18448 from chaserileyroberts:chase/stream_call_noinline 8ecc06c64422558094c5d1a913d4b425ca453435 PiperOrigin-RevId: 691070675
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 8, 2024
Imported from GitHub PR openxla/xla#18448 First part of splitting up #17982 Copybara import of the project: -- 8ecc06c64422558094c5d1a913d4b425ca453435 by chaser <[email protected]>: Don't inline stream annotated kCalls Merging this change closes #18448 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#18448 from chaserileyroberts:chase/stream_call_noinline 8ecc06c64422558094c5d1a913d4b425ca453435 PiperOrigin-RevId: 691070675
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 8, 2024
Imported from GitHub PR openxla/xla#18448 First part of splitting up #17982 Copybara import of the project: -- 8ecc06c64422558094c5d1a913d4b425ca453435 by chaser <[email protected]>: Don't inline stream annotated kCalls Merging this change closes #18448 PiperOrigin-RevId: 694522066
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
-Dcompile flag should be avoided as much as possible. Many Google projects like Chromium follow (which uses CMake or GN) only define macro in header file like below and always include the header file to get the macro (IWYU).However, such rule is not easy to implement for Tensorflow as Bazel require strict header dependency. It is easier to just use
_MSC_VERand_WIN32directly.Other stuff:
ARRAYSIZEmacro intensorflow/stream_executor/platform/port.h(only used intensorflow/stream_executor/cuda/cuda_driver.cc, which is now replaced withTF_ARRAYSIZEfromtensorflow/stream_executor/platform/macros.h).