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
26ad6729-c38a-4ff8-bc05-3336cfc5b0f0
cpp
tensorflow/tensorflow
hlo_op_profiler
third_party/xla/xla/service/gpu/model/hlo_op_profiler.cc
third_party/xla/xla/service/gpu/model/hlo_op_profiler_test.cc
#include "xla/service/gpu/model/hlo_op_profiler.h" #include <cstdint> #include <memory> #include <random> #include <string> #include <utility> #include <vector> #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/statusor.h" #include "absl/time/clock.h" #include "absl/time/time.h" #include "xla/...
#include "xla/service/gpu/model/hlo_op_profiler.h" #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_opcode.h" #include "xla/tests/hlo_test_base.h" #include "xla/xla_data.pb.h" namespace xla { namespace gpu { namespace { using HloOpProfilerTest = HloTestBase; TEST_F(HloOpProfilerTest, BasicMeasurementsAreCorrect) { #if...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/hlo_op_profiler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/hlo_op_profiler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6e92a8e9-0fdc-4b80-93d8-bd223b973557
cpp
tensorflow/tensorflow
gpu_cost_model_stats_collection
third_party/xla/xla/service/gpu/model/gpu_cost_model_stats_collection.cc
third_party/xla/xla/service/gpu/model/gpu_cost_model_stats_collection_test.cc
#include "xla/service/gpu/model/gpu_cost_model_stats_collection.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...
#include "xla/service/gpu/model/gpu_cost_model_stats_collection.h" #include <stdint.h> #include <memory> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/gpu/backend_configs.pb.h" #include "xla/service/gpu/gpu_device_info_for_tests.h" #include "xla/service/gpu/model/gpu_hlo_cost_an...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/gpu_cost_model_stats_collection.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/gpu_cost_model_stats_collection_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
170f268f-ba87-4ee9-b093-b6449fd5a01a
cpp
tensorflow/tensorflow
gpu_performance_model_base
third_party/xla/xla/service/gpu/model/gpu_performance_model_base.cc
third_party/xla/xla/service/gpu/model/gpu_performance_model_base_test.cc
#include "xla/service/gpu/model/gpu_performance_model_base.h" #include <algorithm> #include <cmath> #include <cstdint> #include <optional> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/synchronization/mutex.h" #include "absl/time/time.h"...
#include "xla/service/gpu/model/gpu_performance_model_base.h" #include <cstdint> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/gpu/backend_configs.pb.h" #include "xla/service/gpu/gpu_device_info_for_te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/gpu_performance_model_base.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/gpu_performance_model_base_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c981c3cc-c1bc-48ff-92ea-e891c374416e
cpp
tensorflow/tensorflow
indexing_map_serialization
third_party/xla/xla/service/gpu/model/indexing_map_serialization.cc
third_party/xla/xla/service/gpu/model/indexing_map_serialization_test.cc
#include "xla/service/gpu/model/indexing_map_serialization.h" #include <algorithm> #include <cctype> #include <cstdint> #include <optional> #include <ostream> #include <sstream> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/log/check.h" #include "absl/strings/str_cat.h" #i...
#include "xla/service/gpu/model/indexing_map_serialization.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "mlir/IR/AffineExpr.h" #include "mlir/IR/AffineMap.h" #include "mlir/IR/MLIRContext.h" #include "xla/service/gpu/model/indexing_test_utils.h" #include "xla/tests...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/indexing_map_serialization.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/indexing_map_serialization_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c7a7d7c3-ab9c-464d-ab87-e8ba974ca712
cpp
tensorflow/tensorflow
indexing_analysis
third_party/xla/xla/service/gpu/model/indexing_analysis.cc
third_party/xla/xla/service/gpu/model/indexing_analysis_test.cc
#include "xla/service/gpu/model/indexing_analysis.h" #include <algorithm> #include <cassert> #include <cstddef> #include <cstdint> #include <iterator> #include <optional> #include <ostream> #include <sstream> #include <string> #include <utility> #include <variant> #include <vector> #include "absl/algorithm/container.h"...
#include "xla/service/gpu/model/indexing_analysis.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/gpu/hlo_traversal.h" #include "xla/service/gpu/model/indexing_map_serialization.h" #include "xla/service/gpu/model/in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/indexing_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/indexing_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1d84fa11-8082-48bf-843b-b2081373cfdd
cpp
tensorflow/tensorflow
coalescing_analysis
third_party/xla/xla/service/gpu/model/coalescing_analysis.cc
third_party/xla/xla/service/gpu/model/coalescing_analysis_test.cc
#include "xla/service/gpu/model/coalescing_analysis.h" #include <algorithm> #include <cassert> #include <cstdint> #include <cstdlib> #include <optional> #include <stack> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/inlined_vector.h" #include "absl/types/span.h" #include "llvm/ADT...
#include "xla/service/gpu/model/coalescing_analysis.h" #include <cstdint> #include <memory> #include <utility> #include <vector> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "mlir/IR/MLIRContext.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_o...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/coalescing_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/coalescing_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
55e09b08-062c-4740-9cea-c3c6d2b6afbd
cpp
tensorflow/tensorflow
symbolic_tile_analysis
third_party/xla/xla/service/gpu/model/symbolic_tile_analysis.cc
third_party/xla/xla/service/gpu/model/symbolic_tile_analysis_test.cc
#include "xla/service/gpu/model/symbolic_tile_analysis.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <functional> #include <memory> #include <optional> #include <sstream> #include <string> #include <utility> #include <variant> #include <vector> #include "absl/algorithm/container.h" #include "ab...
#include "xla/service/gpu/model/symbolic_tile_analysis.h" #include <cstdint> #include <memory> #include <optional> #include <utility> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/algorithm/container.h" #include "absl/log/log.h" #include "absl/status/status.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/symbolic_tile_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/symbolic_tile_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
82cb7774-5af3-4c61-8b54-eb605a8ae3f4
cpp
tensorflow/tensorflow
triton_emitter_constraints
third_party/xla/xla/service/gpu/model/triton_emitter_constraints.cc
third_party/xla/xla/service/gpu/model/triton_emitter_constraints_test.cc
#include "xla/service/gpu/model/triton_emitter_constraints.h" #include <cstdint> #include <memory> #include <optional> #include <utility> #include <vector> #include "absl/log/check.h" #include "absl/memory/memory.h" #include "absl/status/statusor.h" #include "absl/types/span.h" #include "llvm/ADT/DenseSet.h" #include "...
#include "xla/service/gpu/model/triton_emitter_constraints.h" #include <memory> #include <optional> #include <utility> #include <variant> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/log.h" #include "mlir/IR/MLIRContext.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_module.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/triton_emitter_constraints.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/triton_emitter_constraints_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7eeb4c59-1ba3-41fa-9a55-c2db5b2366a6
cpp
tensorflow/tensorflow
gpu_hlo_cost_analysis
third_party/xla/xla/service/gpu/model/gpu_hlo_cost_analysis.cc
third_party/xla/xla/service/gpu/model/gpu_hlo_cost_analysis_test.cc
#include "xla/service/gpu/model/gpu_hlo_cost_analysis.h" #include <algorithm> #include <cmath> #include <cstdint> #include <memory> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/st...
#include "xla/service/gpu/model/gpu_hlo_cost_analysis.h" #include <cstdint> #include <gtest/gtest.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/service/gpu/model/hlo_op_profiles.h" #include "xla/s...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/gpu_hlo_cost_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/gpu_hlo_cost_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
cd417a41-9b87-49cf-8f25-5682c1ba589a
cpp
tensorflow/tensorflow
gpu_performance_model
third_party/xla/xla/service/gpu/model/gpu_performance_model.cc
third_party/xla/xla/service/gpu/model/gpu_performance_model_test.cc
#include "xla/service/gpu/model/gpu_performance_model.h" #include <algorithm> #include <cmath> #include <cstdint> #include <optional> #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/time/time.h" #include "absl/types/span.h" #include "llvm/ADT/STLExtras.h" #include "xla/hlo/ir/hlo_casting_utils.h" #...
#include "xla/service/gpu/model/gpu_performance_model.h" #include <cstdint> #include <memory> #include <utility> #include <vector> #include <gtest/gtest.h> #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "absl/time/time.h" #include "mlir/IR/MLIRContext.h" #include "xla/hlo/ir/hlo_comput...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/gpu_performance_model.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/gpu_performance_model_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
cf625149-027c-4753-b82c-cd10c5a4c99b
cpp
tensorflow/tensorflow
affine_map_evaluator
third_party/xla/xla/service/gpu/model/affine_map_evaluator.cc
third_party/xla/xla/service/gpu/model/affine_map_evaluator_test.cc
#include "xla/service/gpu/model/affine_map_evaluator.h" #include <cstdint> #include <vector> #include "absl/types/span.h" #include "llvm/Support/MathExtras.h" #include "mlir/IR/AffineExpr.h" #include "mlir/IR/AffineMap.h" #include "mlir/Support/LLVM.h" #include "tsl/platform/logging.h" namespace xla { namespace gpu {...
#include "xla/service/gpu/model/affine_map_evaluator.h" #include "mlir/IR/AffineExpr.h" #include "mlir/IR/AffineMap.h" #include "mlir/IR/MLIRContext.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/test.h" namespace xla { namespace gpu { namespace { using ::mlir::AffineExpr; using ::mlir::AffineMap; using...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/affine_map_evaluator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/affine_map_evaluator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9c5dbbb4-0726-4024-a9c7-cec6368a1eba
cpp
tensorflow/tensorflow
symbolic_tile
third_party/xla/xla/service/gpu/model/symbolic_tile.cc
third_party/xla/xla/service/gpu/model/symbolic_tile_test.cc
#include "xla/service/gpu/model/symbolic_tile.h" #include <algorithm> #include <cstdint> #include <iterator> #include <optional> #include <ostream> #include <sstream> #include <string> #include <utility> #include <variant> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h"...
#include "xla/service/gpu/model/symbolic_tile.h" #include <cstdint> #include <optional> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "llvm/ADT/SmallVector.h" #include "xla/service/gpu/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/symbolic_tile.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/symbolic_tile_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bfa6c823-3cc9-4b21-8649-cad61d016b3f
cpp
tensorflow/tensorflow
analytical_latency_estimator
third_party/xla/xla/service/gpu/model/analytical_latency_estimator.cc
third_party/xla/xla/service/gpu/model/analytical_latency_estimator_test.cc
#include "xla/service/gpu/model/analytical_latency_estimator.h" #include <memory> #include <utility> #include "absl/log/log.h" #include "absl/time/time.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_query.h" #include "xla/service/gpu/model/gpu_collective_perfor...
#include "xla/service/gpu/model/analytical_latency_estimator.h" #include <algorithm> #include <cstdint> #include <functional> #include <memory> #include <utility> #include <vector> #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_instruction.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/analytical_latency_estimator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/analytical_latency_estimator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5df7aab9-5757-4f4b-8261-a448a8554408
cpp
tensorflow/tensorflow
indexing_map
third_party/xla/xla/service/gpu/model/indexing_map.cc
third_party/xla/xla/service/gpu/model/indexing_map_test.cc
#include "xla/service/gpu/model/indexing_map.h" #include <algorithm> #include <cassert> #include <cstdint> #include <limits> #include <numeric> #include <optional> #include <ostream> #include <sstream> #include <string> #include <string_view> #include <tuple> #include <utility> #include <vector> #include "absl/base/opt...
#include "xla/service/gpu/model/indexing_map.h" #include <cstdint> #include <limits> #include <memory> #include <optional> #include <sstream> #include <tuple> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/hash/hash_testing.h" #include "absl/strings/string_view.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/indexing_map.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/indexing_map_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
43da607d-bf25-4e1f-836a-cb8c6ddb47bb
cpp
tensorflow/tensorflow
symbolic_tiled_hlo_instruction
third_party/xla/xla/service/gpu/model/symbolic_tiled_hlo_instruction.cc
third_party/xla/xla/service/gpu/model/symbolic_tiled_hlo_instruction_test.cc
#include "xla/service/gpu/model/symbolic_tiled_hlo_instruction.h" #include <cstdint> #include <sstream> #include <string> #include "absl/types/span.h" #include "llvm/ADT/SmallVector.h" #include "xla/service/gpu/model/affine_map_evaluator.h" #include "xla/service/gpu/model/symbolic_tile.h" namespace xla { namespace gpu ...
#include "xla/service/gpu/model/symbolic_tiled_hlo_instruction.h" #include <cstdint> #include <optional> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "mlir/IR/MLIRContext.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/gpu/hlo_traversal.h" #include "xla/service/gpu/model...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/symbolic_tiled_hlo_instruction.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/symbolic_tiled_hlo_instruction_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
935f64c6-1b0e-49e5-a889-d0eafb7ff84e
cpp
tensorflow/tensorflow
autotuner_compile_util
third_party/xla/xla/service/gpu/autotuning/autotuner_compile_util.cc
third_party/xla/xla/service/gpu/autotuning/autotuner_compile_util_test.cc
#include "xla/service/gpu/autotuning/autotuner_compile_util.h" #include <cstdint> #include <iterator> #include <memory> #include <optional> #include <utility> #include <vector> #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "absl/time/time.h" #include "absl/ty...
#include "xla/service/gpu/autotuning/autotuner_compile_util.h" #include <vector> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/service/gpu/autotuning/autotuner_util.h" #include "xla/service/platform_util.h" #include "xla/stream_executor/platform.h" #incl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/autotuner_compile_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/autotuner_compile_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d2b37d13-4f6d-45ff-bfc3-4017594a9cec
cpp
tensorflow/tensorflow
gemm_fusion_autotuner
third_party/xla/xla/service/gpu/autotuning/gemm_fusion_autotuner.cc
third_party/xla/xla/service/gpu/autotuning/gemm_fusion_autotuner_test.cc
#include "xla/service/gpu/autotuning/gemm_fusion_autotuner.h" #include <algorithm> #include <array> #include <atomic> #include <cstdint> #include <iterator> #include <memory> #include <optional> #include <string> #include <utility> #include <variant> #include <vector> #include "absl/algorithm/container.h" #include "abs...
#include "xla/service/gpu/autotuning/gemm_fusion_autotuner.h" #include <algorithm> #include <memory> #include <string> #include <utility> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/log/log.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/gemm_fusion_autotuner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/gemm_fusion_autotuner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7d875bf1-7d72-49ea-bcaf-436820c6b061
cpp
tensorflow/tensorflow
gemm_algorithm_picker
third_party/xla/xla/service/gpu/autotuning/gemm_algorithm_picker.cc
third_party/xla/xla/service/gpu/autotuning/gemm_algorithm_picker_test.cc
#include "xla/service/gpu/autotuning/gemm_algorithm_picker.h" #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <variant> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "absl/status/statusor.h" ...
#include "xla/service/gpu/autotuning/gemm_algorithm_picker.h" #include <cstddef> #include <cstdint> #include <string> #include <variant> #include "absl/log/log.h" #include "absl/strings/string_view.h" #include "xla/autotune_results.pb.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/gpu/autotuning/autot...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/gemm_algorithm_picker.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/gemm_algorithm_picker_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1ef25b3e-ad9d-4e72-9756-a70137f03a02
cpp
tensorflow/tensorflow
autotuner_util
third_party/xla/xla/service/gpu/autotuning/autotuner_util.cc
third_party/xla/xla/service/gpu/autotuning/autotuner_util_test.cc
#include "xla/service/gpu/autotuning/autotuner_util.h" #include <algorithm> #include <array> #include <cmath> #include <cstdint> #include <limits> #include <optional> #include <string> #include <utility> #include <variant> #include "absl/base/const_init.h" #include "absl/base/thread_annotations.h" #include "absl/contai...
#include "xla/service/gpu/autotuning/autotuner_util.h" #include <memory> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/st...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/autotuner_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/autotuner_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a7e207fa-a826-4269-ba9a-fa266b94b2de
cpp
tensorflow/tensorflow
custom_kernel_fusion_autotuner
third_party/xla/xla/service/gpu/autotuning/custom_kernel_fusion_autotuner.cc
third_party/xla/xla/service/gpu/autotuning/custom_kernel_fusion_autotuner_test.cc
#include "xla/service/gpu/autotuning/custom_kernel_fusion_autotuner.h" #include <cstdint> #include <memory> #include <optional> #include <tuple> #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/stri...
#include "xla/service/gpu/autotuning/custom_kernel_fusion_autotuner.h" #include <memory> #include <string> #include <utility> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/pass/hlo_pass_pipeline.h" #include "xla/service/gpu/autotuning/autotuner_util.h" #include "xla/tests/hlo_test_base.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/custom_kernel_fusion_autotuner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/custom_kernel_fusion_autotuner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
eacdd4d3-8136-4b25-b2d6-03ae16e8f6e5
cpp
tensorflow/tensorflow
conv_algorithm_picker
third_party/xla/xla/service/gpu/autotuning/conv_algorithm_picker.cc
third_party/xla/xla/service/gpu/autotuning/conv_algorithm_picker_test.cc
#include "xla/service/gpu/autotuning/conv_algorithm_picker.h" #include <algorithm> #include <cmath> #include <cstddef> #include <cstdint> #include <limits> #include <memory> #include <optional> #include <string> #include <string_view> #include <tuple> #include <utility> #include <vector> #include "absl/algorithm/contai...
#include "xla/service/gpu/autotuning/conv_algorithm_picker.h" #include <cstdint> #include <variant> #include <vector> #include "absl/strings/string_view.h" #include "xla/autotune_results.pb.h" #include "xla/debug_options_flags.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/gpu/autotuning/autotuner_uti...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/conv_algorithm_picker.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/conv_algorithm_picker_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a9df55e8-0ddf-4590-8744-6b2d90500b08
cpp
tensorflow/tensorflow
gpu_backend_lib
third_party/xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc
third_party/xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib_test.cc
#include "xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.h" #include <algorithm> #include <cstdint> #include <cstdlib> #include <fstream> #include <functional> #include <ios> #include <memory> #include <mutex> #include <optional> #include <string> #include <string_view> #include <system_error> #include <utility> ...
#include "xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.h" #include <utility> #include "absl/strings/str_cat.h" #include "xla/stream_executor/device_description.h" #include "xla/stream_executor/semantic_version.h" #include "tsl/platform/test.h" namespace xla { namespace gpu { namespace { namespace se = ::stream_exec...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
43a8a8a6-4fb8-4471-9a04-067387bd6f07
cpp
tensorflow/tensorflow
cpu_runtime
third_party/xla/xla/service/cpu/cpu_runtime.cc
third_party/xla/xla/service/cpu/cpu_runtime_test.cc
#include "xla/service/cpu/cpu_runtime.h" #include <cstdarg> #include <cstdint> #include <cstring> #include <iterator> #include <memory> #include <optional> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/base/attributes.h" #include "absl...
#define EIGEN_USE_THREADS #include "xla/service/cpu/cpu_runtime.h" #include <memory> #include <string> #include <tuple> #include "absl/strings/str_format.h" #include "unsupported/Eigen/CXX11/Tensor" #include "xla/array2d.h" #include "xla/client/local_client.h" #include "xla/executable_run_options.h" #include "xla/servi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/cpu_runtime.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/cpu_runtime_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a93ebaaa-58e6-4f7b-8f29-a489e31d4189
cpp
tensorflow/tensorflow
ir_emitter2
third_party/xla/xla/service/cpu/ir_emitter2.cc
third_party/xla/xla/service/cpu/ir_emitter2_test.cc
#include "xla/service/cpu/ir_emitter2.h" #include <array> #include <cstddef> #include <cstdint> #include <optional> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/btree_map.h" #include "absl/container/flat_hash_map.h" #include...
#include "xla/service/cpu/ir_emitter2.h" #include <cstdint> #include <memory> #include <string_view> #include <vector> #include "absl/memory/memory.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "llvm/IR/Constants.h" #include "llvm/IR/IRBuilder.h" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/ir_emitter2.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/ir_emitter2_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
75346150-76eb-46bf-af45-eced291a9d7e
cpp
tensorflow/tensorflow
cpu_layout_assignment
third_party/xla/xla/service/cpu/cpu_layout_assignment.cc
third_party/xla/xla/service/cpu/cpu_layout_assignment_test.cc
#include "xla/service/cpu/cpu_layout_assignment.h" #include <cstdint> #include <numeric> #include <optional> #include <vector> #include "absl/container/flat_hash_map.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/map_util.h" #include "xla/service/cpu/dot_op_emitter.h...
#include "xla/service/cpu/cpu_layout_assignment.h" #include <initializer_list> #include <memory> #include <utility> #include <vector> #include "absl/types/span.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" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/cpu_layout_assignment.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/cpu_layout_assignment_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
adef24a5-72cd-40be-a7ea-abcef4d0cf40
cpp
tensorflow/tensorflow
xfeed_manager
third_party/xla/xla/service/cpu/xfeed_manager.cc
third_party/xla/xla/service/cpu/xfeed_manager_test.cc
#include "xla/service/cpu/xfeed_manager.h" #include "absl/synchronization/mutex.h" #include "absl/types/span.h" #include "xla/shape.h" #include "xla/shape_util.h" #include "tsl/platform/logging.h" namespace xla { namespace cpu { namespace runtime { void XfeedQueueManager::EnqueueBuffersAtomically( absl::Span<XfeedB...
#include "xla/service/cpu/xfeed_manager.h" #include <memory> #include "xla/service/cpu/cpu_runtime.h" #include "xla/shape.h" #include "xla/shape_util.h" #include "xla/tsl/lib/core/status_test_util.h" #include "xla/xla_data.pb.h" #include "tsl/platform/env.h" #include "tsl/platform/logging.h" #include "tsl/platform/test...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/xfeed_manager.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/xfeed_manager_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7f0424d3-3804-43b2-8e39-74cec9ac5e61
cpp
tensorflow/tensorflow
conv_canonicalization
third_party/xla/xla/service/cpu/conv_canonicalization.cc
third_party/xla/xla/service/cpu/conv_canonicalization_test.cc
#include "xla/service/cpu/conv_canonicalization.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/permutation_util.h" #include "xla/service/cpu/cpu_runtime.h" #include "xla/service/cpu/ir_emission_utils.h" #include "xla/shape_util.h" #inc...
#include "xla/service/cpu/conv_canonicalization.h" #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/service/cpu/target_machine_features_fake.h" #include "xla/test.h" #include "xla/test_helpers.h" #include "xla/tests/hlo_te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/conv_canonicalization.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/conv_canonicalization_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
145ec2e0-d3a0-4ee7-9f72-6f42a78ef99f
cpp
tensorflow/tensorflow
onednn_softmax
third_party/xla/xla/service/cpu/onednn_softmax.cc
third_party/xla/xla/service/cpu/tests/onednn_softmax_test.cc
#if defined(INTEL_MKL) && defined(ENABLE_ONEDNN_V3) #include "xla/service/cpu/onednn_softmax.h" #include <algorithm> #include <cmath> #include <initializer_list> #include <vector> #include "absl/base/dynamic_annotations.h" #include "dnnl.hpp" #include "xla/executable_run_options.h" #include "xla/service/cpu/backend_con...
#if defined(INTEL_MKL) && defined(ENABLE_ONEDNN_V3) #include <utility> #include "absl/strings/str_replace.h" #include "absl/strings/substitute.h" #include "xla/literal.h" #include "xla/service/cpu/backend_config.pb.h" #include "xla/service/cpu/onednn_config.pb.h" #include "xla/service/cpu/onednn_ops_rewriter.h" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/onednn_softmax.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/tests/onednn_softmax_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a8637437-dc05-47df-af5a-2291897bf2a2
cpp
tensorflow/tensorflow
onednn_layer_norm
third_party/xla/xla/service/cpu/onednn_layer_norm.cc
third_party/xla/xla/service/cpu/tests/onednn_layer_norm_test.cc
#if defined(INTEL_MKL) && defined(ENABLE_ONEDNN_V3) #include "xla/service/cpu/onednn_layer_norm.h" #include <algorithm> #include <cmath> #include <initializer_list> #include <vector> #define EIGEN_USE_THREADS #include "absl/base/dynamic_annotations.h" #include "dnnl.hpp" #include "xla/executable_run_options.h" #include...
#if defined(INTEL_MKL) && defined(ENABLE_ONEDNN_V3) #include "xla/service/cpu/onednn_util.h" #include "xla/test.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { class LayerNormTest : public HloTestBase { protected: DebugOptions GetDebugOptionsForTest() override { DebugOptions debug_options = H...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/onednn_layer_norm.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/tests/onednn_layer_norm_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
16a28cdd-9ae5-45f7-b5be-371ad5429024
cpp
tensorflow/tensorflow
runtime_topk
third_party/xla/xla/service/cpu/runtime_topk.cc
third_party/xla/xla/tests/runtime_topk_test.cc
#include "xla/service/cpu/runtime_topk.h" #include <algorithm> #include <cstdint> #include <cstring> #include <limits> #include <numeric> #include <vector> #include "absl/base/casts.h" #include "absl/base/dynamic_annotations.h" template <typename T> static void TopK(int64_t batch_size, int64_t input_size, int64_t k, ...
#include <string_view> #include <utility> #include <vector> #include <gtest/gtest.h> #include "xla/literal.h" #include "xla/literal_util.h" #include "xla/tests/hlo_test_base.h" #include "xla/tests/literal_test_util.h" #include "xla/tests/test_macros.h" #include "tsl/platform/statusor.h" namespace xla::cpu { namespace {...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/runtime_topk.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tests/runtime_topk_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
07a76b80-b96d-4919-abec-99658cb925d4
cpp
tensorflow/tensorflow
onednn_matmul
third_party/xla/xla/service/cpu/onednn_matmul.cc
third_party/xla/xla/service/cpu/tests/onednn_matmul_test.cc
#if defined(INTEL_MKL) && defined(ENABLE_ONEDNN_V3) #include "xla/service/cpu/onednn_matmul.h" #include <algorithm> #include <cmath> #include <cstring> #include <initializer_list> #include <iterator> #include <utility> #include <vector> #include "absl/base/dynamic_annotations.h" #include "unsupported/Eigen/CXX11/Tensor...
#if defined(INTEL_MKL) && defined(ENABLE_ONEDNN_V3) #include <utility> #include "xla/hlo/utils/hlo_matchers.h" #include "xla/literal.h" #include "xla/service/cpu/onednn_contraction_rewriter.h" #include "xla/service/cpu/onednn_util.h" #include "xla/shape_util.h" #include "xla/test.h" #include "xla/test_helpers.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/onednn_matmul.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/tests/onednn_matmul_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
dc8b016d-3194-4fce-b2a4-a05da0640f45
cpp
tensorflow/tensorflow
onednn_convolution
third_party/xla/xla/service/cpu/onednn_convolution.cc
third_party/xla/xla/service/cpu/tests/onednn_convolution_test.cc
#if defined(INTEL_MKL) && defined(ENABLE_ONEDNN_V3) #include "xla/service/cpu/onednn_convolution.h" #include <algorithm> #include <cmath> #include <cstring> #include <initializer_list> #include <utility> #include <vector> #define EIGEN_USE_THREADS #include "absl/base/dynamic_annotations.h" #include "unsupported/Eigen/C...
#if defined(INTEL_MKL) && defined(ENABLE_ONEDNN_V3) #include <utility> #include "xla/hlo/utils/hlo_matchers.h" #include "xla/literal.h" #include "xla/service/cpu/onednn_contraction_rewriter.h" #include "xla/service/cpu/onednn_util.h" #include "xla/shape_util.h" #include "xla/test.h" #include "xla/test_helpers.h" #inclu...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/onednn_convolution.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/tests/onednn_convolution_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
42ba027f-473e-4e70-a1e2-6fa80dbda591
cpp
tensorflow/tensorflow
cpu_instruction_fusion
third_party/xla/xla/service/cpu/cpu_instruction_fusion.cc
third_party/xla/xla/service/cpu/cpu_instruction_fusion_test.cc
#include "xla/service/cpu/cpu_instruction_fusion.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/fusion_node_indexing_evaluation.h" #include "xla/service/instruction_fusion.h" #include "xla/service/llvm_ir/fused_ir_emitter.h" namespace xla { namespace cpu { namespace { bool CanBeLoopFused(const HloInstructi...
#include "xla/service/cpu/cpu_instruction_fusion.h" #include <algorithm> #include <memory> #include <set> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/cpu_instruction_fusion.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/cpu_instruction_fusion_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
df3a25ed-d89e-4a8e-9675-4e294c559107
cpp
tensorflow/tensorflow
shape_partition
third_party/xla/xla/service/cpu/shape_partition.cc
third_party/xla/xla/service/cpu/shape_partition_test.cc
#include "xla/service/cpu/shape_partition.h" #include <algorithm> #include <cmath> #include <cstdint> #include <utility> #include <vector> namespace xla { namespace cpu { std::vector<int64_t> ShapePartitionAssigner::Run( int64_t target_partition_count) { std::vector<int64_t> outer_dims; int64_t outer_dim_size =...
#include "xla/service/cpu/shape_partition.h" #include <algorithm> #include <random> #include "xla/test_helpers.h" #include "xla/tests/hlo_test_base.h" #include "xla/util.h" namespace xla { namespace cpu { namespace { class ShapePartitionAssignerTest : public HloTestBase { protected: typedef std::vector<int64_t> Vec;...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/shape_partition.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/shape_partition_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bb58629f-8bc9-481c-a8f4-361cf88721bc
cpp
tensorflow/tensorflow
parallel_task_assignment
third_party/xla/xla/service/cpu/parallel_task_assignment.cc
third_party/xla/xla/service/cpu/parallel_task_assignment_test.cc
#include "xla/service/cpu/parallel_task_assignment.h" #include <algorithm> #include <cmath> #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/status/statusor.h" #include...
#include "xla/service/cpu/parallel_task_assignment.h" #include <cstdint> #include <memory> #include <string> #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/cpu/backend_config.pb.h" #include "xla/service/cpu/cpu_executable.h" #include "xla/se...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/parallel_task_assignment.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/parallel_task_assignment_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fb500ced-65dc-4fb0-889f-5da1a2768a2a
cpp
tensorflow/tensorflow
alias_analysis
third_party/xla/xla/service/llvm_ir/alias_analysis.cc
third_party/xla/xla/service/llvm_ir/alias_analysis_test.cc
#include "xla/service/llvm_ir/alias_analysis.h" #include <map> #include "absl/container/flat_hash_set.h" #include "llvm/IR/MDBuilder.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/buffer_assignment.h" #include "xla/service/hlo_value.h" #include "xla/service/llvm_ir/i...
#include "absl/status/status.h" #include "xla/ffi/ffi.h" #include "xla/ffi/ffi_api.h" #include "xla/service/cpu/tests/cpu_codegen_test.h" #include "xla/tests/hlo_test_base.h" #include "xla/xla.pb.h" #include "tsl/platform/test.h" namespace xla::cpu { namespace { class AliasAnalysisTest : public CpuCodegenTest { Debug...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/llvm_ir/alias_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/llvm_ir/alias_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
93f94341-4b0e-4bc2-912e-7f6500b6da69
cpp
tensorflow/tensorflow
math_ops
tensorflow/c/experimental/ops/math_ops.cc
tensorflow/core/ops/math_ops_test.cc
#include "tensorflow/c/experimental/ops/math_ops.h" #include "absl/types/span.h" #include "tensorflow/c/eager/abstract_context.h" #include "tensorflow/c/eager/abstract_operation.h" #include "tensorflow/c/eager/abstract_tensor_handle.h" #include "tensorflow/c/eager/tracing_utils.h" #include "tensorflow/core/platform/sta...
#include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/shape_inference_testutil.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/framework/tensor_testutil.h" #i...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/experimental/ops/math_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ops/math_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3c947f36-5411-42e9-ae6b-7264dbade642
cpp
tensorflow/tensorflow
ir_array
third_party/xla/xla/service/llvm_ir/ir_array.cc
third_party/xla/xla/service/llvm_ir/ir_array_test.cc
#include "xla/service/llvm_ir/ir_array.h" #include <cstdint> #include <optional> #include <tuple> #include <utility> #include <variant> #include <vector> #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "llvm/IR/Constants.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/IRBuilder.h" #in...
#include "xla/service/llvm_ir/ir_array.h" #include <string> #include "llvm/ADT/ArrayRef.h" #include "llvm/IR/Argument.h" #include "llvm/IR/BasicBlock.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/Function.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/Type.h" #include "llvm/IR/Value.h" #include "xla/servi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/llvm_ir/ir_array.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/llvm_ir/ir_array_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6e3458b4-6bda-4c3d-b527-832bd9c9dbfd
cpp
tensorflow/tensorflow
spmd_prepare
third_party/xla/xla/service/spmd/spmd_prepare.cc
third_party/xla/xla/service/spmd/spmd_prepare_test.cc
#include "xla/service/spmd/spmd_prepare.h" #include <memory> #include <optional> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/status/statusor.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/hlo_...
#include "xla/service/spmd/spmd_prepare.h" #include <memory> #include <utility> #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/pass/hlo_pass_pipeline.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/spmd_prepare.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/spmd_prepare_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7a699b20-fc79-4536-a38d-cf545441b0c0
cpp
tensorflow/tensorflow
stateful_rng_spmd_partitioner
third_party/xla/xla/service/spmd/stateful_rng_spmd_partitioner.cc
third_party/xla/xla/service/spmd/stateful_rng_spmd_partitioner_test.cc
#include "xla/service/spmd/stateful_rng_spmd_partitioner.h" #include <memory> #include <utility> #include "absl/container/flat_hash_set.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/hlo/ir/hlo_sharding.h"...
#include "xla/service/spmd/stateful_rng_spmd_partitioner.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/pass/hlo_p...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/stateful_rng_spmd_partitioner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/stateful_rng_spmd_partitioner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
11861505-cf46-458e-b235-534742eff9ac
cpp
tensorflow/tensorflow
schedule_aware_collective_ops_cse
third_party/xla/xla/service/spmd/schedule_aware_collective_ops_cse.cc
third_party/xla/xla/service/spmd/schedule_aware_collective_ops_cse_test.cc
#include "xla/service/spmd/schedule_aware_collective_ops_cse.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/strings/string_view.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computa...
#include "xla/service/spmd/schedule_aware_collective_ops_cse.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/ir/hlo_opcode.h" #include "xla/hlo/pass/hlo_pass_pipeline.h" #incl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/schedule_aware_collective_ops_cse.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/schedule_aware_collective_ops_cse_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
427bb8a3-c26e-4c32-83fa-f82be047f902
cpp
tensorflow/tensorflow
spmd_partitioner
third_party/xla/xla/service/spmd/spmd_partitioner.cc
third_party/xla/xla/service/spmd/spmd_partitioner_test.cc
#include "xla/service/spmd/spmd_partitioner.h" #include <algorithm> #include <array> #include <cstdint> #include <functional> #include <limits> #include <memory> #include <numeric> #include <optional> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include ...
#include "xla/service/spmd/spmd_partitioner.h" #include <algorithm> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/algorithm/container.h" #include "absl/log/check.h" #include "absl/log/log.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/spmd_partitioner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/spmd_partitioner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d229d95d-83c7-4da2-964e-3b50e74751e5
cpp
tensorflow/tensorflow
canonicalize_all_gather_for_cse
third_party/xla/xla/service/spmd/canonicalize_all_gather_for_cse.cc
third_party/xla/xla/service/spmd/canonicalize_all_gather_for_cse_test.cc
#include "xla/service/spmd/canonicalize_all_gather_for_cse.h" #include "absl/container/flat_hash_set.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/hlo_computation.h" #include "xla/hlo/ir/hlo_instruct...
#include "xla/service/spmd/canonicalize_all_gather_for_cse.h" #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.h" #include "xla/hlo/pass/hlo_pa...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/canonicalize_all_gather_for_cse.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/canonicalize_all_gather_for_cse_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f912456d-8bbf-4712-ae1d-caa5d3675f31
cpp
tensorflow/tensorflow
spmd_partitioner_util
third_party/xla/xla/service/spmd/spmd_partitioner_util.cc
third_party/xla/xla/service/spmd/spmd_partitioner_util_test.cc
#include "xla/service/spmd/spmd_partitioner_util.h" #include <algorithm> #include <cstdint> #include <limits> #include <map> #include <memory> #include <numeric> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #in...
#include "xla/service/spmd/spmd_partitioner_util.h" #include <cstdint> #include <optional> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/hlo/ir/collective_device_list.h" #include "xla/hlo/ir/hlo_sharding.h" #include "xla/hlo/ir/tile_assignment.h" namespace xla { namespace spmd { name...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/spmd_partitioner_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/spmd_partitioner_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2cd5293f-5da0-4198-a703-16efdd40591a
cpp
tensorflow/tensorflow
collective_permute_motion
third_party/xla/xla/service/spmd/collective_permute_motion.cc
third_party/xla/xla/service/spmd/collective_permute_motion_test.cc
#include "xla/service/spmd/collective_permute_motion.h" #include <cstdint> #include <deque> #include <optional> #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/log/check.h" #include "absl/log/lo...
#include "xla/service/spmd/collective_permute_motion.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/log.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/tests/hlo_test_base.h" #include "xla/xla_data.pb.h" name...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/collective_permute_motion.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/collective_permute_motion_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2d33973b-0f6d-4d9e-933b-378a9e121c71
cpp
tensorflow/tensorflow
partition_assignment
third_party/xla/xla/service/spmd/partition_assignment.cc
third_party/xla/xla/service/spmd/partition_assignment_test.cc
#include "xla/service/spmd/partition_assignment.h" #include <cstdint> #include <memory> #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/string_view.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/xla.pb.h" names...
#include "xla/service/spmd/partition_assignment.h" #include <memory> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/tests/hlo_test_base.h" #include "xla/xla.pb.h" #include "tsl/platform/statusor.h" namespace xla { namespace { using PartitionAssignmentTest = HloTestBase; TEST_F(PartitionAss...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/partition_assignment.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/partition_assignment_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
60aad745-e11c-4fce-abc6-3248231d3e2a
cpp
tensorflow/tensorflow
whole_graph_manual_pass
third_party/xla/xla/service/spmd/whole_graph_manual_pass.cc
third_party/xla/xla/service/spmd/whole_graph_manual_pass_test.cc
#include "xla/service/spmd/whole_graph_manual_pass.h" #include "absl/container/flat_hash_set.h" #include "absl/status/statusor.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/hlo_instruction.h" #include "xla/hlo/ir/hlo_instr...
#include "xla/service/spmd/whole_graph_manual_pass.h" #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_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/pass/hlo_pass_pipeline.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/whole_graph_manual_pass.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/whole_graph_manual_pass_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d5bce155-aab7-45a5-b882-7ba31775153e
cpp
tensorflow/tensorflow
shardy_xla_pass
third_party/xla/xla/service/spmd/shardy/shardy_xla_pass.cc
third_party/xla/xla/service/spmd/shardy/shardy_xla_pass_test.cc
#include "xla/service/spmd/shardy/shardy_xla_pass.h" #include <cstdint> #include <cstdlib> #include <memory> #include <optional> #include <string> #include <string_view> #include <utility> #include <vector> #include "mhlo/transforms/passes.h" #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map....
#include "xla/service/spmd/shardy/shardy_xla_pass.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/log.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/tests/hlo_test_base.h" #include "xla/tests/v...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/shardy/shardy_xla_pass.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/shardy/shardy_xla_pass_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8ded5b53-11c9-465a-a926-7211f30afb8b
cpp
tensorflow/tensorflow
mhlo_import
third_party/xla/xla/service/spmd/shardy/mhlo_round_trip/mhlo_import.cc
third_party/xla/xla/service/spmd/shardy/mhlo_round_trip/mhlo_import_test.cc
#include "xla/service/spmd/shardy/mhlo_round_trip/mhlo_import.h" #include <algorithm> #include <cstdint> #include <functional> #include <iterator> #include <memory> #include <optional> #include <string> #include <tuple> #include <utility> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #...
#include "xla/service/spmd/shardy/mhlo_round_trip/mhlo_import.h" #include <cstdint> #include <gtest/gtest.h> #include "llvm/ADT/DenseMap.h" #include "mlir/IR/Attributes.h" #include "mlir/IR/MLIRContext.h" #include "mlir/Parser/Parser.h" #include "mlir/Support/LLVM.h" #include "shardy/dialect/sdy/ir/dialect.h" #include ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/shardy/mhlo_round_trip/mhlo_import.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/shardy/mhlo_round_trip/mhlo_import_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f347f78b-eaa6-4792-ac4e-ae5992680692
cpp
tensorflow/tensorflow
memory_space_assignment
third_party/xla/xla/service/memory_space_assignment/memory_space_assignment.cc
third_party/xla/xla/service/memory_space_assignment/memory_space_assignment_test.cc
#include "xla/service/memory_space_assignment/memory_space_assignment.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <functional> #include <iterator> #include <map> #include <memory> #include <optional> #include <string> #include <string_view> #include <tuple> #include <utility> #include <vector...
#include "xla/service/memory_space_assignment/memory_space_assignment.h" #include <algorithm> #include <cstdint> #include <functional> #include <limits> #include <memory> #include <numeric> #include <optional> #include <ostream> #include <string> #include <string_view> #include <tuple> #include <utility> #include <vari...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_assignment/memory_space_assignment.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_assignment/memory_space_assignment_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
90efec1f-b7a5-4704-ad96-5a68bd299536
cpp
tensorflow/tensorflow
best_fit_repacker
third_party/xla/xla/service/memory_space_assignment/best_fit_repacker.cc
third_party/xla/xla/service/memory_space_assignment/best_fit_repacker_test.cc
#include "xla/service/memory_space_assignment/best_fit_repacker.h" #include <algorithm> #include <cstdint> #include <functional> #include <optional> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/cont...
#include "xla/service/memory_space_assignment/best_fit_repacker.h" #include <cstdint> #include "absl/container/flat_hash_map.h" #include "absl/types/span.h" #include "xla/comparison_util.h" #include "xla/service/heap_simulator/allocation_block.h" #include "xla/service/heap_simulator/heap_simulator.h" #include "tsl/plat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_assignment/best_fit_repacker.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_assignment/best_fit_repacker_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c9ef4d9a-f25e-4c7a-9aae-2c4c8594cea4
cpp
tensorflow/tensorflow
allocation
tensorflow/compiler/mlir/lite/allocation.cc
tensorflow/lite/allocation_test.cc
#include "tensorflow/compiler/mlir/lite/allocation.h" #include <stddef.h> #include <sys/stat.h> #include <sys/types.h> #include <cstdint> #include <cstdio> #include <cstdlib> #include <cstring> #include <memory> #include "tensorflow/compiler/mlir/lite/core/api/error_reporter.h" namespace tflite { #ifndef TFLITE_MCU Fil...
#include "tensorflow/lite/allocation.h" #if defined(__linux__) #include <fcntl.h> #endif #include <sys/stat.h> #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/testing/util.h" namespace tflite { TEST(MMAPAllocation, TestInvalidFile) { if (!MMAPAllocation::IsSupported()) { return; } TestErr...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/allocation.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/allocation_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5f7e1e07-e422-4212-9406-7b918c7a1893
cpp
tensorflow/tensorflow
simulator
third_party/xla/xla/service/memory_space_assignment/simulator.cc
third_party/xla/xla/service/memory_space_assignment/simulator_test.cc
#include "xla/service/memory_space_assignment/simulator.h" #include <algorithm> #include <cstdint> #include <list> #include <memory> #include <optional> #include <utility> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl...
#include "xla/service/memory_space_assignment/simulator.h" #include <cstdint> #include <list> #include <memory> #include <string_view> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/s...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_assignment/simulator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_assignment/simulator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f9f10a84-8072-4a0b-badf-15411ee7d548
cpp
tensorflow/tensorflow
cost_analysis
tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc
third_party/xla/xla/service/memory_space_assignment/cost_analysis_test.cc
#include "tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.h" #include <algorithm> #include <string> #include <utility> #include "absl/container/flat_hash_map.h" #include "absl/strings/string_view.h" #include "llvm/Support/Casting.h" #include "mlir/Dialect/Func/IR/FuncOps.h" #include "mlir/IR/Block.h" #include ...
#include "xla/service/memory_space_assignment/cost_analysis.h" #include <algorithm> #include <cstdint> #include <memory> #include <gtest/gtest.h> #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/hlo_cost_analysi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_assignment/cost_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
69fb686e-9d31-45fd-992b-c343fb30b34f
cpp
tensorflow/tensorflow
prefetch_interval_picker
third_party/xla/xla/service/memory_space_assignment/prefetch_interval_picker.cc
third_party/xla/xla/service/memory_space_assignment/prefetch_interval_picker_test.cc
#include "xla/service/memory_space_assignment/prefetch_interval_picker.h" #include <algorithm> #include <cmath> #include <cstdint> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/log/check.h" #include "absl/strings/str_cat.h" #include "...
#include "xla/service/memory_space_assignment/prefetch_interval_picker.h" #include <cstdint> #include <optional> #include <gtest/gtest.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/service/hlo_cost_analysis.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_assignment/prefetch_interval_picker.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_assignment/prefetch_interval_picker_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0587d70c-ea77-47c1-b1b0-a74f752d5522
cpp
tensorflow/tensorflow
memory_bound_loop_optimizer
third_party/xla/xla/service/memory_space_assignment/memory_bound_loop_optimizer.cc
third_party/xla/xla/service/memory_space_assignment/memory_bound_loop_optimizer_test.cc
#include "xla/service/memory_space_assignment/memory_bound_loop_optimizer.h" #include <algorithm> #include <cstdint> #include <functional> #include <iterator> #include <memory> #include <optional> #include <set> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/algorithm/container.h...
#include "xla/service/memory_space_assignment/memory_bound_loop_optimizer.h" #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/log/log...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_assignment/memory_bound_loop_optimizer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/memory_space_assignment/memory_bound_loop_optimizer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
53563334-ed7d-4388-a521-27a3effba8b4
cpp
tensorflow/tensorflow
algorithm
tensorflow/core/graph/algorithm.cc
tensorflow/core/graph/algorithm_test.cc
#include "tensorflow/core/graph/algorithm.h" #include <algorithm> #include <deque> #include <vector> #include "tensorflow/core/platform/logging.h" namespace tensorflow { namespace { template <typename T> void DFSFromHelper(const Graph& g, gtl::ArraySlice<T> start, const std::function<void(T)>& enter,...
#include "tensorflow/core/graph/algorithm.h" #include <string> #include <vector> #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/common_runtime/graph_def_builder_util.h" #include "tensorflow/core/graph/benchmark_testlib.h" #include "tensorflow/core/graph/graph.h" #include "tensor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/algorithm.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/algorithm_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f32ec9fc-38c2-4fba-b539-b8d6306a2b4b
cpp
tensorflow/tensorflow
slice
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/slice.cc
tensorflow/lite/delegates/xnnpack/slice_test.cc
#include "tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/slice.h" #include <cstdint> #include "llvm/ADT/STLExtras.h" #include "llvm/Support/Casting.h" #include "mlir/Dialect/Arith/IR/Arith.h" #include "mlir/IR/Builders.h" #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/Builti...
#include <cstdint> #include <functional> #include <memory> #include <numeric> #include <random> #include <utility> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/delegates/xnnpack/slice_tester.h" #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/slice.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/slice_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
81478791-4647-44ad-a8fe-a105c9dcf9ae
cpp
tensorflow/tensorflow
heap_simulator
third_party/xla/xla/service/heap_simulator/heap_simulator.cc
third_party/xla/xla/service/heap_simulator/heap_simulator_test.cc
#include "xla/service/heap_simulator/heap_simulator.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <cstdlib> #include <functional> #include <iterator> #include <limits> #include <list> #include <memory> #include <numeric> #include <optional> #include <ostream> #include <string> #include <tuple> ...
#include "xla/service/heap_simulator/heap_simulator.h" #include <cstdint> #include <functional> #include <memory> #include <optional> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/inlined_vector.h" #include "absl/strings/str_fo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/heap_simulator/heap_simulator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/heap_simulator/heap_simulator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
34bec701-5df1-4e9b-812d-9acf51c7d7b9
cpp
tensorflow/tensorflow
graphcycles
third_party/xla/xla/service/graphcycles/graphcycles.cc
third_party/xla/xla/service/graphcycles/graphcycles_test.cc
#include "xla/service/graphcycles/graphcycles.h" #include <algorithm> #include <cstddef> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "absl/types/span.h" #include "xla/service/graphcycles/ordered_set.h" #i...
#include "xla/service/graphcycles/graphcycles.h" #include <cstdint> #include <optional> #include <random> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/random/random.h" #include "tsl/platform/logging.h" #include "tsl/platform/test.h" #include "tsl/platform/test_benchmark.h" typedef std::vec...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/graphcycles/graphcycles.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/graphcycles/graphcycles_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1c5201c2-01d4-4a96-b235-4a452e3fa598
cpp
tensorflow/tensorflow
semantic_version
third_party/xla/xla/stream_executor/semantic_version.cc
third_party/xla/xla/stream_executor/semantic_version_test.cc
#include "xla/stream_executor/semantic_version.h" #include <string> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/numbers.h" #include "absl/strings/str_format.h" #include "absl/strings/str_split.h" #include "absl/strings/string_view.h" #include "tsl/platform/...
#include "xla/stream_executor/semantic_version.h" #include <algorithm> #include <array> #include <sstream> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/hash/hash_testing.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/stri...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/semantic_version.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/semantic_version_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8deb721c-2e7b-42dd-ac52-c0f6e048c817
cpp
tensorflow/tensorflow
executor_cache
third_party/xla/xla/stream_executor/executor_cache.cc
third_party/xla/xla/stream_executor/executor_cache_test.cc
#include "xla/stream_executor/executor_cache.h" #include <memory> #include <utility> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_format.h" #include "absl/synchronization/mutex.h" #include "xla/stream_executor/stream_executor.h" #include "tsl/platform/logging.h" #include ...
#include "xla/stream_executor/executor_cache.h" #include <memory> #include "absl/log/log.h" #include "xla/stream_executor/mock_stream_executor.h" #include "xla/stream_executor/stream.h" #include "tsl/platform/statusor.h" #include "tsl/platform/test.h" namespace stream_executor { namespace { TEST(ExecutorCacheTest, GetO...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/executor_cache.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/executor_cache_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
baa74cd6-fc3c-4f7b-8b1c-93eae8b57fad
cpp
tensorflow/tensorflow
stream_finder
third_party/xla/xla/stream_executor/stream_finder.cc
third_party/xla/xla/stream_executor/stream_finder_test.cc
#include "xla/stream_executor/stream_finder.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "xla/stream_executor/platform.h" #include "xla/stream_executor/stream.h" #include "xla/stream_executor/stream_executor.h" namespace stream_executor { absl::StatusOr<Stream*> FindStream(Platform* pla...
#include "xla/stream_executor/stream_finder.h" #include "absl/status/status.h" #include "xla/stream_executor/mock_platform.h" #include "xla/stream_executor/mock_stream.h" #include "xla/stream_executor/mock_stream_executor.h" #include "xla/test.h" #include "tsl/platform/statusor.h" #include "tsl/platform/test.h" using t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/stream_finder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/stream_finder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5680cdf5-915e-4052-877f-c155631c5ca6
cpp
tensorflow/tensorflow
device_description
third_party/xla/xla/stream_executor/device_description.cc
third_party/xla/xla/stream_executor/device_description_test.cc
#include "xla/stream_executor/device_description.h" #include <cstdint> #include <string> #include <variant> #include "xla/stream_executor/device_description.pb.h" #include "xla/stream_executor/launch_dim.h" #include "xla/tsl/lib/math/math_util.h" #include "tsl/platform/logging.h" namespace stream_executor { DeviceDescr...
#include "xla/stream_executor/device_description.h" #include "xla/stream_executor/semantic_version.h" #include "tsl/platform/test.h" namespace stream_executor { namespace { TEST(DeviceDescription, DefaultConstruction) { DeviceDescription desc; EXPECT_EQ(desc.device_address_bits(), -1); EXPECT_EQ(desc.device_memor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/device_description.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/device_description_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3e320629-eb4a-45d7-99a1-6485f30cd69f
cpp
tensorflow/tensorflow
dnn
third_party/xla/xla/stream_executor/dnn.cc
third_party/xla/xla/stream_executor/dnn_test.cc
#include "xla/stream_executor/dnn.h" #include <Eigen/Core> #include <algorithm> #include <complex> #include <cstddef> #include <cstdint> #include <iterator> #include <memory> #include <optional> #include <ostream> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "abs...
#include "xla/stream_executor/dnn.h" #include <tuple> #include <vector> #include "tsl/platform/test.h" namespace stream_executor { namespace { TEST(DnnTest, AlgorithmDescToString) { dnn::AlgorithmDesc desc(17, {{12, 1}, {1, 0}, {3, 1}}, 0); EXPECT_EQ(desc.ToString(), "eng17{k1=0,k3=1,k12=1}"); } TEST(DnnTest, Versi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/dnn.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/dnn_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ebe25b54-ad49-46c8-a552-3bfae8fe7623
cpp
tensorflow/tensorflow
device_memory_handle
third_party/xla/xla/stream_executor/device_memory_handle.cc
third_party/xla/xla/stream_executor/device_memory_handle_test.cc
#include "xla/stream_executor/device_memory_handle.h" #include <utility> #include "xla/stream_executor/device_memory.h" #include "xla/stream_executor/stream_executor.h" namespace stream_executor { DeviceMemoryHandle::DeviceMemoryHandle(StreamExecutor *executor, DeviceMemoryBase me...
#include "xla/stream_executor/device_memory_handle.h" #include <utility> #include "xla/stream_executor/device_memory.h" #include "xla/stream_executor/mock_stream_executor.h" #include "tsl/platform/test.h" namespace stream_executor { namespace { TEST(DeviceMemoryHandle, NullMemoryNoDeallocate) { DeviceMemoryBase null_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/device_memory_handle.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/device_memory_handle_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e022bc24-e0e7-4a97-befe-c3cdf0fbf2d6
cpp
tensorflow/tensorflow
kernel
tensorflow/lite/delegates/flex/kernel.cc
tensorflow/lite/delegates/flex/kernel_test.cc
#include "tensorflow/lite/delegates/flex/kernel.h" #include <algorithm> #include <map> #include <memory> #include <set> #include <string> #include <utility> #include <vector> #include "flatbuffers/flexbuffers.h" #include "tensorflow/core/common_runtime/eager/context.h" #include "tensorflow/core/framework/node_def.pb....
#include "tensorflow/lite/delegates/flex/kernel.h" #include <functional> #include <initializer_list> #include <memory> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/flex/delegate.h" #include "tensorflow/lite/delegates/flex/delegate_data.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/flex/kernel.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/flex/kernel_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d81c2368-f61b-45b4-9f04-9d2cbe7d1611
cpp
tensorflow/tensorflow
gpu_cudamallocasync_allocator
third_party/xla/xla/stream_executor/gpu/gpu_cudamallocasync_allocator.cc
third_party/xla/xla/stream_executor/gpu/gpu_cudamallocasync_allocator_test.cc
#include "xla/stream_executor/gpu/gpu_cudamallocasync_allocator.h" #include <algorithm> #include <atomic> #include <cstddef> #include <cstdint> #include <cstring> #include <map> #include <memory> #include <optional> #include <string> #include <vector> #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h"...
#include "xla/stream_executor/gpu/gpu_cudamallocasync_allocator.h" #include <cstdint> #include <memory> #include <string> #include "absl/log/check.h" #include "absl/strings/ascii.h" #include "xla/service/platform_util.h" #include "xla/stream_executor/gpu/gpu_stream.h" #include "xla/stream_executor/platform.h" #include ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/gpu/gpu_cudamallocasync_allocator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/gpu/gpu_cudamallocasync_allocator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
59a59525-5523-4242-bd39-1cd2892685de
cpp
tensorflow/tensorflow
redzone_allocator
third_party/xla/xla/stream_executor/gpu/redzone_allocator.cc
third_party/xla/xla/stream_executor/gpu/redzone_allocator_test.cc
#include "xla/stream_executor/gpu/redzone_allocator.h" #include <algorithm> #include <array> #include <cstdint> #include <cstring> #include <memory> #include <string> #include <utility> #include "absl/container/fixed_array.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include...
#include "xla/stream_executor/gpu/redzone_allocator.h" #include <cstdint> #include <vector> #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "xla/stream_executor/device_memory.h" #include "xla/stream_executor/device_memory_allocator.h" #include "xla/stre...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/gpu/redzone_allocator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/gpu/redzone_allocator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
85cb7bf6-0fd4-4357-9ecf-51f39358593e
cpp
tensorflow/tensorflow
scoped_activate_context
third_party/xla/xla/stream_executor/gpu/scoped_activate_context.cc
third_party/xla/xla/stream_executor/gpu/scoped_activate_context_test.cc
#include "xla/stream_executor/gpu/scoped_activate_context.h" #include "absl/log/check.h" #include "xla/stream_executor/gpu/context.h" #include "xla/stream_executor/gpu/gpu_executor.h" #include "xla/stream_executor/stream_executor.h" #include "tsl/platform/logging.h" namespace stream_executor::gpu { namespace { thread_l...
#include "xla/stream_executor/gpu/scoped_activate_context.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/stream_executor/gpu/mock_context.h" #include "tsl/platform/env.h" #include "tsl/platform/test.h" #include "tsl/platform/threadpool.h" using testing::Return; namespace stream_executor::gpu { names...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/gpu/scoped_activate_context.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/gpu/scoped_activate_context_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3d22aa2e-b468-4a33-978f-ded15f042652
cpp
tensorflow/tensorflow
gpu_command_buffer
third_party/xla/xla/stream_executor/gpu/gpu_command_buffer.cc
third_party/xla/xla/stream_executor/gpu/gpu_command_buffer_test.cc
#include "xla/stream_executor/gpu/gpu_command_buffer.h" #include <array> #include <atomic> #include <cstddef> #include <cstdint> #include <memory> #include <string> #include <string_view> #include <utility> #include <vector> #if GOOGLE_CUDA #include "third_party/gpus/cuda/include/cuda.h" #endif #include "absl/container...
#include "xla/stream_executor/gpu/gpu_command_buffer.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <vector> #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/strings/ascii.h" #include "xla/service/platform_util.h" #include "xla/stream_executor/command_buffer.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/gpu/gpu_command_buffer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/gpu/gpu_command_buffer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
93741d2a-fa68-4282-bf83-455ca44616e7
cpp
tensorflow/tensorflow
host_stream
third_party/xla/xla/stream_executor/host/host_stream.cc
third_party/xla/xla/stream_executor/host/host_stream_test.cc
#include "xla/stream_executor/host/host_stream.h" #include <string.h> #include <cfenv> #include <cstdint> #include <memory> #include <queue> #include <utility> #include "absl/functional/any_invocable.h" #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/synchronization/mutex.h" #include "absl/...
#include "absl/status/status.h" #include "absl/synchronization/mutex.h" #include "xla/stream_executor/platform.h" #include "xla/stream_executor/platform_manager.h" #include "xla/stream_executor/stream.h" #include "xla/stream_executor/stream_executor.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tsl/platfo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/host/host_stream.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/host/host_stream_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
80165efb-1f70-430b-8c0d-87f23ff2fefc
cpp
tensorflow/tensorflow
host_kernel
third_party/xla/xla/stream_executor/host/host_kernel.cc
third_party/xla/xla/stream_executor/host/host_kernel_test.cc
#include "xla/stream_executor/host/host_kernel.h" #include <atomic> #include <cstddef> #include <cstdint> #include <memory> #include <new> #include <utility> #include "absl/base/optimization.h" #include "absl/base/thread_annotations.h" #include "absl/container/inlined_vector.h" #include "absl/status/status.h" #include ...
#include "xla/stream_executor/host/host_kernel.h" #include <atomic> #include <cstddef> #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/status/statusor.h" #include "absl/strings/match.h" #include "absl/types/span.h" #include "xla/stream_executor/device_memory.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/host/host_kernel.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/host/host_kernel_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
67d9e88d-80b3-4696-a5ac-0ca0737cf6fa
cpp
tensorflow/tensorflow
cuda_collectives
third_party/xla/xla/stream_executor/cuda/cuda_collectives.cc
third_party/xla/xla/stream_executor/cuda/cuda_collectives_test.cc
#include "xla/stream_executor/cuda/cuda_collectives.h" #include <cstdint> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_format.h" #include "third_party/nccl/nccl.h" #include "xla/stream_executor/gpu/context.h" #include "xla/stream_executor/gpu/scoped_activate_context.h" #i...
#include "xla/stream_executor/cuda/cuda_collectives.h" #include <cstddef> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/service/gpu/runtime/nccl_api.h" #include "xla/stream_executor/gpu/gpu_executor.h" #include "xla/stream_executor/platform.h" #include "xla/stream_executor/platform_manager.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_collectives.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_collectives_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
603e6420-5efb-4b8e-9e71-70db41222d1d
cpp
tensorflow/tensorflow
cuda_kernel
third_party/xla/xla/stream_executor/cuda/cuda_kernel.cc
third_party/xla/xla/stream_executor/cuda/cuda_kernel_test.cc
#include "xla/stream_executor/cuda/cuda_kernel.h" #include <cstddef> #include <cstdint> #include "absl/log/log.h" #include "absl/status/statusor.h" #include "xla/stream_executor/gpu/gpu_driver.h" #include "xla/stream_executor/launch_dim.h" namespace stream_executor { namespace gpu { absl::StatusOr<int32_t> CudaKernel::...
#include "xla/stream_executor/cuda/cuda_kernel.h" #include <gtest/gtest.h> #include "third_party/gpus/cuda/include/cuda.h" #include "xla/stream_executor/cuda/cuda_runtime.h" #include "xla/stream_executor/gpu/gpu_executor.h" #include "xla/stream_executor/gpu/gpu_test_kernels.h" #include "xla/stream_executor/launch_dim.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_kernel.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_kernel_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
504bdc2c-48c0-44c6-9489-d2383b5d9d67
cpp
tensorflow/tensorflow
cuda_platform
third_party/xla/xla/stream_executor/cuda/cuda_platform.cc
third_party/xla/xla/stream_executor/cuda/cuda_platform_test.cc
#include "xla/stream_executor/cuda/cuda_platform.h" #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 "xla/stream_executor/cuda/cuda_executor.h" #include "xla/stream_executor/cuda/cuda_p...
#include "xla/stream_executor/cuda/cuda_platform.h" #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "xla/stream_executor/platform.h" #include "xla/stream_executor/platform_manager.h" #include "tsl/platform/statusor.h" #include "tsl/platform/test.h" namespace stream_executor::gpu { namespace ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_platform.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_platform_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c4ea70b1-9d47-4f07-af1c-0c17c795a89a
cpp
tensorflow/tensorflow
cuda_executor
third_party/xla/xla/stream_executor/cuda/cuda_executor.cc
third_party/xla/xla/stream_executor/cuda/cuda_executor_test.cc
#include "xla/stream_executor/cuda/cuda_executor.h" #include <cstddef> #include <cstdint> #include <cstdio> #include <cstdlib> #include <memory> #include <optional> #include <string> #include <tuple> #include <utility> #include <variant> #include "absl/log/check.h" #include "absl/numeric/int128.h" #include "absl/status...
#include "xla/stream_executor/cuda/cuda_executor.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/stream_executor/device_description.h" #include "xla/stream_executor/gpu/gpu_driver.h" #include "xla/stream_executor/semantic_version.h" #include "xla/tsl/lib/core/status_test_util.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_executor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_executor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
420151f8-c17c-4762-bc14-ceeecde6a1bc
cpp
tensorflow/tensorflow
cuda_version_parser
third_party/xla/xla/stream_executor/cuda/cuda_version_parser.cc
third_party/xla/xla/stream_executor/cuda/cuda_version_parser_test.cc
#include "xla/stream_executor/cuda/cuda_version_parser.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "xla/stream_executor/semantic_version.h" namespace stream_executor { absl::StatusOr<SemanticVersion> ParseCudaVersion(int cuda_version) { if (cuda_version < 0) { return absl::Invali...
#include "xla/stream_executor/cuda/cuda_version_parser.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "xla/stream_executor/semantic_version.h" #include "tsl/platform/status_matchers.h" #include "tsl/platform/test.h" namespace stream_executor { namespace { using tsl::testin...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_version_parser.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_version_parser_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5fda2d8d-3b4a-4536-afb2-12c1cb9ba632
cpp
tensorflow/tensorflow
cuda_driver
third_party/xla/xla/stream_executor/cuda/cuda_driver.cc
third_party/xla/xla/stream_executor/cuda/cuda_driver_test.cc
#include "xla/stream_executor/cuda/cuda_driver.h" #include <stdint.h> #include <stdlib.h> #include <cstdint> #include <cstdlib> #include <cstring> #include <new> #include <string> #include <utility> #include <variant> #include <vector> #include "absl/base/casts.h" #include "absl/container/inlined_vector.h" #include "ab...
#include "xla/stream_executor/cuda/cuda_driver.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/cleanup/cleanup.h" #include "absl/log/log.h" #include "third_party/gpus/cuda/include/cuda.h" #include "third_party/gpus/cuda/include/cuda_runtime_api.h" #include "third_party/gpus/cuda/include/driver_types...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_driver.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_driver_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
573867bc-7633-461e-a4f3-a42efd5de27b
cpp
tensorflow/tensorflow
tf_allocator_adapter
third_party/xla/xla/stream_executor/integrations/tf_allocator_adapter.cc
third_party/xla/xla/stream_executor/integrations/tf_allocator_adapter_test.cc
#include "xla/stream_executor/integrations/tf_allocator_adapter.h" #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "xla/stream_executor/device_memory.h" #include "xla/stream_executor/device_memory_allocator.h" #include "xla/stream_...
#include "xla/stream_executor/integrations/tf_allocator_adapter.h" #include <cstddef> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/container/node_hash_set.h" #include "absl/log/check.h" #include "xla/service/platform_util.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/integrations/tf_allocator_adapter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/integrations/tf_allocator_adapter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4e622bdc-263a-4543-afca-fcd327a73a35
cpp
tensorflow/tensorflow
sycl_platform
third_party/xla/xla/stream_executor/sycl/sycl_platform.cc
third_party/xla/xla/stream_executor/sycl/sycl_platform_test.cc
#include "xla/stream_executor/sycl/sycl_platform.h" #include <algorithm> #include <cstdlib> #include <cstring> #include <memory> #include <string> #include <utility> #include "absl/base/call_once.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #...
#include "xla/stream_executor/platform.h" #include "xla/stream_executor/platform_manager.h" #include "tsl/platform/statusor.h" #include "tsl/platform/test.h" namespace stream_executor { namespace gpu { static Platform* NewPlatform() { Platform* platform = PlatformManager::PlatformWithName("SYCL").value(); return pl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/sycl/sycl_platform.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/sycl/sycl_platform_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d372ca5e-0ee3-4c33-b46f-25c5dac29903
cpp
tensorflow/tensorflow
rocm_kernel
third_party/xla/xla/stream_executor/rocm/rocm_kernel.cc
third_party/xla/xla/stream_executor/rocm/rocm_kernel_test.cc
#include "xla/stream_executor/rocm/rocm_kernel.h" #include <cstddef> #include <cstdint> #include "absl/log/log.h" #include "absl/status/statusor.h" #include "xla/stream_executor/gpu/gpu_driver.h" #include "xla/stream_executor/launch_dim.h" namespace stream_executor { namespace gpu { absl::StatusOr<int32_t> RocmKernel::...
#include "xla/stream_executor/rocm/rocm_kernel.h" #include <gtest/gtest.h> #include "rocm/include/hip/hip_runtime.h" #include "xla/stream_executor/gpu/gpu_executor.h" #include "xla/stream_executor/gpu/gpu_test_kernels.h" #include "xla/stream_executor/launch_dim.h" #include "xla/stream_executor/platform.h" #include "xla...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/rocm/rocm_kernel.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/rocm/rocm_kernel_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6479cac6-c669-44ce-a8f3-f49af593b676
cpp
tensorflow/tensorflow
rocm_version_parser
third_party/xla/xla/stream_executor/rocm/rocm_version_parser.cc
third_party/xla/xla/stream_executor/rocm/rocm_version_parser_test.cc
#include "xla/stream_executor/rocm/rocm_version_parser.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "xla/stream_executor/semantic_version.h" namespace stream_executor { absl::StatusOr<SemanticVersion> ParseRocmVersion(int rocm_version) { if (rocm_version < 0) { return absl::Invali...
#include "xla/stream_executor/rocm/rocm_version_parser.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "rocm/include/hip/hip_version.h" #include "xla/stream_executor/semantic_version.h" #include "tsl/platform/status_matchers.h" #include "tsl/platform/test.h" namespace strea...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/rocm/rocm_version_parser.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/rocm/rocm_version_parser_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
27547f78-99c7-49cb-aa5f-2a5f143d52a0
cpp
tensorflow/tensorflow
rocm_executor
third_party/xla/xla/stream_executor/rocm/rocm_executor.cc
third_party/xla/xla/stream_executor/rocm/rocm_executor_test.cc
#include "xla/stream_executor/rocm/rocm_executor.h" #include <unistd.h> #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <variant> #include "absl/base/casts.h" #include "absl/functional/any_invocable.h" #include "absl/numeric/int128.h" #include "a...
#include "xla/stream_executor/rocm/rocm_executor.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tsl/platform/status_matchers.h" #include "tsl/platform/test.h" namespace stream_executor::gpu { namespace { using testing::Field; using testing::Ge; using testing::IsEmpty; using testing::Not; using testing::...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/rocm/rocm_executor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/rocm/rocm_executor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0337c7e9-779f-4dc9-ab9f-7dca89e9e980
cpp
tensorflow/tensorflow
c_api_conversions
third_party/xla/xla/stream_executor/tpu/c_api_conversions.cc
third_party/xla/xla/stream_executor/tpu/c_api_conversions_test.cc
#include "xla/stream_executor/tpu/c_api_conversions.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <memory> #include <utility> #include <vector> #include "absl/container/inlined_vector.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/layout.h" #include "xla/litera...
#include "xla/stream_executor/tpu/c_api_conversions.h" #include <cstddef> #include <cstdint> #include <memory> #include <string> #include <vector> #include <gtest/gtest.h> #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/executable_run_options.h" #includ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/tpu/c_api_conversions.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/tpu/c_api_conversions_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
38bacd4d-da84-44e2-a7b8-67bd2578d95b
cpp
tensorflow/tensorflow
file_system
third_party/xla/third_party/tsl/tsl/platform/file_system.cc
tensorflow/core/platform/file_system_test.cc
#include "tsl/platform/file_system.h" #include <sys/stat.h> #include <algorithm> #include <deque> #include <string> #include <utility> #include <vector> #include "tsl/platform/status.h" #if defined(PLATFORM_POSIX) || defined(IS_MOBILE_PLATFORM) || \ defined(PLATFORM_GOOGLE) #include <fnmatch.h> #else #include "tsl/...
#include "tensorflow/core/platform/file_system.h" #include <sys/stat.h> #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/null_file_system.h" #include "tensorflow/core/platform/path.h" #include "tensorflow/core/platform/str_util.h" #include "tensorflow/core/platform/strcat.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/file_system.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/platform/file_system_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8a284c9a-cb16-42f0-bc10-a7d4c1d598ae
cpp
tensorflow/tensorflow
str_util
third_party/xla/third_party/tsl/tsl/platform/str_util.cc
third_party/xla/third_party/tsl/tsl/platform/str_util_test.cc
#include "tsl/platform/str_util.h" #include <cctype> #include <cstdint> #include <string> #include "absl/strings/ascii.h" #include "tsl/platform/logging.h" #include "tsl/platform/stringpiece.h" namespace tsl { namespace str_util { size_t RemoveLeadingWhitespace(absl::string_view* text) { absl::string_view new_text = ...
#include "tsl/platform/str_util.h" #include <vector> #include "tsl/platform/test.h" namespace tsl { TEST(CEscape, Basic) { EXPECT_EQ(absl::CEscape("hello"), "hello"); EXPECT_EQ(absl::CEscape("hello\n"), "hello\\n"); EXPECT_EQ(absl::CEscape("hello\r"), "hello\\r"); EXPECT_EQ(absl::CEscape("\t\r\"'"), "\\t\\r\\\"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/str_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/str_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c4be1bae-1373-4467-bcc5-68d232ece85f
cpp
tensorflow/tensorflow
errors
third_party/xla/third_party/tsl/tsl/platform/errors.cc
third_party/xla/third_party/tsl/tsl/platform/errors_test.cc
#include "tsl/platform/errors.h" #include <errno.h> #include <string.h> #include "tsl/platform/status.h" #include "tsl/platform/strcat.h" namespace tsl { namespace errors { namespace { absl::StatusCode ErrnoToCode(int err_number) { absl::StatusCode code; switch (err_number) { case 0: code = absl::StatusCo...
#include "tsl/platform/errors.h" #include "absl/status/status.h" #include "tsl/platform/test.h" namespace tsl { TEST(AppendToMessageTest, PayloadsAreCopied) { absl::Status status = errors::Aborted("Aborted Error Message"); status.SetPayload("payload_key", absl::Cord("payload_value")); errors::AppendToMessage(&sta...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/errors.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/errors_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9cd56c00-f971-453e-acfd-2b230713e4ec
cpp
tensorflow/tensorflow
status
third_party/xla/third_party/tsl/tsl/platform/status.cc
tensorflow/core/lib/core/status_test.cc
#include "tsl/platform/status.h" #include <stdio.h> #include <deque> #include <functional> #include <memory> #include <ostream> #include <sstream> #include <string> #include <unordered_map> #include <utility> #include <vector> #include "absl/base/call_once.h" #include "absl/functional/function_ref.h" #include "absl/sta...
#include "tensorflow/core/lib/core/status.h" #include "absl/strings/match.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/test_benchmark.h" namespace tensorflow { TEST(Status, OK) { EXP...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/status.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/lib/core/status_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4e3b1365-8dff-460a-9cc1-436efbb0f2a9
cpp
tensorflow/tensorflow
path
third_party/xla/third_party/tsl/tsl/platform/path.cc
third_party/xla/third_party/tsl/tsl/platform/path_test.cc
#include "tsl/platform/path.h" #include <errno.h> #include <fcntl.h> #include <stdlib.h> #include <sys/stat.h> #include <sys/types.h> #if defined(PLATFORM_WINDOWS) #include <windows.h> #else #include <unistd.h> #endif #include <string> #include <vector> #include "absl/algorithm/container.h" #include "tsl/platform/loggi...
#include "tsl/platform/path.h" #include <string> #include "tsl/platform/env.h" #include "tsl/platform/stringpiece.h" #include "tsl/platform/test.h" namespace tsl { namespace io { TEST(PathTest, JoinPath) { EXPECT_EQ("/foo/bar", JoinPath("/foo", "bar")); EXPECT_EQ("foo/bar", JoinPath("foo", "bar")); EXPECT_EQ("foo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/path.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/path_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
986d4332-9393-4e1e-9d83-25ea2e3f208e
cpp
tensorflow/tensorflow
cpu_info
third_party/xla/third_party/tsl/tsl/platform/cpu_info.cc
third_party/xla/third_party/tsl/tsl/platform/cpu_info_test.cc
#include "tsl/platform/cpu_info.h" #include "absl/base/call_once.h" #include "tsl/platform/logging.h" #include "tsl/platform/platform.h" #include "tsl/platform/types.h" #if defined(PLATFORM_IS_X86) #include <mutex> #endif #if defined(PLATFORM_IS_ARM64) && !defined(__APPLE__) && !defined(__OpenBSD__) #include <sys/aux...
#include "tsl/platform/cpu_info.h" #include "tsl/platform/test.h" namespace tsl { TEST(CPUInfo, CommonX86CPU) { if (port::TestCPUFeature(port::CPUFeature::SSE)) { EXPECT_TRUE(port::IsX86CPU()); } } TEST(CPUInfo, Aarch64NeoverseV1CPU) { if (port::TestAarch64CPU(port::Aarch64CPU::ARM_NEOVERSE_V1)) { EXPECT_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/cpu_info.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/cpu_info_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
172d4993-1731-40c0-8561-33d46cf51e04
cpp
tensorflow/tensorflow
hash
third_party/xla/third_party/tsl/tsl/platform/hash.cc
third_party/xla/third_party/tsl/tsl/platform/hash_test.cc
#include "tsl/platform/hash.h" #include <string.h> #include "tsl/platform/macros.h" #include "tsl/platform/raw_coding.h" #include "tsl/platform/types.h" namespace tsl { static inline uint32 ByteAs32(char c) { return static_cast<uint32>(c) & 0xff; } static inline uint64 ByteAs64(char c) { return static_cast<uint64>(c) &...
#include <map> #include <unordered_map> #include <vector> #include "tsl/platform/hash.h" #include "tsl/platform/logging.h" #include "tsl/platform/test.h" #include "tsl/platform/test_benchmark.h" namespace tsl { TEST(Hash, SignedUnsignedIssue) { const unsigned char d1[1] = {0x62}; const unsigned char d2[2] = {0xc3, ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/hash.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/hash_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f8e0291d-db3d-484b-b823-43c245721dd8
cpp
tensorflow/tensorflow
resource_loader
third_party/xla/third_party/tsl/tsl/platform/resource_loader.cc
tensorflow/core/platform/resource_loader_test.cc
#include "tsl/platform/resource_loader.h" #include <cstdlib> #include <string> #include "tsl/platform/logging.h" #include "tsl/platform/path.h" #include "tsl/platform/platform.h" #include "tsl/platform/test.h" namespace tsl { std::string GetDataDependencyFilepath(const std::string& relative_path) { const char* srcdir...
#include "tensorflow/core/platform/resource_loader.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/path.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { string DataD...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/resource_loader.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/platform/resource_loader_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
41a0de0d-5b77-42f1-b0a6-d12353b7ed28
cpp
tensorflow/tensorflow
status_matchers
third_party/xla/third_party/tsl/tsl/platform/status_matchers.cc
third_party/xla/third_party/tsl/tsl/platform/status_matchers_test.cc
#include "tsl/platform/status_matchers.h" #include <ostream> #include <string> #include "tsl/platform/status.h" #include "tsl/platform/test.h" #include "tsl/protobuf/error_codes.pb.h" namespace tsl { namespace testing { namespace internal_status { void StatusIsMatcherCommonImpl::DescribeTo(std::ostream* os) const { *...
#include "tsl/platform/status_matchers.h" #include <sstream> #include <string> #include <vector> #include "tsl/platform/errors.h" #include "tsl/platform/status.h" #include "tsl/platform/statusor.h" #include "tsl/platform/test.h" #include "tsl/protobuf/error_codes.pb.h" namespace tsl { namespace testing { namespace { us...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/status_matchers.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/status_matchers_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4daa7986-e5a3-4e28-88cf-081ff1871723
cpp
tensorflow/tensorflow
setround
third_party/xla/third_party/tsl/tsl/platform/setround.cc
third_party/xla/third_party/tsl/tsl/platform/setround_test.cc
#include "tsl/platform/setround.h" #include "tsl/platform/logging.h" namespace tsl { namespace port { #if defined(TF_BROKEN_CFENV) ScopedSetRound::ScopedSetRound(const int mode) : original_mode_(mode) { DCHECK_EQ(mode, FE_TONEAREST); } ScopedSetRound::~ScopedSetRound() {} #else ScopedSetRound::ScopedSetRound(const in...
#include "tsl/platform/setround.h" #include <cmath> #include "tsl/platform/test.h" #if !defined(__clang__) || !defined(__OPTIMIZE__) namespace tsl { namespace { void CheckDownward() { EXPECT_EQ(12, std::nearbyint(12.0)); EXPECT_EQ(12, std::nearbyint(12.1)); EXPECT_EQ(-13, std::nearbyint(-12.1)); EXPECT_EQ(12, s...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/setround.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/setround_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
38a634d6-0df3-4df7-8bf8-cc745ad43372
cpp
tensorflow/tensorflow
abi
third_party/xla/third_party/tsl/tsl/platform/abi.cc
third_party/xla/third_party/tsl/tsl/platform/abi_test.cc
#include "tsl/platform/abi.h" #include "tsl/platform/types.h" #if defined(_MSC_VER) #include <windows.h> #include <cstring> #else #include <cxxabi.h> #include <cstdlib> #endif #include <memory> #include <string> #if defined(_MSC_VER) extern "C" char* __unDName(char* output_string, const char* name, ...
#include "tsl/platform/abi.h" #include <typeinfo> #include "tsl/platform/test.h" namespace tsl { struct MyRandomPODType {}; TEST(AbiTest, AbiDemangleTest) { EXPECT_EQ(port::MaybeAbiDemangle(typeid(int).name()), "int"); #ifdef PLATFORM_WINDOWS const char pod_type_name[] = "struct tsl::MyRandomPODType"; #else const...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/abi.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/abi_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7fc752cb-3193-459f-b0df-3863c1908434
cpp
tensorflow/tensorflow
threadpool
third_party/xla/third_party/tsl/tsl/platform/threadpool.cc
tensorflow/core/lib/core/threadpool_test.cc
#include "tsl/platform/threadpool.h" #define EIGEN_USE_THREADS #include "absl/types/optional.h" #include "unsupported/Eigen/CXX11/Tensor" #include "tsl/platform/blocking_counter.h" #include "tsl/platform/context.h" #include "tsl/platform/denormal.h" #include "tsl/platform/logging.h" #include "tsl/platform/mutex.h" #i...
#include "tensorflow/core/lib/core/threadpool.h" #include <atomic> #include <optional> #include "absl/synchronization/barrier.h" #include "absl/synchronization/blocking_counter.h" #include "absl/types/optional.h" #include "tensorflow/core/platform/context.h" #include "tensorflow/core/platform/env.h" #include "tensorflo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/threadpool.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/lib/core/threadpool_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
26622fdc-cf97-44a2-8a8a-26e4c1b2bad4
cpp
tensorflow/tensorflow
numbers
third_party/xla/third_party/tsl/tsl/platform/numbers.cc
third_party/xla/third_party/tsl/tsl/platform/numbers_test.cc
#include "tsl/platform/numbers.h" #include <ctype.h> #include <float.h> #include <stdio.h> #include <stdlib.h> #include <algorithm> #include <cinttypes> #include <cmath> #include <cstdint> #include <locale> #include <unordered_map> #include "double-conversion/double-conversion.h" #include "tsl/platform/str_util.h" #inc...
#include "tsl/platform/numbers.h" #include <cmath> #include <string> #include "tsl/platform/test.h" namespace tsl { namespace strings { TEST(FpToString, Ints) { for (int s = 0; s < 64; s++) { for (int delta = -1; delta <= 1; delta++) { uint64 fp = (1ull << s) + delta; string s = FpToString(fp); ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/numbers.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/numbers_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b22a5836-c249-40c3-848e-f8cb6f761433
cpp
tensorflow/tensorflow
random
tensorflow/compiler/tf2xla/lib/random.cc
third_party/xla/third_party/tsl/tsl/platform/random_test.cc
#include "tensorflow/compiler/tf2xla/lib/random.h" #include <cmath> #include <limits> #include "xla/client/lib/constants.h" #include "xla/client/lib/math.h" #include "xla/client/xla_builder.h" #include "xla/xla_data.pb.h" namespace tensorflow { xla::XlaOp TruncatedNormal(xla::XlaOp uniform) { const double kA = -2.0; ...
#include "tsl/platform/random.h" #include <set> #include "tsl/platform/test.h" #include "tsl/platform/types.h" namespace tsl { namespace random { namespace { TEST(New64Test, SanityCheck) { std::set<uint64> values; for (int i = 0; i < 1000000; i++) { uint64 x = New64(); EXPECT_TRUE(values.insert(x).second) <...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/tf2xla/lib/random.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/random_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
19afc211-8c06-4f02-9ab1-ee2b82b6cba1
cpp
tensorflow/tensorflow
strcat
third_party/xla/third_party/tsl/tsl/platform/strcat.cc
third_party/xla/third_party/tsl/tsl/platform/strcat_test.cc
#include "tsl/platform/strcat.h" #include <stdarg.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <algorithm> #include "absl/meta/type_traits.h" #include "tsl/platform/logging.h" namespace tsl { namespace strings { AlphaNum::AlphaNum(Hex hex) { char *const end = &digits_[kFastToBufferSize]; c...
#include "tsl/platform/strcat.h" #include <string> #include "absl/strings/string_view.h" #include "tsl/platform/stringprintf.h" #include "tsl/platform/test.h" #include "tsl/platform/types.h" #ifdef _MSC_VER typedef ptrdiff_t ssize_t; #endif namespace tsl { namespace strings { TEST(StrCat, Ints) { const int16_t s = -1...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/strcat.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/strcat_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea