Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for async_handle (0.13 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.td

      }];
    }
    
    def MlrtAsyncHandleType : DialectType<Mlrt_Dialect,
        CPred<"$_self.isa<::mlrt::compiler::AsyncHandleType>()">, "!mlrt.async_handle type">,
        BuildableType<"$_builder.getType<::mlrt::compiler::AsyncHandleType>()"> {
      let description = [{
        `!mlrt.async_handle type` represents a C++ mlrt::AsyncHandle.
      }];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

      if (parser.parseKeyword(&keyword)) return mlir::Type();
    
      if (keyword == "future") return FutureType::get(getContext());
      if (keyword == "promise") return PromiseType::get(getContext());
      if (keyword == "async_handle") return AsyncHandleType::get(getContext());
    
      parser.emitError(parser.getNameLoc(), "unknown type: ") << keyword;
      return mlir::Type();
    }
    
    // Print a type registered to this dialect.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

        {callee = @main_stream_0} :
        (tensor<i32>, !mlrt.promise) -> !mlrt.async_handle
      // CHECK: [[handle_1:%.*]] = mlrt.async([[input1]], [[promises]]#1, [[promises]]#2)
      // CHECK-SAME: callee = @main_stream_1
      %handle_1 = mlrt.async(%input1, %promise_c, %promise_d)
        {callee = @main_stream_1} :
        (tensor<i32>, !mlrt.promise, !mlrt.promise) -> !mlrt.async_handle
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top