Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for recvs (0.08 sec)

  1. test/ken/chan.go

    	go sel(ca[0], ca[1], ca[2], ca[3], nc, nc, nc, nc)
    }
    
    // select send to direct recv
    func test3(c int) {
    	ca := mkchan(c, 4)
    
    	changeNproc(4)
    	go recv(ca[0])
    	go recv(ca[1])
    	go recv(ca[2])
    	go recv(ca[3])
    
    	changeNproc(1)
    	go sel(nc, nc, nc, nc, ca[0], ca[1], ca[2], ca[3])
    }
    
    // select send to select recv
    func test4(c int) {
    	ca := mkchan(c, 4)
    
    	changeNproc(2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td

        it always produces a valid output even when inputs are dead.
      }];
    
      let description = [{
        Its primary use so far is in the scheduling of recvs, where we add
        ControlTrigger nodes and use them to trigger recvs. We allow ControlTrigger
        nodes to be enabled by dead nodes.
      }];
    
      let arguments = (ins
        Variadic<TfeControlType>:$controlInputs
      );
      let results = (outs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 22K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. test/chan/select7.go

    	select {
    	case c <- 1:
    	}
    }
    
    func send3(recv func(<-chan int)) {
    	c := make(chan int)
    	go recv(c)
    	runtime.Gosched()
    	c2 := make(chan int)
    	select {
    	case c <- 1:
    	case c2 <- 1:
    	}
    }
    
    func main() {
    	send1(recv1)
    	send2(recv1)
    	send3(recv1)
    	send1(recv2)
    	send2(recv2)
    	send3(recv2)
    	send1(recv3)
    	send2(recv3)
    	send3(recv3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 932 bytes
    - Viewed (0)
  10. 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)
Back to top