diff options
author | Alexander Belyaev <pifon@google.com> | 2024-05-10 02:42:51 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2024-05-10 03:09:06 -0700 |
commit | 1b56d4eaa178410db5c5a2664ce3edfdc57b8d4c (patch) | |
tree | 9877ba0cb084834d539d678c4064f41140358bc7 | |
parent | 402fe86cb53bf1a4906b4343c00191a3a38fe9d9 (diff) | |
download | tensorflow-1b56d4eaa178410db5c5a2664ce3edfdc57b8d4c.tar.gz |
[XLA:GPU][IndexAnalysis] Remove indexing_context.h. It is not used.
PiperOrigin-RevId: 632431640
-rw-r--r-- | third_party/xla/xla/service/gpu/model/indexing_context.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/third_party/xla/xla/service/gpu/model/indexing_context.h b/third_party/xla/xla/service/gpu/model/indexing_context.h deleted file mode 100644 index e5dfc6adb7d..00000000000 --- a/third_party/xla/xla/service/gpu/model/indexing_context.h +++ /dev/null @@ -1,39 +0,0 @@ -/* Copyright 2024 The OpenXLA Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -==============================================================================*/ - -#ifndef XLA_SERVICE_GPU_MODEL_INDEXING_CONTEXT_H_ -#define XLA_SERVICE_GPU_MODEL_INDEXING_CONTEXT_H_ - -#include "mlir/IR/MLIRContext.h" // from @llvm-project -#include "xla/service/gpu/model/indexing_map.h" - -namespace xla { -namespace gpu { - -class IndexingContext { - public: - explicit IndexingContext(mlir::MLIRContext* mlir_context) - : mlir_context_(mlir_context) {} - - mlir::MLIRContext* GetMLIRContext() const { return mlir_context_; } - - private: - mlir::MLIRContext* mlir_context_; -}; - -} // namespace gpu -} // namespace xla - -#endif // XLA_SERVICE_GPU_MODEL_INDEXING_CONTEXT_H_ |