Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 164 for recvs (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

        communication via send/recvs). In this case, users of ParallelExecute op
        must provide correct control dependencies between regions to guarantee
        correctness. Regions in ParallelExecute may include Resource ops.
    
        In the case where different regions include ops access the same resource,
        the users of the ParallelExecute op must provide mechanism (via send/recvs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/type.go

    // This can be used as the type of multi-valued call expressions.
    func (t *Type) ResultsTuple() *Type { return t.funcType().resultsTuple }
    
    // Recvs returns a slice of receiver parameters of signature type t.
    // The returned slice always has length 0 or 1.
    func (t *Type) Recvs() []*Field { return t.funcType().recvs() }
    
    // Params returns a slice of regular parameters of signature type t.
    func (t *Type) Params() []*Field { return t.funcType().params() }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

      auto recv =
          builder.create<RecvOp>(loc, recv_result_type, token, channel_handle,
                                 /*is_host_transfer=*/builder.getBoolAttr(true));
    
      SetFrontendAttributes(recv, index, key, result_type,
                            /*device_to_host=*/false, host_handler_name);
    
      SetOpSharding(recv, manual_sharding);
    
      result.replaceAllUsesWith(recv.getResult(0));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/fmt.go

    		}
    		if len(t.AllMethods()) != 0 {
    			b.WriteByte(' ')
    		}
    		b.WriteByte('}')
    
    	case TFUNC:
    		if verb == 'S' {
    			// no leading func
    		} else {
    			if t.Recv() != nil {
    				b.WriteString("method")
    				formatParams(b, t.Recvs(), mode, visited)
    				b.WriteByte(' ')
    			}
    			b.WriteString("func")
    		}
    		formatParams(b, t.Params(), mode, visited)
    
    		switch t.NumResults() {
    		case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/size.go

    	// function is 3 cated structures;
    	// compute their widths as side-effect.
    	case TFUNCARGS:
    		t1 := t.FuncArgs()
    		// TODO(mdempsky): Should package abi be responsible for computing argwid?
    		w = calcStructOffset(t1, t1.Recvs(), 0)
    		w = calcStructOffset(t1, t1.Params(), w)
    		w = RoundUp(w, int64(RegSize))
    		w = calcStructOffset(t1, t1.Results(), w)
    		w = RoundUp(w, int64(RegSize))
    		t1.extra.(*Func).Argwid = w
    		t.align = 1
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.cc

      // CPU tensor to GPU).
      // Setting a larger thread pool does not help with the Swift caller, as we use
      // a different TFE context for each thread of execution (for running graph
      // functions, and their send/recvs corountines).
      config.set_inter_op_parallelism_threads(1);
    
      TF_Buffer* ret = TF_NewBuffer();
      TF_CHECK_OK(MessageToBuffer(config, ret));
      return ret;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

        Node* recv1 = RecvAtHost(
            ops::NodeOut(key_constant, 0), "F1", "F1", "O1", {DT_FLOAT, DT_FLOAT},
            b2.opts().WithAttr(kXlaHasHostTransferAttrName, true));
        Node* e = Binary(ops::NodeOut(recv1, 0), ops::NodeOut(recv1, 1),
                         b2.opts()
                             .WithName("E")
                             .WithControlInputs({recv1})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/recv.go

    	"golang.org/x/tools/internal/aliases"
    )
    
    // ReceiverNamed returns the named type (if any) associated with the
    // type of recv, which may be of the form N or *N, or aliases thereof.
    // It also reports whether a Pointer was present.
    func ReceiverNamed(recv *types.Var) (isPtr bool, named *types.Named) {
    	t := recv.Type()
    	if ptr, ok := aliases.Unalias(t).(*types.Pointer); ok {
    		isPtr = true
    		t = ptr.Elem()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

        // CHECK:           %[[RECV0:.+]] = "tf._XlaRecvAtHost"(%[[PROGRAM0]])
        // CHECK-SAME:        device_ordinal = 0
        // CHECK-SAME:        key = "host_compute_channel_0_args"
        // CHECK-SAME:        _xla_has_host_transfer = true
        // CHECK:           %[[B0:.+]] = "tf.OpB"(%[[RECV0]]) : (tensor<2x2xi64>) -> tensor<2x2xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  10. src/runtime/chan.go

    			// we copy directly. Note that we need to increment
    			// the head/tail locations only when raceenabled.
    			racenotify(c, c.recvx, nil)
    			racenotify(c, c.recvx, sg)
    			c.recvx++
    			if c.recvx == c.dataqsiz {
    				c.recvx = 0
    			}
    			c.sendx = c.recvx // c.sendx = (c.sendx+1) % c.dataqsiz
    		}
    	}
    	if sg.elem != nil {
    		sendDirect(c.elemtype, sg, ep)
    		sg.elem = nil
    	}
    	gp := sg.g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top