aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/compile_only_service.cc
diff options
context:
space:
mode:
authorGravatar Justin Lebar <jlebar@google.com>2018-04-17 21:04:35 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-04-17 21:07:05 -0700
commitd77a621a571d8ab0d69f2682586674e6dff4ec4e (patch)
tree08b29db3c5889725a596b25928aa2ea098be042a /tensorflow/compiler/xla/service/compile_only_service.cc
parent41e2cd187b31e9e6d88bc042e21e73f7be0ed729 (diff)
[XLA] Convert XLA to use xla::se as a namespace alias for ::stream_executor.
PiperOrigin-RevId: 193301997
Diffstat (limited to 'tensorflow/compiler/xla/service/compile_only_service.cc')
-rw-r--r--tensorflow/compiler/xla/service/compile_only_service.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/service/compile_only_service.cc b/tensorflow/compiler/xla/service/compile_only_service.cc
index fb70ea5315..c9f78a0f9f 100644
--- a/tensorflow/compiler/xla/service/compile_only_service.cc
+++ b/tensorflow/compiler/xla/service/compile_only_service.cc
@@ -37,7 +37,7 @@ limitations under the License.
namespace xla {
/* static */ StatusOr<std::unique_ptr<CompileOnlyService>>
-CompileOnlyService::NewService(perftools::gputools::Platform* platform) {
+CompileOnlyService::NewService(se::Platform* platform) {
ServiceOptions default_options;
default_options.set_platform(platform);
return NewService(default_options);
@@ -45,7 +45,7 @@ CompileOnlyService::NewService(perftools::gputools::Platform* platform) {
/* static */ StatusOr<std::unique_ptr<CompileOnlyService>>
CompileOnlyService::NewService(const ServiceOptions& options) {
- perftools::gputools::Platform* platform = options.platform();
+ se::Platform* platform = options.platform();
if (platform == nullptr) {
TF_ASSIGN_OR_RETURN(platform, PlatformUtil::GetDefaultPlatform());
}