Benign repos Download

gpu_hlo_schedule.cc

imports tsl/platform/path.himports tsl/platform/protobuf.h
SHA-2569a1d58b9710f6dde24ea5d86a18b443c2d2ada4b9f52479ffee08092f0fad6df
MaleculeMd(In₅)

Evidence

apache web server name lines 1–10
1/* Copyright 2017 The OpenXLA Authors.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is …
imports tsl/platform/path.h lines 11–58
11:42… IND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15
16#include "xla/service/gpu/gpu_hlo_schedule.h"
17
18#include <cstddef>
19#include <cstdint>
20#include <deque>
21#include <memory>
22#include <optional>
23#include <string>
24#include <utility>
25#include <vector>
26
27#include "absl/algorithm/container.h"
28#include "absl/container/flat_hash_map.h"
29#include "absl/container/flat_hash_set.h"
30#include "absl/log/check.h"
31#include "absl/log/log.h"
32#include "absl/status/status.h"
33#include "absl/status/statusor.h"
34#include "absl/strings/match.h"
35#include "absl/strings/numbers.h"
36#include "absl/strings/str_cat.h"
37#include "absl/strings/str_split.h"
38#include "absl/strings/string_view.h"
39#include "mlir/IR/MLIRContext.h"
40#include "xla/backends/gpu/transforms/collectives/async_collective_annotator.h"
41#include "xla/backends/gpu/transforms/collectives/collective_ops_utils.h"
42#include "xla/backends/gpu/transforms/pgle_accuracy_checker.h"
43#include "xla/backends/gpu/transforms/scheduling_instruction_annotator.h"
44#include "xla/backends/gpu/transforms/stream_attribute_async_wrapper.h"
45#include "xla/hlo/ir/hlo_casting_utils.h"
46#include "xla/hlo/ir/hlo_computation.h"
47#include "xla/hlo/ir/hlo_input_output_alias_config.h"
48#include "xla/hlo/ir/hlo_instruction.h"
49#include "xla/hlo/ir/hlo_instructions.h"
50#include "xla/hlo/ir/hlo_opcode.h"
51#include "xla/hlo/ir/hlo_print_options.h"
52#include "xla/hlo/ir/hlo_schedule.h"
53#include "xla/hlo/pass/hlo_pass_pipeline.h"
54#include "xla/hlo/transforms/collectives/async_collective_creator.h"
55#include "xla/hlo/transforms/simplifiers/hlo_memory_scheduler.h"
56#include "xla/hlo/utils/hlo_query.h"
57#include "xla/layout.h"
58#include "xla/service/buffer_value.h"
English function-word token "have" lines 143–146
143:76… s
144// scheduled right after all of its producers have been scheduled and
145// PerformXDone is scheduled right before its first consumer.)
146HloInstructio …
English function-word token "that" lines 162–165
162:16… hedule(instr);
163
164 // Schedule any successor that should be scheduled as early as possible if
165 // all of its producers and control_predecess …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.