- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for XLA_CPU_JIT (0.25 sec)
-
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc
static constexpr char kMlirToGraphCompilationCheckName[] = "mlir-to-graph-compilation-check"; // Use CPU arbitrarily in order to check that a graph compiles at all static constexpr char kArbitraryDeviceName[] = "XLA_CPU_JIT"; namespace { inline absl::string_view StringRefToView(llvm::StringRef ref) { return {ref.data(), ref.size()}; } } // namespace static OwningOpRef<mlir::ModuleOp> GraphdefToMlirTranslateFunction(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
ParseArgumentShapes(mlir::StringRefToView(input_shapes), arg_shapes); if (!args_status.ok()) { LOG(ERROR) << args_status; return mlir::failure(); } auto device_type = "XLA_CPU_JIT"; llvm::MutableArrayRef<std::unique_ptr<mlir::Pass>> custom_legalization_passes{}; XlaCompilationResult compilation_result; auto compilation_status = via_builder
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-prefer-tf2xla.mlir
// RUN: tf-opt "-xla-legalize-tf=device-type=XLA_CPU_JIT legalize-chlo=false use-tf2xla-fallback=true prefer-tf2xla=true" %s | FileCheck %s // RUN: tf-opt "-xla-legalize-tf=device-type=XLA_CPU_JIT legalize-chlo=false prefer-tf2xla=true" %s | FileCheck --check-prefix NOFALLBACK %s module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} { // CHECK-LABEL: @abs func.func @abs(%arg0: tensor<2xf32>) -> tensor<2xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device.h
// The name of the XLA device (e.g., "XLA_CPU") string device_name; // The number of the device. int device_ordinal = -1; // The name of the compilation device (e.g., "XLA_CPU_JIT"); string compilation_device_name; // If 'use_multiple_streams' is true, we create separate streams for // compute, host-to-device, and device-to-host communication. bool use_multiple_streams = false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc
absl::StatusOr<XlaCompiler::CompilationResult> compile_result = LegalizeMlirToHlo(function_to_hlo_args, metadata_proto, use_tuple_args, /*device_type=*/"XLA_CPU_JIT", custom_legalization_passes, /*shape_determination_fns=*/{}, arg_shapes, &arg_core_mapping, &per_core_arg_shapes, client);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 23:59:33 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir
// RUN: tf-opt "-xla-legalize-tf=device-type=XLA_CPU_JIT prefer-tf2xla=true use-tf2xla-fallback=true" %s -verify-diagnostics -mlir-disable-threading | FileCheck %s module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} { // CHECK-LABEL: binary_op func.func @binary_op(%arg0: tensor<2xf32>, %arg1: tensor<2xf32>) -> tensor<2xf32> { // CHECK: mhlo.atan2
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 38.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
"Convert TF dialect to HLO dialect (used for compilation in bridge).", [](mlir::OpPassManager& pm) { tensorflow::CreateConvertMlirToXlaHloPipeline( pm, /*device_type=*/"XLA_CPU_JIT", /*enable_op_fallback=*/false, /*custom_legalization_passes=*/{}); }); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
target.addIllegalOp<TF::XlaConvV2Op>(); target.addIllegalOp<TF::XlaGatherOp>(); RewritePatternSet patterns(context); mhlo::Tf2XlaTypeConverter converter; mhlo::PopulateLegalizeTfWithTf2XlaPatterns("XLA_CPU_JIT", patterns, context, converter); mhlo::PopulateLegalizeTfPatterns(context, &patterns); mlir::odml::PopulateLegalizeHloToTfPatterns(&patterns, context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0)