- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for async_handle (0.23 sec)
-
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) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/fuse_mlrt_ops.mlir
func.return %t2, %t3 : !tf_mlrt.tensor, !tf_mlrt.tensor } // ----- // CHECK-LABEL: @main // CHECK-SAME: ([[f0:%.*]]: !mlrt.async_handle, [[f1:%.*]]: !mlrt.async_handle, [[f2:%.*]]: !mlrt.async_handle) func.func @main(%f0: !mlrt.async_handle, %f1: !mlrt.async_handle, %f2: !mlrt.async_handle) -> () { // CHECK-NEXT: mlrt.await_all_handle [[f0]], [[f1]], [[f2]] // CHECK-NOT: mlrt.await_handle // CHECK-NEXT: return
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 07 23:57:30 UTC 2023 - 3K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.h
}; // The MLIR type represents a C++ mlrt::AsyncHandle. class AsyncHandleType : public mlir::Type::TypeBase<AsyncHandleType, mlir::Type, mlir::TypeStorage> { public: using Base::Base; static constexpr mlir::StringLiteral name = "mlrt.compiler.async_handle"; }; } // namespace compiler } // namespace mlrt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 07:17:01 UTC 2023 - 2.3K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/parallelization.mlir
// CHECK: [[ASYNC_HANDLE_2:%.*]] = mlrt.async([[x]], [[FUTURE]]#1, [[CONTROL_PROMISE]]) // CHECK-SAME: callee = @main_stream_{{[0-9]*}} // CHECK: [[y:%.*]] = "tf_mlrt.tf_await"([[FUTURE]]#2) // CHECK: [[RES:%.*]] = "tf.AddV2"([[x]], [[y]]) // CHECK: mlrt.await_handle [[ASYNC_HANDLE_0]] // CHECK-NEXT: mlrt.await_handle [[ASYNC_HANDLE_1]] // CHECK-NEXT: mlrt.await_handle [[ASYNC_HANDLE_2]] // CHECK-NEXT: return [[RES]]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 22:07:30 UTC 2023 - 15K bytes - Viewed (0) -
src/log/slog/internal/benchmarks/handlers.go
// arbitrary number of Records without either blocking or allocation. type asyncHandler struct { ringBuffer [100]slog.Record next int } func newAsyncHandler() *asyncHandler { return &asyncHandler{} } func (*asyncHandler) Enabled(context.Context, slog.Level) bool { return true } func (h *asyncHandler) Handle(_ context.Context, r slog.Record) error { h.ringBuffer[h.next] = r.Clone()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 12 20:33:37 UTC 2023 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
*/ public boolean isAsyncHandled () { return this.asyncHandled; } /** * @param asyncHandled * the asyncHandled to set */ public void setAsyncHandled ( boolean asyncHandled ) { this.asyncHandled = asyncHandled; } /** * {@inheritDoc} *
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 7.4K bytes - Viewed (0)