ID
stringlengths
36
36
Language
stringclasses
1 value
Repository Name
stringclasses
13 values
File Name
stringlengths
2
48
File Path in Repository
stringlengths
11
111
File Path for Unit Test
stringlengths
13
116
Code
stringlengths
0
278k
Unit Test - (Ground Truth)
stringlengths
78
663k
Code Url
stringlengths
91
198
Test Code Url
stringlengths
93
203
Commit Hash
stringclasses
13 values
16498d21-1d10-4b45-ae7a-9b43a041a5b6
cpp
tensorflow/tensorflow
memory_space_propagation
third_party/xla/xla/service/memory_space_propagation.cc
third_party/xla/xla/service/memory_space_propagation_test.cc
#include "xla/service/memory_space_propagation.h" #include <cstdint> #include "xla/shape.h" #include "xla/shape_util.h" namespace xla { absl::StatusOr<bool> MemorySpacePropagation::Run( HloModule* module, const absl::flat_hash_set<absl::string_view>& execution_threads) { bool modified = false; TF_ASSIGN_OR_...
#include "xla/service/memory_space_propagation.h" #include "xla/service/hlo_parser.h" #include "xla/tests/hlo_test_base.h" #include "xla/tsl/lib/core/status_test_util.h" namespace xla { namespace { class MemorySpacePropagationTest : public HloTestBase { public: MemorySpacePropagationTest() : HloTestBase(), ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_propagation.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_propagation_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c7a66d7d-dadc-40c4-8d3c-c32222c567aa
cpp
tensorflow/tensorflow
xla_debug_info_manager
third_party/xla/xla/service/xla_debug_info_manager.cc
third_party/xla/xla/service/xla_debug_info_manager_test.cc
#include "xla/service/xla_debug_info_manager.h" #include <memory> #include <string> #include <utility> #include <vector> #include "absl/log/check.h" #include "absl/synchronization/mutex.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/service/hlo.pb.h" #include "xla/service/hlo_proto_util.h" namespace xla { void Xla...
#include "xla/service/xla_debug_info_manager.h" #include <memory> #include <string> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_set.h" #include "absl/synchronization/mutex.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/service/hlo.pb.h" #include "xla/serv...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/xla_debug_info_manager.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/xla_debug_info_manager_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
04ba64e2-bf21-4b89-ab30-0f9608f75f9e
cpp
tensorflow/tensorflow
convert_operand_folding
third_party/xla/xla/service/convert_operand_folding.cc
third_party/xla/xla/service/convert_operand_folding_test.cc
#include "xla/service/convert_operand_folding.h" #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/primitive_util.h" #include "xla/shape_util.h" #include "xla/xla_data.pb.h" #include "tsl/platform/errors.h" namespace xla { namespace { bool IsUpcas...
#include "xla/service/convert_operand_folding.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/statusor.h" namespace xla { namespace { namespac...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/convert_operand_folding.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/convert_operand_folding_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
31d6bc83-735f-44e1-8e06-a62edd6d24b3
cpp
tensorflow/tensorflow
convert_memory_placement_to_internal_annotations
third_party/xla/xla/service/convert_memory_placement_to_internal_annotations.cc
third_party/xla/xla/service/convert_memory_placement_to_internal_annotations_test.cc
#include "xla/service/convert_memory_placement_to_internal_annotations.h" #include "absl/container/flat_hash_set.h" #include "absl/log/log.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/host_memory_offload_annotations.h" #include ...
#include "xla/service/convert_memory_placement_to_internal_annotations.h" #include <cstdint> #include <memory> #include <optional> #include <string> #include <string_view> #include <vector> #include <gtest/gtest.h> #include "absl/status/statusor.h" #include "xla/service/host_memory_offload_annotations.h" #include "xla/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/convert_memory_placement_to_internal_annotations.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/convert_memory_placement_to_internal_annotations_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ce41f9f8-1f4d-4324-9dbd-5d7e74c1ec3e
cpp
tensorflow/tensorflow
gpu_compilation_environment
third_party/xla/xla/service/gpu_compilation_environment.cc
third_party/xla/xla/service/gpu_compilation_environment_test.cc
#include "xla/service/gpu_compilation_environment.h" #include <cstdint> #include <memory> #include <string> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_join.h" #include "xla/parse_flags_from_env.h" #include "xla/service/compilation_environments.h" #incl...
#include "xla/service/gpu_compilation_environment.h" #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/parse_flags_from_env.h" #include "xla/service/compilation_environments.h" #include "xla/tsl/lib/core/status_test_util.h" #include "xla/xla.pb.h" #include "tsl/platform...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu_compilation_environment.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu_compilation_environment_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
371d52b9-46aa-4f5f-a647-47eba0f32fe7
cpp
tensorflow/tensorflow
instruction_fusion
third_party/xla/xla/service/gpu/transforms/instruction_fusion.cc
third_party/xla/xla/service/gpu/transforms/instruction_fusion_test.cc
#include "xla/service/gpu/transforms/instruction_fusion.h" #include <cstdint> #include <memory> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/meta/type_traits.h" #include "absl/status/statusor.h" #include "absl/strings/string_view...
#include "xla/service/gpu/transforms/instruction_fusion.h" #include <cstdint> #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/literal_util.h" #include "xla/service/gpu/gpu_device_info_for_tests.h" #include "xla/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/instruction_fusion.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/instruction_fusion_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
548583df-a9ce-42fe-a3f2-1f92da313ff7
cpp
tensorflow/tensorflow
conditional_simplifier
third_party/xla/xla/service/conditional_simplifier.cc
third_party/xla/xla/service/conditional_simplifier_test.cc
#include "xla/service/conditional_simplifier.h" #include <iterator> #include <set> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/status/statusor.h" #include "absl/strings/str...
#include "xla/service/conditional_simplifier.h" #include <string> #include <utility> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/literal_util.h" #include "xla/shape_util.h" #include "xla/test.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/conditional_simplifier.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/conditional_simplifier_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0a481887-ac82-46c5-9d5c-6fcea92ba784
cpp
tensorflow/tensorflow
collectives_schedule_linearizer
third_party/xla/xla/service/collectives_schedule_linearizer.cc
third_party/xla/xla/service/collectives_schedule_linearizer_test.cc
#include "xla/service/collectives_schedule_linearizer.h" #include <algorithm> #include <list> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_in...
#include "xla/service/collectives_schedule_linearizer.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/service/pattern_matcher.h" #include "xla/test.h" #include "xla/test_helpers.h" #include "xla/tests/hlo_test_base.h" #include "xla/xla_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/collectives_schedule_linearizer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/collectives_schedule_linearizer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7cf7d152-112a-442f-9cb2-370feb836587
cpp
tensorflow/tensorflow
gather_expander
third_party/xla/xla/service/gather_expander.cc
third_party/xla/xla/service/gather_expander_test.cc
#include "xla/service/gather_expander.h" #include <utility> #include "absl/algorithm/container.h" #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/literal_util.h" #include "xla/service/hlo_creation_utils.h" #include "xla/service/while_util.h" #include "xla/util.h" namespace xla { ...
#include "xla/service/gather_expander.h" #include "xla/hlo/utils/hlo_query.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" #include "xla/tests/test_macros.h" namespace xla { namespace { using GatherExpanderTest = HloTestBase; TEST_F(GatherExpanderTest, ErrorStatusOnTooManyIndices) { const std::string hl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gather_expander.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gather_expander_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3393ebe0-0d02-4328-8e95-0a40a35cb820
cpp
tensorflow/tensorflow
tree_reduction_rewriter
third_party/xla/xla/service/gpu/transforms/tree_reduction_rewriter.cc
third_party/xla/xla/service/cpu/tests/tree_reduction_rewriter_test.cc
#include "xla/service/gpu/transforms/tree_reduction_rewriter.h" #include <algorithm> #include <cmath> #include <cstdint> #include <iterator> #include <memory> #include <utility> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/container/inlined_vector.h" #include "absl/log/...
#include "xla/service/cpu/tests/cpu_codegen_test.h" #include "tsl/platform/test.h" namespace xla { namespace cpu { namespace { class TreeReductionRewriterTest : public CpuCodegenTest {}; TEST_F(TreeReductionRewriterTest, SimpleRewrite) { const char* hlo_text = R"( HloModule SimpleReduction add { acc = f32[] paramet...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/tree_reduction_rewriter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/tests/tree_reduction_rewriter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b94443b4-6fb3-4c90-8ccc-d0cf952d9da3
cpp
tensorflow/tensorflow
hlo_alias_analysis
third_party/xla/xla/service/hlo_alias_analysis.cc
third_party/xla/xla/service/hlo_alias_analysis_test.cc
#include "xla/service/hlo_alias_analysis.h" #include <algorithm> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "absl/strings/str...
#include "xla/service/hlo_alias_analysis.h" #include <memory> #include <set> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcod...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_alias_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_alias_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e59be81d-78e8-4178-b423-a8826f3c6fff
cpp
tensorflow/tensorflow
scatter_simplifier
third_party/xla/xla/service/scatter_simplifier.cc
third_party/xla/xla/service/scatter_simplifier_test.cc
#include "xla/service/scatter_simplifier.h" #include <algorithm> #include <cstdint> #include <iterator> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/inlined_vector.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_in...
#include "xla/service/scatter_simplifier.h" #include <optional> #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/pass/hlo_pass_fix.h" #include "xla/hlo/pass/hlo_pass_pipeline.h" #include "xla/service/hlo_parser.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { class ScatterSimplifierTest : ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/scatter_simplifier.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/scatter_simplifier_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
09730dec-80af-493b-9079-4dd8922a3bdf
cpp
tensorflow/tensorflow
slice_sinker
third_party/xla/xla/service/slice_sinker.cc
third_party/xla/xla/service/slice_sinker_test.cc
#include "xla/service/slice_sinker.h" #include <algorithm> #include <optional> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/types/span.h" #include "xla/shape_util.h" namespace xla { namespace { bool SameSliceConfiguration(const HloInstruction* slice_1, ...
#include "xla/service/slice_sinker.h" #include <memory> #include <vector> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/layout_util.h" #include "xla/literal_util.h" #include "xla/service/hlo_dce.h" #inc...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/slice_sinker.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/slice_sinker_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3d74cae6-8e08-4595-b6bf-2d5ca27cc59f
cpp
tensorflow/tensorflow
convert_mover
third_party/xla/xla/service/convert_mover.cc
third_party/xla/xla/service/convert_mover_test.cc
#include "xla/service/convert_mover.h" #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/container/inlined_vector.h" #include "absl/log/log.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir...
#include "xla/service/convert_mover.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/service/pattern_matcher.h" #include "xla/service/pattern_matcher_gmock.h" #include "xla/tests/hlo_test_base.h" #include "xla/xla_data.pb.h" #inc...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/convert_mover.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/convert_mover_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2b440a48-9e51-478c-ae66-5556f1655335
cpp
tensorflow/tensorflow
hlo_cost_analysis
third_party/xla/xla/service/hlo_cost_analysis.cc
third_party/xla/xla/service/hlo_cost_analysis_test.cc
#include "xla/service/hlo_cost_analysis.h" #include <algorithm> #include <cmath> #include <cstdint> #include <functional> #include <iterator> #include <memory> #include <optional> #include <string> #include <utility> #include "absl/algorithm/container.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h"...
#include "xla/service/hlo_cost_analysis.h" #include <memory> #include <string> #include <utility> #include <vector> #include "absl/status/statusor.h" #include "xla/client/client.h" #include "xla/client/client_library.h" #include "xla/client/local_client.h" #include "xla/hlo/builder/padding.h" #include "xla/hlo/builder/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_cost_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_cost_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
794dc36a-5c72-49a9-bb2c-dbc91bcd6fe0
cpp
tensorflow/tensorflow
hlo_computation_deduplicator
third_party/xla/xla/service/hlo_computation_deduplicator.cc
third_party/xla/xla/service/hlo_computation_deduplicator_test.cc
#include "xla/service/hlo_computation_deduplicator.h" #include <string> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruct...
#include "xla/service/hlo_computation_deduplicator.h" #include <cstdint> #include <memory> #include <string> #include <string_view> #include <vector> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/literal_util.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_computation_deduplicator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_computation_deduplicator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bdb04ae8-b394-4376-8869-cbfb0c452ed3
cpp
tensorflow/tensorflow
gather_simplifier
third_party/xla/xla/service/gather_simplifier.cc
third_party/xla/xla/service/gather_simplifier_test.cc
#include "xla/service/gather_simplifier.h" #include <iterator> #include <vector> #include "absl/algorithm/container.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/literal_util.h" #include "xla/permutation_util.h" #include "xla/service/gather_scatter_utils.h" #include...
#include "xla/service/gather_simplifier.h" #include <optional> #include "xla/tests/hlo_test_base.h" namespace xla { namespace { class GatherSimplifierTest : public HloTestBase {}; TEST_F(GatherSimplifierTest, TransformsStartIndices) { constexpr absl::string_view kModuleStr = R"( HloModule gather_simplifier EN...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gather_simplifier.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gather_simplifier_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1d363942-2352-4331-8226-9a635b5b362f
cpp
tensorflow/tensorflow
collective_quantizer
third_party/xla/xla/service/collective_quantizer.cc
third_party/xla/xla/service/collective_quantizer_test.cc
#include "xla/service/collective_quantizer.h" #include "xla/service/hlo_replication_analysis.h" #include "xla/service/pattern_matcher.h" #include "xla/shape_util.h" namespace xla { namespace { namespace m = match; struct ConversionSubgraph { HloInstruction* convert = nullptr; HloInstruction* binary = nullptr; Hlo...
#include "xla/service/collective_quantizer.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/servi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/collective_quantizer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/collective_quantizer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9a20636e-d0bb-4a0d-8c31-35ca2b50c535
cpp
tensorflow/tensorflow
while_loop_simplifier
third_party/xla/xla/service/while_loop_simplifier.cc
third_party/xla/xla/service/while_loop_simplifier_test.cc
#include "xla/service/while_loop_simplifier.h" #include <cstdint> #include <optional> #include <utility> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/container/inlined_vector.h" #include "absl/log/check.h" #include "absl/log/log...
#include "xla/service/while_loop_simplifier.h" #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/algorithm/container.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_replace.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/ut...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/while_loop_simplifier.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/while_loop_simplifier_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
740c6a4b-47a4-47dd-979f-37886ea081a6
cpp
tensorflow/tensorflow
shaped_buffer
third_party/xla/xla/service/shaped_buffer.cc
third_party/xla/xla/service/shaped_buffer_test.cc
#include "xla/service/shaped_buffer.h" #include <memory> #include <string> #include <utility> #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "xla/layout_util.h" #include "xla/shape.h" #include "xla/shape_util.h" #include "xla/status_macros.h" #i...
#include "xla/service/shaped_buffer.h" #include <memory> #include <utility> #include <vector> #include "xla/service/platform_util.h" #include "xla/shape_util.h" #include "xla/stream_executor/device_memory_allocator.h" #include "xla/stream_executor/stream_executor_memory_allocator.h" #include "xla/test.h" #include "tsl/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/shaped_buffer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/shaped_buffer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b9c06777-8747-4fb4-8b7a-eda275f5c353
cpp
tensorflow/tensorflow
hlo_graph_dumper
third_party/xla/xla/service/hlo_graph_dumper.cc
third_party/xla/xla/service/hlo_graph_dumper_test.cc
#include "xla/service/hlo_graph_dumper.h" #include <cstdint> #include <unordered_map> #include "absl/base/const_init.h" #include "absl/base/thread_annotations.h" #include "absl/hash/hash.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "...
#include "xla/service/hlo_graph_dumper.h" #include "absl/container/flat_hash_map.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/l...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_graph_dumper.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_graph_dumper_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
10bb58ac-bb24-4434-b6f2-4ba070e2f308
cpp
tensorflow/tensorflow
reduce_scatter_reassociate
third_party/xla/xla/service/reduce_scatter_reassociate.cc
third_party/xla/xla/service/reduce_scatter_reassociate_test.cc
#include "xla/service/reduce_scatter_reassociate.h" #include <optional> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_query.h" #include "xla/service/all_reduce_key.h" #include "xla/s...
#include "xla/service/reduce_scatter_reassociate.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { namespace m = xla::testing::opcode_matchers; class ReduceScatterReassociateTest : public HloT...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/reduce_scatter_reassociate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/reduce_scatter_reassociate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3bc61d67-4a76-418b-a671-c9c315c7a6bd
cpp
tensorflow/tensorflow
change_op_data_type
third_party/xla/xla/service/change_op_data_type.cc
third_party/xla/xla/service/change_op_data_type_test.cc
#include "xla/service/change_op_data_type.h" #include <optional> #include "xla/service/hlo_creation_utils.h" #if defined(INTEL_MKL) && defined(ENABLE_ONEDNN_V3) #include "xla/service/cpu/onednn_contraction_rewriter.h" #endif namespace xla { namespace { std::optional<PrimitiveType> GetUniformOperandType( const Hlo...
#include "xla/service/change_op_data_type.h" #include <string> #include <tuple> #include <vector> #include "absl/types/span.h" #include "xla/service/pattern_matcher.h" #include "xla/service/pattern_matcher_gmock.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { namespace m = ::xla::match; class Change...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/change_op_data_type.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/change_op_data_type_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2292926a-6678-41a1-8dd4-0c5f8f61af9c
cpp
tensorflow/tensorflow
collective_permute_decomposer
third_party/xla/xla/service/collective_permute_decomposer.cc
third_party/xla/xla/service/collective_permute_decomposer_test.cc
#include "xla/service/collective_permute_decomposer.h" #include <cstdint> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_join.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/h...
#include "xla/service/collective_permute_decomposer.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/hlo/utils/hlo_query.h" #incl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/collective_permute_decomposer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/collective_permute_decomposer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
50cd28dd-fb5f-48ac-8b47-b0f528cfc036
cpp
tensorflow/tensorflow
collective_transformation_reorderer
third_party/xla/xla/service/collective_transformation_reorderer.cc
third_party/xla/xla/service/collective_transformation_reorderer_test.cc
#include "xla/service/collective_transformation_reorderer.h" #include <cstdint> #include <optional> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/log/check.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_instru...
#include "xla/service/collective_transformation_reorderer.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/utils/hlo_matchers.h" #inc...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/collective_transformation_reorderer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/collective_transformation_reorderer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
df627059-2ef8-47c7-880a-5779a2e8d0a0
cpp
tensorflow/tensorflow
hlo_unstacker
third_party/xla/xla/service/hlo_unstacker.cc
third_party/xla/xla/service/hlo_unstacker_test.cc
#include "xla/service/hlo_unstacker.h" #include <algorithm> #include <cstdint> #include <deque> #include <functional> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat...
#include "xla/service/hlo_unstacker.h" #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_unstacker.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_unstacker_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9bda38a9-493d-4316-85e9-9599ccb99c9a
cpp
tensorflow/tensorflow
dynamic_padder
third_party/xla/xla/service/dynamic_padder.cc
third_party/xla/xla/service/dynamic_padder_test.cc
#include "xla/service/dynamic_padder.h" #include <cstdint> #include <functional> #include <iterator> #include <set> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/functional/function_ref.h" #include "absl/log/check.h" #include "absl/lo...
#include "xla/service/dynamic_padder.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_replace.h" #include "absl/types/span.h" #include "xla/error...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dynamic_padder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dynamic_padder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fb09fbe9-6296-4eab-b4c4-62ab42ce86f5
cpp
tensorflow/tensorflow
reduce_decomposer
third_party/xla/xla/service/reduce_decomposer.cc
third_party/xla/xla/service/reduce_decomposer_test.cc
#include "xla/service/reduce_decomposer.h" #include <functional> #include <utility> #include <vector> #include "absl/status/status.h" #include "xla/hlo/ir/dfs_hlo_visitor_with_default.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/service/hlo_creation_utils.h" namesp...
#include "xla/service/reduce_decomposer.h" #include <functional> #include <memory> #include <optional> #include "xla/service/hlo_parser.h" #include "xla/test.h" #include "xla/test_helpers.h" #include "xla/tests/filecheck.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { class ReduceDecomposerTest : pu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/reduce_decomposer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/reduce_decomposer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f470b0a5-df2e-44f5-a4bb-da606c6ec291
cpp
tensorflow/tensorflow
dynamic_index_splitter
third_party/xla/xla/service/dynamic_index_splitter.cc
third_party/xla/xla/service/dynamic_index_splitter_test.cc
#include "xla/service/dynamic_index_splitter.h" #include <map> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/container/inlined_vector.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include...
#include "xla/service/dynamic_index_splitter.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/test.h" #include "xla/test_helpers.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dynamic_index_splitter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dynamic_index_splitter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d759e3dd-49f9-433a-a301-b7317ffa4f80
cpp
tensorflow/tensorflow
root_instruction_sinker
third_party/xla/xla/service/root_instruction_sinker.cc
third_party/xla/xla/service/root_instruction_sinker_test.cc
#include "xla/service/root_instruction_sinker.h" #include "xla/service/tuple_util.h" namespace xla { namespace { void SinkTupleRoot(HloComputation* computation) { HloInstruction* root = computation->root_instruction(); CHECK(root->shape().IsTuple()); HloInstruction* new_root = TupleUtil::Duplicate(root); HloIns...
#include "xla/service/root_instruction_sinker.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { namespace op = xla::testing::opcode_matchers; using RootInstructionSinkerTest = HloTestBase; TEST_F(RootInstructionSinkerTest, TupleNoChange) { absl::string_view hl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/root_instruction_sinker.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/root_instruction_sinker_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5c54fd05-5e24-4353-98e8-4a51907c7f2c
cpp
tensorflow/tensorflow
dot_decomposer
third_party/xla/xla/service/dot_decomposer.cc
third_party/xla/xla/service/dot_decomposer_test.cc
#include "xla/service/dot_decomposer.h" #include <algorithm> #include <cstdint> #include <memory> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #inclu...
#include "xla/service/dot_decomposer.h" #include <memory> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_mat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dot_decomposer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dot_decomposer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8a31a24b-fd06-41cc-bf29-c12ce667dce2
cpp
tensorflow/tensorflow
hlo_constant_folding
third_party/xla/xla/service/hlo_constant_folding.cc
third_party/xla/xla/service/hlo_constant_folding_test.cc
#include "xla/service/hlo_constant_folding.h" #include <algorithm> #include <atomic> #include <cstdint> #include <memory> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/strings/str_...
#include "xla/service/hlo_constant_folding.h" #include <cstdint> #include <memory> #include <utility> #include <vector> #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_constant_folding.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_constant_folding_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
39ece867-becf-40a5-be85-a8bfb9996b0b
cpp
tensorflow/tensorflow
all_reduce_reassociate
third_party/xla/xla/service/all_reduce_reassociate.cc
third_party/xla/xla/service/all_reduce_reassociate_test.cc
#include "xla/service/all_reduce_reassociate.h" #include <cstdint> #include <optional> #include <string> #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "xla...
#include "xla/service/all_reduce_reassociate.h" #include <cstddef> #include <memory> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/algorithm/container.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/all_reduce_reassociate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/all_reduce_reassociate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1b0d1084-8d5e-4768-bdf2-88e35ad4abd6
cpp
tensorflow/tensorflow
batch_dot_simplification
third_party/xla/xla/service/batch_dot_simplification.cc
third_party/xla/xla/service/batch_dot_simplification_test.cc
#include "xla/service/batch_dot_simplification.h" #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/log/log.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/...
#include "xla/service/batch_dot_simplification.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/statusor.h" namespace xla { namespace { namespace op = xla::testing::opco...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/batch_dot_simplification.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/batch_dot_simplification_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
51a7fed9-c52a-4155-b34f-5a1bf3110f66
cpp
tensorflow/tensorflow
hlo_liveness_analysis
third_party/xla/xla/service/hlo_liveness_analysis.cc
third_party/xla/xla/service/hlo_liveness_analysis_test.cc
#include "xla/service/hlo_liveness_analysis.h" #include <cstddef> #include <cstdint> #include <deque> #include <functional> #include <memory> #include "absl/container/flat_hash_set.h" #include "absl/functional/function_ref.h" #include "absl/log/check.h" #include "absl/strings/str_cat.h" #include "xla/hlo/ir/hlo_computa...
#include "xla/service/hlo_liveness_analysis.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/literal.h" #include "xla/shape_util.h" #include "xla/status_macros.h" #include "xla/test.h" #include "xla/test_helpers.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/lo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_liveness_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_liveness_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
02bc84dc-502e-49cb-bc34-f1006c412337
cpp
tensorflow/tensorflow
defuser
third_party/xla/xla/service/defuser.cc
third_party/xla/xla/service/defuser_test.cc
#include "xla/service/defuser.h" #include <algorithm> #include <memory> #include <numeric> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/ser...
#include "xla/service/defuser.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/literal.h" #include "xla/literal_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/defuser.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/defuser_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
46bc99e4-502f-4dcb-8ff3-7a075b7f1f98
cpp
tensorflow/tensorflow
elemental_ir_emitter
third_party/xla/xla/service/gpu/elemental_ir_emitter.cc
third_party/xla/xla/service/elemental_ir_emitter_test.cc
#include "xla/service/gpu/elemental_ir_emitter.h" #include <cstdint> #include <string> #include <vector> #include "absl/log/check.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "llvm/IR/Attributes.h" #include "llvm/IR/Ba...
#include "xla/service/elemental_ir_emitter.h" #include <cstdint> #include <memory> #include <optional> #include <string> #include <type_traits> #include <utility> #include <gtest/gtest.h> #include "absl/strings/str_replace.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "llvm/IR/IRBuilder...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/elemental_ir_emitter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/elemental_ir_emitter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
570c48f7-236d-4c3e-8e7d-44cba5bf1ea5
cpp
tensorflow/tensorflow
buffer_assignment
third_party/xla/xla/service/buffer_assignment.cc
third_party/xla/xla/service/buffer_assignment_test.cc
#include "xla/service/buffer_assignment.h" #include <algorithm> #include <cstdint> #include <deque> #include <iterator> #include <memory> #include <optional> #include <ostream> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/btree_map.h" #include "absl/container/flat_...
#include "xla/service/buffer_assignment.h" #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/buffer_assignment.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/buffer_assignment_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
464b7a60-847b-4ac6-bf92-ce88e1c0c36b
cpp
tensorflow/tensorflow
conditional_canonicalizer
third_party/xla/xla/service/conditional_canonicalizer.cc
third_party/xla/xla/service/conditional_canonicalizer_test.cc
#include "xla/service/conditional_canonicalizer.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/status_macros.h" namespace xla { namespace { absl::Status CanonicalizeNonTupleConditional(HloInstruction* conditional) { TF_RET_CHECK(conditional->opcode() == HloOpcode::kConditi...
#include "xla/service/conditional_canonicalizer.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/service/hlo_parser.h" #include "xla/shape_util.h" #include "xla/t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/conditional_canonicalizer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/conditional_canonicalizer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
62bf0644-5132-4e87-bff3-4b0982acdd07
cpp
tensorflow/tensorflow
infeed_token_propagation
third_party/xla/xla/service/infeed_token_propagation.cc
third_party/xla/xla/service/infeed_token_propagation_test.cc
#include "xla/service/infeed_token_propagation.h" #include <cstdint> #include <string_view> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/types/span.h" #include "xla/hlo/i...
#include "xla/service/infeed_token_propagation.h" #include <string_view> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/statusor.h" namespace op = xla::testing...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/infeed_token_propagation.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/infeed_token_propagation_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a9a26e45-6caf-4a8e-84d6-4f99d3d89f0a
cpp
tensorflow/tensorflow
while_loop_constant_sinking
third_party/xla/xla/service/while_loop_constant_sinking.cc
third_party/xla/xla/service/while_loop_constant_sinking_test.cc
#include "xla/service/while_loop_constant_sinking.h" #include "absl/algorithm/container.h" #include "absl/container/inlined_vector.h" #include "xla/service/while_util.h" #include "xla/shape_util.h" #include "xla/util.h" namespace xla { namespace { absl::Status ReplaceUsesWhileKeepingLoopInvariance( HloInstruction* ...
#include "xla/service/while_loop_constant_sinking.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { namespace op = xla::testing::opcode_matchers; using ::testing::_; using WhileLoopConstantSinkingTest = HloTestBase; TEST_F(WhileLoopConstant...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/while_loop_constant_sinking.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/while_loop_constant_sinking_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9131b767-6a50-48e5-8e87-4d8d59db6611
cpp
tensorflow/tensorflow
rendezvous
tensorflow/core/framework/rendezvous.cc
tensorflow/core/framework/rendezvous_test.cc
#include "tensorflow/core/framework/rendezvous.h" #include <deque> #include <functional> #include <utility> #include <vector> #include "tensorflow/core/framework/local_rendezvous.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/core/notification.h" #include "tensorflow/core/lib/gtl/flatmap....
#include "tensorflow/core/framework/rendezvous.h" #include "absl/status/status.h" #include "unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/cancellation.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/tensor_t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/rendezvous.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/rendezvous_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ecfc7b9e-9c2a-42a9-b642-6e26f02538cb
cpp
tensorflow/tensorflow
operand_upcaster
third_party/xla/xla/service/operand_upcaster.cc
third_party/xla/xla/service/operand_upcaster_test.cc
#include "xla/service/operand_upcaster.h" #include <optional> #include "absl/algorithm/container.h" #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/hlo_cr...
#include "xla/service/operand_upcaster.h" #include <memory> #include <tuple> #include "absl/strings/string_view.h" #include "absl/strings/substitute.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/primitive_util.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/s...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/operand_upcaster.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/operand_upcaster_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b969274a-0550-41b7-9010-91181907524b
cpp
tensorflow/tensorflow
dot_merger
third_party/xla/xla/service/dot_merger.cc
third_party/xla/xla/service/dot_merger_test.cc
#include "xla/service/dot_merger.h" #include <cstdint> #include <set> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/container/inlined_vector.h" #include "absl/log/check.h" #i...
#include "xla/service/dot_merger.h" #include <cstdint> #include <limits> #include <memory> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/algebraic_simplifier.h" #include "xla/service/pattern_match...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dot_merger.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dot_merger_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bcbda2a7-93ed-47d7-b14f-5c2b1c80a977
cpp
tensorflow/tensorflow
host_offloading_prepare
third_party/xla/xla/service/host_offloading_prepare.cc
third_party/xla/xla/service/host_offloading_prepare_test.cc
#include "xla/service/host_offloading_prepare.h" #include <memory> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computation.h" ...
#include "xla/service/host_offloading_prepare.h" #include <string> #include <vector> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/host_memory_offload_annotations.h" #include "xl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/host_offloading_prepare.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/host_offloading_prepare_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b9f15842-1826-48a4-bfa0-e2fbdeeca04f
cpp
tensorflow/tensorflow
convert_async_collectives_to_sync
third_party/xla/xla/service/gpu/transforms/convert_async_collectives_to_sync.cc
third_party/xla/xla/service/gpu/transforms/convert_async_collectives_to_sync_test.cc
#include "xla/service/gpu/transforms/convert_async_collectives_to_sync.h" #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_m...
#include "xla/service/gpu/transforms/convert_async_collectives_to_sync.h" #include <string_view> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/gpu/ba...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/convert_async_collectives_to_sync.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/convert_async_collectives_to_sync_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
13af8cfa-a80f-4abd-b903-d4e5aa058635
cpp
tensorflow/tensorflow
while_loop_trip_count_annotator
third_party/xla/xla/service/while_loop_trip_count_annotator.cc
third_party/xla/xla/service/while_loop_trip_count_annotator_test.cc
#include "xla/service/while_loop_trip_count_annotator.h" #include "absl/container/flat_hash_set.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h"...
#include "xla/service/while_loop_trip_count_annotator.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" #include "xla/xla_data.pb.h" #include "tsl/platform/statusor.h" namespace xla { namespace { class TripCountAnnotatorTest : public HloTestBase {}; TEST_F(TripCountAnnotatorTest, KnownSmallTripCount) { co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/while_loop_trip_count_annotator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/while_loop_trip_count_annotator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
53602328-c7cf-4c6d-8ee9-b9779b3bed8b
cpp
tensorflow/tensorflow
ar_crs_combiner
third_party/xla/xla/service/ar_crs_combiner.cc
third_party/xla/xla/service/ar_crs_combiner_test.cc
#include "xla/service/ar_crs_combiner.h" #include <algorithm> #include <cstdint> #include <optional> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "ab...
#include "xla/service/ar_crs_combiner.h" #include <cstdint> #include <memory> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/statusor.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/tests/hlo_test_base.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/ar_crs_combiner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/ar_crs_combiner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f1c72f99-0fb9-453a-a24b-21b943ceb2cf
cpp
tensorflow/tensorflow
dynamic_dimension_simplifier
third_party/xla/xla/service/dynamic_dimension_simplifier.cc
third_party/xla/xla/service/dynamic_dimension_simplifier_test.cc
#include "xla/service/dynamic_dimension_simplifier.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/status_macros.h" namespace xla { namespace { absl::StatusOr<bool> ConcatForwarding(HloInstruction* concat) { if (concat->opcode() != HloOpcode::kConcatenate) { return fals...
#include "xla/service/dynamic_dimension_simplifier.h" #include <memory> #include <utility> #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_instructions....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dynamic_dimension_simplifier.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dynamic_dimension_simplifier_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b2d66996-ec37-441c-9dba-74eedda21742
cpp
tensorflow/tensorflow
all_reduce_simplifier
third_party/xla/xla/service/all_reduce_simplifier.cc
third_party/xla/xla/service/all_reduce_simplifier_test.cc
#include "xla/service/all_reduce_simplifier.h" #include <cstdint> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/log/log.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_casting_utils....
#include "xla/service/all_reduce_simplifier.h" #include <memory> #include <utility> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/hlo_module_config.h" #include "xla/service/hlo_parser.h" #include "xla/service/pattern_matcher.h" #include "xla/service/pattern_matche...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/all_reduce_simplifier.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/all_reduce_simplifier_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
08422a02-e75f-4e3b-88eb-cda17385701d
cpp
tensorflow/tensorflow
while_loop_fusible_sinking
third_party/xla/xla/service/while_loop_fusible_sinking.cc
third_party/xla/xla/service/while_loop_fusible_sinking_test.cc
#include "xla/service/while_loop_fusible_sinking.h" #include <cstdint> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/container/inlined_vector.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "ab...
#include "xla/service/while_loop_fusible_sinking.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/statusor.h" namespace xla { namespace { namespace op = xla::testing::opcode_matchers; using ::testing::_; using WhileLoopFusibleSinkingTest = HloT...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/while_loop_fusible_sinking.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/while_loop_fusible_sinking_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
555aed98-8f55-421e-badb-302e32069668
cpp
tensorflow/tensorflow
reduce_scatter_decomposer
third_party/xla/xla/service/reduce_scatter_decomposer.cc
third_party/xla/xla/service/reduce_scatter_decomposer_test.cc
#include "xla/service/reduce_scatter_decomposer.h" #include <sys/types.h> #include <limits> #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcod...
#include "xla/service/reduce_scatter_decomposer.h" #include <utility> #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/literal_util.h" #include "xla/service/collective_ops_utils.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/stat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/reduce_scatter_decomposer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/reduce_scatter_decomposer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7d1d8932-f15f-4fd7-a669-a3307f9aec2f
cpp
tensorflow/tensorflow
while_loop_concat_code_motion
third_party/xla/xla/service/while_loop_concat_code_motion.cc
third_party/xla/xla/service/while_loop_concat_code_motion_test.cc
#include "xla/service/while_loop_concat_code_motion.h" #include <map> #include <optional> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/types/spa...
#include "xla/service/while_loop_concat_code_motion.h" #include <algorithm> #include <iterator> #include "absl/algorithm/container.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/hlo/ir/hlo_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/while_loop_concat_code_motion.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/while_loop_concat_code_motion_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a90867e2-ebc0-4bfe-a0e5-bb10947c0d3f
cpp
tensorflow/tensorflow
sort_simplifier
third_party/xla/xla/service/sort_simplifier.cc
third_party/xla/xla/service/sort_simplifier_test.cc
#include "xla/service/sort_simplifier.h" #include <memory> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" namespace xla { namespace { absl::StatusOr<bo...
#include "xla/service/sort_simplifier.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/service/hlo_parser.h" #include "xla/service/pattern_matcher.h" #include "xla/service/pattern_matcher_gmock.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" #include "xla/tsl/lib/core/status_test_util.h" namespace...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/sort_simplifier.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/sort_simplifier_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8585c3c1-3110-4d7f-9df7-16798a77f5b7
cpp
tensorflow/tensorflow
stochastic_convert_decomposer
third_party/xla/xla/service/stochastic_convert_decomposer.cc
third_party/xla/xla/service/stochastic_convert_decomposer_test.cc
#include "xla/service/stochastic_convert_decomposer.h" #include <cstdint> #include <limits> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/primitive_util.h" #include "xla/service/hlo_creation_utils.h" #include "x...
#include "xla/service/stochastic_convert_decomposer.h" #include <string> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/service/hlo_parser.h" #include "xla/tests/hlo_test_base.h" namespace xla { nam...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/stochastic_convert_decomposer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/stochastic_convert_decomposer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ebd2d89a-eae6-4d8a-8ae4-35118a5a7120
cpp
tensorflow/tensorflow
map_inliner
third_party/xla/xla/service/map_inliner.cc
third_party/xla/xla/service/map_inliner_test.cc
#include "xla/service/map_inliner.h" #include <memory> #include <string> #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/hlo/ir/dfs_hlo_visitor_with_default.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla...
#include "xla/service/map_inliner.h" #include <memory> #include <utility> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/literal.h" #include "xla/literal_util.h" #include "xla/shape.h" #include "xla...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/map_inliner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/map_inliner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f522495c-3a6f-4a50-bfd7-e7546441fa98
cpp
tensorflow/tensorflow
triangular_solve_expander
third_party/xla/xla/service/triangular_solve_expander.cc
third_party/xla/xla/service/triangular_solve_expander_test.cc
#include "xla/service/triangular_solve_expander.h" #include <algorithm> #include <cstdint> #include <memory> #include <numeric> #include <string> #include <vector> #include "absl/status/statusor.h" #include "absl/strings/str_format.h" #include "absl/types/span.h" #include "xla/hlo/builder/lib/constants.h" #include "xla...
#include "xla/service/triangular_solve_expander.h" #include <memory> #include <utility> #include "xla/literal.h" #include "xla/reference_util.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" #include "xla/tsl/lib/core/status_test_util.h" #include "xla/types.h" namespace xla { namespace { class TriangularEx...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/triangular_solve_expander.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/triangular_solve_expander_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
849cb0cf-5da9-4a0b-9798-8ff341a34518
cpp
tensorflow/tensorflow
transpose_folding
third_party/xla/xla/service/transpose_folding.cc
third_party/xla/xla/service/transpose_folding_test.cc
#include "xla/service/transpose_folding.h" #include <algorithm> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/types/span.h" #include "xla/hlo/ir/dfs_hlo_visitor_with_default.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/i...
#include "xla/service/transpose_folding.h" #include <memory> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/strings/string_view.h" #include "xla/hlo/builder/xla_builder.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #incl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/transpose_folding.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/transpose_folding_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
cfec981d-552c-4da4-9a2f-8bcbd2723fba
cpp
tensorflow/tensorflow
reshape_mover
third_party/xla/xla/service/reshape_mover.cc
third_party/xla/xla/service/reshape_mover_test.cc
#include "xla/service/reshape_mover.h" #include <algorithm> #include <memory> #include <vector> #include "absl/algorithm/container.h" #include "xla/permutation_util.h" #include "xla/service/hlo_creation_utils.h" #include "xla/shape_util.h" #include "xla/status_macros.h" #include "xla/util.h" #include "tsl/platform/erro...
#include "xla/service/reshape_mover.h" #include <memory> #include <string> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/pass/hlo_pass_fix.h" #include "xla/service/algebraic_simplifier.h" #include "xla/service/hlo_verifier.h" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/reshape_mover.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/reshape_mover_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
cabe3974-40bd-4f00-8029-9f686f21bb85
cpp
tensorflow/tensorflow
hlo_phi_graph
third_party/xla/xla/service/hlo_phi_graph.cc
third_party/xla/xla/service/hlo_phi_graph_test.cc
#include "xla/service/hlo_phi_graph.h" #include <queue> namespace xla { HloValue::Id PhiGraph::GetOptimizedId(const HloValue& value) { Node* node = value_id_to_node_[value.id()]; CHECK(!node->mark_as_dead); return node->value_id; } bool PhiGraph::InputsEqualTo(const HloValue& value, a...
#include "xla/service/hlo_phi_graph.h" #include "xla/literal_util.h" #include "tsl/platform/test.h" namespace xla { namespace { class PhiGraphTest : public ::testing::Test { protected: HloValue NewHloValue(bool is_phi) { static int64_t id = 0; return HloValue(id++, dummy_inst_.get(), {}, is_phi); } void ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_phi_graph.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_phi_graph_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
eb0c36ad-0dad-4007-b2bb-20fde4559604
cpp
tensorflow/tensorflow
tuple_util
third_party/xla/xla/service/tuple_util.cc
third_party/xla/xla/service/tuple_util_test.cc
#include "xla/service/tuple_util.h" #include <cstdint> #include <string> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/inlined_vector.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/str...
#include "xla/service/tuple_util.h" #include <memory> #include <string> #include "xla/hlo/utils/hlo_matchers.h" #include "xla/service/hlo_module_config.h" #include "xla/service/hlo_parser.h" #include "xla/shape_util.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" #include "xla/tests/verified_hlo_module.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/tuple_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/tuple_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0c1e0df2-8f32-4754-b90e-7b6a758a3abc
cpp
tensorflow/tensorflow
all_gather_decomposer
third_party/xla/xla/service/all_gather_decomposer.cc
third_party/xla/xla/service/all_gather_decomposer_test.cc
#include "xla/service/all_gather_decomposer.h" #include <cstdint> #include <optional> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/h...
#include "xla/service/all_gather_decomposer.h" #include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/service/hlo_parser...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/all_gather_decomposer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/all_gather_decomposer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
88b9adff-15bb-48a6-920b-e030f186c9d9
cpp
tensorflow/tensorflow
all_reduce_folder
third_party/xla/xla/service/all_reduce_folder.cc
third_party/xla/xla/service/all_reduce_folder_test.cc
#include "xla/service/all_reduce_folder.h" #include <algorithm> #include <cstdint> #include <optional> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/log/log.h" #include "absl/status/statusor.h" #include "absl/st...
#include "xla/service/all_reduce_folder.h" #include <cstddef> #include <initializer_list> #include <memory> #include "absl/algorithm/container.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/all_reduce_folder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/all_reduce_folder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1adb9aee-06f6-4921-bc77-f195f56319b6
cpp
tensorflow/tensorflow
sharding_remover
third_party/xla/xla/service/sharding_remover.cc
third_party/xla/xla/service/sharding_remover_test.cc
#include "xla/service/sharding_remover.h" #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/spmd/shard...
#include "xla/service/sharding_remover.h" #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/service/hlo_parser.h" #include "xla/status_macros.h" #include "xla/tests/hlo_test_base.h" namespace op = xla::testing::opcod...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/sharding_remover.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/sharding_remover_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
de45acd3-74d9-4eaa-9c40-ea4acfaf2a07
cpp
tensorflow/tensorflow
tuple_points_to_analysis
third_party/xla/xla/service/tuple_points_to_analysis.cc
third_party/xla/xla/service/tuple_points_to_analysis_test.cc
#include "xla/service/tuple_points_to_analysis.h" #include <memory> #include <ostream> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/strings/str_join.h" #include "...
#include "xla/service/tuple_points_to_analysis.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_inst...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/tuple_points_to_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/tuple_points_to_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c7d36866-411c-46ed-801c-d8994c2f600b
cpp
tensorflow/tensorflow
scatter_expander
third_party/xla/xla/service/gpu/transforms/scatter_expander.cc
third_party/xla/xla/service/scatter_expander_test.cc
#include "xla/service/gpu/transforms/scatter_expander.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/primitive_util.h" namespace xla { bool GpuScatterExpander::InstructionMatchesPattern(HloInstruction* inst) { return inst->opcode() == HloOpcode::kScatter && (inst-...
#include "xla/service/scatter_expander.h" #include <memory> #include <utility> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/literal.h" #include "xla/shape_util.h" #include "xla/test.h" #include "x...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/scatter_expander.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/scatter_expander_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
931a8bc3-ba94-4243-bc39-9a972cf91eb2
cpp
tensorflow/tensorflow
dynamic_dimension_inference
third_party/xla/xla/service/dynamic_dimension_inference.cc
third_party/xla/xla/service/dynamic_dimension_inference_test.cc
#include "xla/service/dynamic_dimension_inference.h" #include <cstdint> #include <functional> #include <memory> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl...
#include "xla/service/dynamic_dimension_inference.h" #include "xla/hlo/builder/xla_builder.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opc...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dynamic_dimension_inference.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dynamic_dimension_inference_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
79bd5411-3f18-46a2-ad61-ae5728c586c1
cpp
tensorflow/tensorflow
call_inliner
third_party/xla/xla/service/call_inliner.cc
third_party/xla/xla/service/call_inliner_test.cc
#include "xla/service/call_inliner.h" #include <memory> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/match.h" #include "absl/...
#include "xla/service/call_inliner.h" #include <cstdint> #include <string> #include "absl/log/log.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/literal_util...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/call_inliner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/call_inliner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
164bcdca-2f59-413e-98d0-a4c8cf57007b
cpp
tensorflow/tensorflow
reshape_decomposer
third_party/xla/xla/service/reshape_decomposer.cc
third_party/xla/xla/service/reshape_decomposer_test.cc
#include "xla/service/reshape_decomposer.h" #include "absl/status/status.h" #include "xla/hlo/ir/dfs_hlo_visitor_with_default.h" #include "xla/service/hlo_creation_utils.h" namespace xla { namespace { class ReshapeDecomposerVisitor : public DfsHloRewriteVisitor { public: absl::Status HandleReshape(HloInstruction* re...
#include "xla/service/reshape_decomposer.h" #include <memory> #include <optional> #include "xla/service/hlo_parser.h" #include "xla/test.h" #include "xla/test_helpers.h" #include "xla/tests/filecheck.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { class ReshapeDecomposerTest : public HloTestBase { ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/reshape_decomposer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/reshape_decomposer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
872adbcd-9a42-46b0-9278-91c217a8afec
cpp
tensorflow/tensorflow
indexed_array_analysis
third_party/xla/xla/service/indexed_array_analysis.cc
third_party/xla/xla/service/indexed_array_analysis_test.cc
#include "xla/service/indexed_array_analysis.h" #include <algorithm> #include <numeric> #include <optional> #include <string> #include <utility> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/container/inlined_vector.h" #include "...
#include "xla/service/indexed_array_analysis.h" #include <gtest/gtest.h> #include "absl/log/log.h" #include "absl/strings/ascii.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/statusor.h" namespace xla { namespace { class IndexedArrayAnalysisTest : public HloTestBase { ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/indexed_array_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/indexed_array_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0246551a-2064-4f3b-ad55-2a13cb8a1a45
cpp
tensorflow/tensorflow
all_gather_broadcast_reorder
third_party/xla/xla/service/all_gather_broadcast_reorder.cc
third_party/xla/xla/service/all_gather_broadcast_reorder_test.cc
#include "xla/service/all_gather_broadcast_reorder.h" #include <cstdint> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/log/log.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/...
#include "xla/service/all_gather_broadcast_reorder.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/statusor.h" namespace xla { namespace { namespace m = xla::testing::opcode_mat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/all_gather_broadcast_reorder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/all_gather_broadcast_reorder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9aa7f320-8708-44ab-8106-6d86e1782605
cpp
tensorflow/tensorflow
space_to_batch_converter
third_party/xla/xla/service/space_to_batch_converter.cc
third_party/xla/xla/service/space_to_batch_converter_test.cc
#include "xla/service/space_to_batch_converter.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <iterator> #include <map> #include <memory> #include <queue> #include <tuple> #include <utility> #include <vector> #include "absl/algorithm/algorithm.h" #include "absl/algorithm/container.h" #include "a...
#include "xla/service/space_to_batch_converter.h" #include <memory> #include <string> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" #include "xla/types....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/space_to_batch_converter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/space_to_batch_converter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b5a9efe7-04e9-4757-ada9-15a588372915
cpp
tensorflow/tensorflow
host_offload_utils
tensorflow/core/profiler/utils/host_offload_utils.cc
third_party/xla/xla/service/host_offload_utils_test.cc
#include "tensorflow/core/profiler/utils/host_offload_utils.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <optional> #include <queue> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/log/log.h" #include "absl/strings/match.h" #inclu...
#include "xla/service/host_offload_utils.h" #include <string> #include <vector> #include <gtest/gtest.h> #include "xla/shape_util.h" #include "xla/tests/hlo_test_base.h" #include "xla/util.h" #include "tsl/platform/statusor.h" namespace xla { namespace host_offload_utils { namespace { class HostOffloadUtilsTest : publi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/utils/host_offload_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/host_offload_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
824e9a92-d73e-40d9-bb47-186cbd4b9da5
cpp
tensorflow/tensorflow
host_memory_transfer_asyncifier
third_party/xla/xla/service/host_memory_transfer_asyncifier.cc
third_party/xla/xla/service/host_memory_transfer_asyncifier_test.cc
#include "xla/service/host_memory_transfer_asyncifier.h" #include <cstdint> #include "absl/container/flat_hash_set.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/dfs_hlo_visito...
#include "xla/service/host_memory_transfer_asyncifier.h" #include <cstdint> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/host_memory_transfer_asyncifier.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/host_memory_transfer_asyncifier_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8d39f7fb-274f-498c-acfb-4154cac83495
cpp
tensorflow/tensorflow
stream_pool
third_party/xla/xla/service/stream_pool.cc
third_party/xla/xla/service/stream_pool_test.cc
#include "xla/service/stream_pool.h" #include <memory> #include <utility> #include "absl/strings/str_format.h" namespace xla { StreamPool::Ptr StreamPool::BorrowStream(se::StreamPriority priority) { std::unique_ptr<se::Stream> stream; { absl::MutexLock lock(&mu_); if (streams_with_pri_.find(priority) == str...
#include "xla/service/stream_pool.h" #include <memory> #include "xla/stream_executor/platform_manager.h" #include "xla/stream_executor/stream_executor.h" #include "xla/test_helpers.h" namespace xla { namespace { class StreamPoolTest : public ::testing::Test { protected: se::StreamExecutor* NewStreamExecutor() { ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/stream_pool.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/stream_pool_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3896e059-52e8-44fa-aa37-6d162956acdf
cpp
tensorflow/tensorflow
hlo_rematerialization
third_party/xla/xla/service/hlo_rematerialization.cc
third_party/xla/xla/service/hlo_rematerialization_test.cc
#include "xla/service/hlo_rematerialization.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <iterator> #include <limits> #include <memory> #include <optional> #include <set> #include <string> #include <string_view> #include <tuple> #include <utility> #include <vector> #include "absl/algorithm/con...
#include "xla/service/hlo_rematerialization.h" #include <algorithm> #include <cstdint> #include <memory> #include <optional> #include <string> #include <gmock/gmock.h> #include "absl/container/flat_hash_set.h" #include "absl/strings/match.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_computation.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_rematerialization.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_rematerialization_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4c6920cc-3aba-4b4e-867d-febd43cab405
cpp
tensorflow/tensorflow
llvm_compiler
third_party/xla/xla/service/llvm_compiler.cc
third_party/xla/xla/tests/llvm_compiler_test.cc
#include "xla/service/llvm_compiler.h" #include <memory> #include <utility> #include <vector> #include "absl/status/statusor.h" #include "absl/strings/str_format.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_module_group.h" #include "xla/service/executable.h" #include "xla/service/stream_pool.h" #inclu...
#include "xla/service/llvm_compiler.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "llvm/IR/Module.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module_group.h" #include "xla/literal_util.h" #include "xla/serv...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/llvm_compiler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tests/llvm_compiler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
134981e1-f110-441e-b364-4076f0bc05ec
cpp
tensorflow/tensorflow
gpu_p2p_pipeliner
third_party/xla/xla/service/gpu/gpu_p2p_pipeliner.cc
third_party/xla/xla/service/gpu/gpu_p2p_pipeliner_test.cc
#include "xla/service/gpu/gpu_p2p_pipeliner.h" #include <cstdint> #include <functional> #include <string> #include <utility> #include <vector> #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "xla/hlo/ir/hlo_instruction.h" #include...
#include "xla/service/gpu/gpu_p2p_pipeliner.h" #include <cstdint> #include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/check.h" #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_p2p_pipeliner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_p2p_pipeliner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
25f2c367-30d8-42b1-ae1a-153d697a43ab
cpp
tensorflow/tensorflow
gpu_float_support
third_party/xla/xla/service/gpu/gpu_float_support.cc
third_party/xla/xla/service/gpu/gpu_float_support_test.cc
#include "xla/service/gpu/gpu_float_support.h" #include <utility> #include <variant> #include "absl/log/check.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/float_support.h" #include "xla/service/gpu/fusions/triton/triton_supp...
#include "xla/service/gpu/gpu_float_support.h" #include <memory> #include <string> #include <gtest/gtest.h> #include "absl/log/check.h" #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_float_support.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_float_support_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
914cb876-e268-4338-974a-bdc42eb9ee1a
cpp
tensorflow/tensorflow
triton_tiling_propagation
third_party/xla/xla/service/gpu/triton_tiling_propagation.cc
third_party/xla/xla/service/gpu/triton_tiling_propagation_test.cc
#include "xla/service/gpu/triton_tiling_propagation.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <iterator> #include <list> #include <optional> #include <string> #include <utility> #include <variant> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map...
#include "xla/service/gpu/triton_tiling_propagation.h" #include <vector> #include <gtest/gtest.h> #include "xla/tests/hlo_test_base.h" namespace xla::gpu { namespace { using TritonTilingPropagationTest = HloTestBase; using triton_fusion::DimensionOrder; DimensionOrder FromFragments(DimensionOrder::Fragments fragments) ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/triton_tiling_propagation.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/triton_tiling_propagation_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
22010223-07c7-4dc2-819a-01d14addc9b5
cpp
tensorflow/tensorflow
ir_emission_utils
third_party/xla/xla/service/cpu/ir_emission_utils.cc
third_party/xla/xla/service/cpu/ir_emission_utils_test.cc
#include "xla/service/cpu/ir_emission_utils.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/layout_util.h" #include "xla/service/cpu/cpu_runtime.h" #include "xla/shape_util.h" #include "xla/window_util.h" namespace xla { namespace cpu { int64_t GetMinimumAlignmentForArray( const Shape& shape, const TargetMachin...
#include "xla/service/cpu/ir_emission_utils.h" #include <memory> #include "xla/service/cpu/target_machine_features_fake.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { using IrEmitterTest = HloTestBase; TEST_F(IrEmitterTest, ConvWithZeroSizedKernelNotImplementedAsEigen) { con...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/ir_emission_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/ir_emission_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
90d52628-50f5-4b95-b9ab-5399df301b62
cpp
tensorflow/tensorflow
fusion_deduplication_cache
third_party/xla/xla/service/gpu/fusion_deduplication_cache.cc
third_party/xla/xla/service/gpu/fusion_deduplication_cache_test.cc
#include "xla/service/gpu/fusion_deduplication_cache.h" #include <cstddef> #include <cstdint> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/hash/hash.h" #include "xla/hlo/ir/dfs_hlo_visitor.h" #include "xla/hlo/ir/hlo_clone_context.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/h...
#include "xla/service/gpu/fusion_deduplication_cache.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/status.h" #include "tsl/platform/statusor.h" #include "tsl/platform/test.h" namespace xla...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/fusion_deduplication_cache.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/fusion_deduplication_cache_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bea3fc56-baf4-4f52-a00f-73076a7b90ad
cpp
tensorflow/tensorflow
fusion_process_dump
third_party/xla/xla/service/gpu/fusion_process_dump.cc
third_party/xla/xla/service/gpu/fusion_process_dump_test.cc
#include "xla/service/gpu/fusion_process_dump.h" #include <string> #include <string_view> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/container/inlined_vector.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/...
#include "xla/service/gpu/fusion_process_dump.h" #include <string> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/gpu/fusion_process_dump.pb.h" #include "xla/service/gpu/gpu_device_info_for_tests.h" #include "xla/service/hlo_parser.h" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/fusion_process_dump.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/fusion_process_dump_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1559345f-112d-4a23-82b6-d268bfab2164
cpp
tensorflow/tensorflow
kernel_reuse_cache
third_party/xla/xla/service/gpu/kernel_reuse_cache.cc
third_party/xla/xla/service/gpu/kernel_reuse_cache_test.cc
#include "xla/service/gpu/kernel_reuse_cache.h" #include <functional> #include <string> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "absl/strings/string_view.h...
#include "xla/service/gpu/kernel_reuse_cache.h" #include <gtest/gtest.h> #include "absl/log/check.h" #include "xla/service/gpu/executable.pb.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tsl/platform/env.h" namespace xla { namespace gpu { namespace { using KernelReuseTest = ::testing::Test; TEST_F(KernelR...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/kernel_reuse_cache.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/kernel_reuse_cache_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b0dfb30d-f1d3-464d-99a2-1da73dd33128
cpp
tensorflow/tensorflow
gpu_spmd_pipeline
third_party/xla/xla/service/gpu/gpu_spmd_pipeline.cc
third_party/xla/xla/service/gpu/gpu_spmd_pipeline_test.cc
#include "xla/service/gpu/gpu_spmd_pipeline.h" #include <cstdint> #include <optional> #include "absl/functional/function_ref.h" #include "absl/log/check.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_schedule.h" #include "xla/hlo/pass/hlo_pass_fix.h" #include "xla...
#include "xla/service/gpu/gpu_spmd_pipeline.h" #include <cstdint> #include <memory> #include <optional> #include <string> #include <gtest/gtest.h> #include "absl/log/check.h" #include "absl/log/log.h" #include "xla/client/executable_build_options.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/pass/hlo_pas...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_spmd_pipeline.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_spmd_pipeline_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7dde5b77-37ca-4936-8496-28e66a591fb5
cpp
tensorflow/tensorflow
buffer_comparator
third_party/xla/xla/service/gpu/buffer_comparator.cc
third_party/xla/xla/service/gpu/buffer_comparator_test.cc
#include "xla/service/gpu/buffer_comparator.h" #include <algorithm> #include <cmath> #include <cstdint> #include <string_view> #include <type_traits> #include <vector> #include "Eigen/Core" #include "xla/service/gpu/launch_dimensions.h" #include "xla/service/hlo_module_config.h" #include "xla/shape.h" #include "xla/str...
#include "xla/service/gpu/buffer_comparator.h" #include <cmath> #include <complex> #include <cstdint> #include <limits> #include <vector> #include "xla/primitive_util.h" #include "xla/service/gpu/stream_executor_util.h" #include "xla/service/hlo_module_config.h" #include "xla/shape_util.h" #include "xla/stream_executor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/buffer_comparator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/buffer_comparator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5befe34d-a742-4dd8-8eb2-5fbb362c43ee
cpp
tensorflow/tensorflow
gpu_fusible
third_party/xla/xla/service/gpu/gpu_fusible.cc
third_party/xla/xla/service/gpu/gpu_fusible_test.cc
#include "xla/service/gpu/gpu_fusible.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <optional> #include <stack> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/container/inlined_vector.h" #include "absl/log/chec...
#include "xla/service/gpu/gpu_fusible.h" #include <memory> #include <vector> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/hlo_parser.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/statusor.h" n...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_fusible.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_fusible_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c987cf9e-49f9-4548-8911-f4a481f0a4b8
cpp
tensorflow/tensorflow
buffer_allocations
third_party/xla/xla/service/gpu/buffer_allocations.cc
third_party/xla/xla/backends/cpu/runtime/buffer_allocations_test.cc
#include "xla/service/gpu/buffer_allocations.h" #include <cstdint> #include <set> #include "absl/status/status.h" #include "absl/types/span.h" #include "xla/service/buffer_assignment.h" #include "xla/stream_executor/device_memory.h" #include "tsl/platform/logging.h" namespace xla { namespace gpu { absl::Status BufferAl...
#include "xla/backends/cpu/runtime/buffer_allocations.h" #include <cstddef> #include <vector> #include "xla/service/buffer_assignment.h" #include "xla/service/maybe_owning_device_memory.h" #include "xla/stream_executor/device_memory.h" #include "tsl/platform/statusor.h" #include "tsl/platform/test.h" namespace xla::cpu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/buffer_allocations.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/backends/cpu/runtime/buffer_allocations_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9a2dfbbc-53b8-4988-9ab6-73c85b8aa912
cpp
tensorflow/tensorflow
cudnn_support_utils
third_party/xla/xla/service/gpu/cudnn_support_utils.cc
third_party/xla/xla/service/gpu/cudnn_support_utils_test.cc
#include "xla/service/gpu/cudnn_support_utils.h" #include <cstdint> #include <vector> #include "xla/hlo/ir/hlo_instructions.h" #include "xla/primitive_util.h" #include "xla/service/gpu/cublas_cudnn.h" #include "xla/shape.h" #include "xla/shape_util.h" #include "xla/stream_executor/device_description.h" #include "xla/ut...
#include "xla/service/gpu/cudnn_support_utils.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <memory> #include <string> #include <tuple> #include <vector> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_casting_utils.h" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/cudnn_support_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/cudnn_support_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
351b5a0b-c4a1-46de-8a0c-dd47539046d9
cpp
tensorflow/tensorflow
split_k_gemm_rewriter
third_party/xla/xla/service/gpu/split_k_gemm_rewriter.cc
third_party/xla/xla/service/gpu/split_k_gemm_rewriter_test.cc
#include "xla/service/gpu/split_k_gemm_rewriter.h" #include <cmath> #include <cstdint> #include <iterator> #include <stack> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/stat...
#include "xla/service/gpu/split_k_gemm_rewriter.h" #include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" #include "xla/autotuning.pb.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_instructio...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/split_k_gemm_rewriter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/split_k_gemm_rewriter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9c586ff2-998f-46bb-8cd1-365898f411cf
cpp
tensorflow/tensorflow
triton_fusion_analysis
third_party/xla/xla/service/gpu/triton_fusion_analysis.cc
third_party/xla/xla/service/gpu/triton_fusion_analysis_test.cc
#include "xla/service/gpu/triton_fusion_analysis.h" #include <cstdint> #include <memory> #include <optional> #include <queue> #include <string> #include <utility> #include <variant> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/st...
#include "xla/service/gpu/triton_fusion_analysis.h" #include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/gpu/transforms/gemm_fusion.h" #include "xla/stream_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/triton_fusion_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/triton_fusion_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
873af691-a7ed-4983-a8cd-f970eb8fa7af
cpp
tensorflow/tensorflow
gpu_latency_hiding_scheduler
third_party/xla/xla/service/gpu/gpu_latency_hiding_scheduler.cc
third_party/xla/xla/service/gpu/gpu_latency_hiding_scheduler_test.cc
#include "xla/service/gpu/gpu_latency_hiding_scheduler.h" #include <cstdint> #include <tuple> #include <utility> #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_query.h" #in...
#include "xla/service/gpu/gpu_latency_hiding_scheduler.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/s...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_latency_hiding_scheduler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_latency_hiding_scheduler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ae38afae-cea4-480b-bc81-c353972f7926
cpp
tensorflow/tensorflow
reduction_utils
third_party/xla/xla/service/gpu/reduction_utils.cc
third_party/xla/xla/service/gpu/reduction_utils_test.cc
#include "xla/service/gpu/reduction_utils.h" #include <algorithm> #include <array> #include <atomic> #include <cstdint> #include <ostream> #include "absl/algorithm/container.h" #include "absl/base/const_init.h" #include "absl/strings/str_join.h" #include "absl/synchronization/mutex.h" #include "absl/types/span.h" #incl...
#include "xla/service/gpu/reduction_utils.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/hlo_parser.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace gpu { namespace { using ::testing::ElementsAre; usin...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/reduction_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/reduction_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
757b4fb9-3ffb-4887-8a6f-740c46156148
cpp
tensorflow/tensorflow
runtime_intrinsics
third_party/xla/xla/service/gpu/runtime_intrinsics.cc
third_party/xla/xla/service/gpu/runtime_intrinsics_test.cc
#include "xla/service/gpu/runtime_intrinsics.h" #include <cstdint> #include <string> #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/strings/ascii.h" #include "absl/strings/string_view.h" #include "xla/service/collective_ops_utils.h" #include "xla/service/custom_call...
#include <memory> #include <utility> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/statusor.h" namespace xla { namespace gpu { namespace { using RuntimeIntrinsicsTest = HloTestBase; TEST_F(RuntimeIntrinsicsTe...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/runtime_intrinsics.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/runtime_intrinsics_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7606cb75-ccae-4f79-b2f0-741f5d1073cb
cpp
tensorflow/tensorflow
ir_emitter
third_party/xla/xla/service/cpu/ir_emitter.cc
third_party/xla/xla/service/cpu/ir_emitter_test.cc
#include "xla/service/cpu/ir_emitter.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <cstddef> #include <iterator> #include <limits> #include <map> #include <memory> #include <optional> #include <string> #include <string_view> #include <type_traits> #include <utility> #include <vector> #include...
#include "xla/service/cpu/ir_emitter.h" #include <cstdint> #include <memory> #include <utility> #include "llvm/IR/BasicBlock.h" #include "llvm/IR/Constants.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/Function.h" #include "llvm/IR/GlobalValue.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/Instructions.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/ir_emitter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/ir_emitter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
94482255-ec7d-455f-8827-0a005b4924b8
cpp
tensorflow/tensorflow
execution_stream_assignment
third_party/xla/xla/service/gpu/execution_stream_assignment.cc
third_party/xla/xla/service/gpu/execution_stream_assignment_test.cc
#include "xla/service/gpu/execution_stream_assignment.h" #include <deque> #include <memory> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_comput...
#include "xla/service/gpu/execution_stream_assignment.h" #include <memory> #include <string_view> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/execution_stream_assignment.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/execution_stream_assignment_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2e67453e-51a6-4245-90a4-4e34db3316cd
cpp
tensorflow/tensorflow
hlo_algorithm_denylist
third_party/xla/xla/service/gpu/hlo_algorithm_denylist.cc
third_party/xla/xla/service/gpu/hlo_algorithm_denylist_test.cc
#include "xla/service/gpu/hlo_algorithm_denylist.h" #include <optional> #include <string> #include <tuple> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/log/check.h" #include "absl/strings/str_cat.h" #include "xla/debug_options_flags.h" #include "xla/hlo/ir/backend_config.h" #include "xla/s...
#include "xla/service/gpu/hlo_algorithm_denylist.h" #include <cstdlib> #include <string> #include "absl/strings/str_cat.h" #include "xla/stream_executor/dnn.h" #include "xla/tests/test_utils.h" #include "tsl/platform/env.h" #include "tsl/platform/path.h" #include "tsl/platform/test.h" namespace xla { namespace gpu { na...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/hlo_algorithm_denylist.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/hlo_algorithm_denylist_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0147930e-0d97-4677-8292-daa6da3d7261
cpp
tensorflow/tensorflow
matmul_utils
third_party/xla/xla/service/gpu/matmul_utils.cc
third_party/xla/xla/service/gpu/matmul_utils_test.cc
#include "xla/service/gpu/matmul_utils.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <optional> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #in...
#include "xla/service/gpu/matmul_utils.h" #include <cstdint> #include <memory> #include <vector> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/service/hlo_parser.h" #include "xla/shape.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/status_ma...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/matmul_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/matmul_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5e5b458c-749f-4599-ab52-44f385a4c5f4
cpp
tensorflow/tensorflow
stream_executor_util
third_party/xla/xla/service/gpu/stream_executor_util.cc
third_party/xla/xla/service/gpu/stream_executor_util_test.cc
#include "xla/service/gpu/stream_executor_util.h" #include <cstdint> #include <iterator> #include <limits> #include <map> #include <memory> #include <optional> #include <random> #include <sstream> #include <string_view> #include <tuple> #include <type_traits> #include <utility> #include <vector> #include "absl/algorith...
#include "xla/service/gpu/stream_executor_util.h" #include <cstdint> #include <vector> #include <gtest/gtest.h> #include "absl/status/statusor.h" #include "absl/time/time.h" #include "xla/autotuning.pb.h" #include "xla/service/hlo_module_config.h" #include "xla/tsl/util/proto/proto_utils.h" namespace xla::gpu { namespa...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/stream_executor_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/stream_executor_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
adb8539d-0c2b-41c4-b736-da697e10d787
cpp
tensorflow/tensorflow
gpu_compiler
third_party/xla/xla/service/gpu/gpu_compiler.cc
third_party/xla/xla/service/gpu/gpu_compiler_test.cc
#include "xla/service/gpu/gpu_compiler.h" #include <algorithm> #include <array> #include <cstdint> #include <functional> #include <memory> #include <new> #include <optional> #include <string> #include <string_view> #include <utility> #include <variant> #include <vector> #include "absl/base/call_once.h" #include "absl/c...
#include "xla/service/gpu/gpu_compiler.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <limits> #include <memory> #include <string> #include <utility> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "absl/lo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_compiler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/gpu_compiler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea