Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for await_all_handle (0.12 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/mlrt/fuse_mlrt_ops.mlir

    // 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
      mlrt.await_handle %f0
      mlrt.await_handle %f1
      mlrt.await_handle %f2
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 07 23:57:30 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.td

        $handle: The handle returned by mlrt.async op.
      }];
    
      let arguments = (ins
        MlrtAsyncHandleType:$handle
      );
    
      let assemblyFormat = "operands attr-dict";
    }
    
    def AwaitAllHandleOp: Mlrt_Op<"await_all_handle", []> {
      let summary = "Awaits multiple async executions";
    
      let description = [{
        Awaits multiple async execution.
    
        $handles: A list of handles returned by mlrt.async ops.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top