diff options
author | Peter Hawkins <phawkins@google.com> | 2016-12-05 06:27:11 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-12-05 06:44:09 -0800 |
commit | e4a4e922ed4be890f4273a7a276768dfefe80a4c (patch) | |
tree | b724c791eb601946961899a621ea4335babfd1e0 /tensorflow/stream_executor/lib | |
parent | b00e490c3834d72aecce445f72b3a717b068d9db (diff) |
Add a Host platform to the stream executor library that runs code on the CPU.
Avoid using a linker-initialized mutex in multi_platform_manager to work around a initialization/destruction ordering problem on Mac.
Include the CUDA platform ID module even in non-CUDA builds.
Change: 141045549
Diffstat (limited to 'tensorflow/stream_executor/lib')
-rw-r--r-- | tensorflow/stream_executor/lib/env.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/stream_executor/lib/env.h b/tensorflow/stream_executor/lib/env.h index f11a4cb25b..9bdc46b3dc 100644 --- a/tensorflow/stream_executor/lib/env.h +++ b/tensorflow/stream_executor/lib/env.h @@ -17,6 +17,7 @@ limitations under the License. #define TENSORFLOW_STREAM_EXECUTOR_LIB_ENV_H_ #include "tensorflow/core/platform/env.h" +#include "tensorflow/stream_executor/lib/status.h" #include "tensorflow/stream_executor/lib/stringpiece.h" #include "tensorflow/stream_executor/platform/port.h" |