Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for Cond (0.1 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

          const auto condition_send_recv_key =
              llvm::formatv("while_condition_channel_{0}",
                            communication_key_index++)
                  .str();
          auto& cond = host_while.getCond();
          cond.push_back(new Block);
          auto condition =
              while_op.getCond().front().getTerminator()->getOperand(0);
          builder.setInsertionPoint(while_op.getCond().front().getTerminator());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof_test.go

    `},
    		{
    			name: "cond",
    			f:    blockCond,
    			stk: []string{
    				"sync.(*Cond).Wait",
    				"runtime/pprof.blockCond",
    				"runtime/pprof.TestBlockProfile",
    			},
    			re: `
    [0-9]+ [0-9]+ @( 0x[[:xdigit:]]+)+
    #	0x[0-9a-f]+	sync\.\(\*Cond\)\.Wait\+0x[0-9a-f]+	.*sync/cond\.go:[0-9]+
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/deadness_analysis.cc

    //      Incr             |
    //       |               |
    //       v               |
    //      Switch <- Cond   |
    //       |               |
    //       v (oidx: 1)     |
    //       |               |
    //       +---------------+
    //
    // Where S is the predicate for Init and X is the predicate that asserts that
    // Cond is true.  {S,&,X} states that Merge is live on the first "iteration" iff
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

    TEST(XlaCompilationTest, DontClusterTheSpecialIdentityDrivingConstsInLoop) {
      Scope root = Scope::NewRootScope().ExitOnError();
    
      Output cond = ops::Placeholder(root.WithOpName("cond"), DT_BOOL);
      Output value = ops::Placeholder(root.WithOpName("value"), DT_FLOAT);
      Output loop_cond = ops::LoopCond(root.WithOpName("loop_cond"), cond);
      ops::Switch switch_node(root.WithOpName("switch"), value, loop_cond);
    
      Output identity =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/mark_for_compilation_pass.cc

        // That is, an Identity node in the loop cond computation is used to drive
        // const nodes consumed by the loop body.  If this Identity node goes into
        // the same cluster with nodes from the loop body, extra dependency is
        // created between the loop cond and body computations and it hinders the
        // progression of the loop cond computation at runtime with significant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  6. src/go/build/build.go

    		// Parse GOOS/GOARCH stuff.
    		f := strings.Fields(line)
    		if len(f) < 1 {
    			return fmt.Errorf("%s: invalid #cgo line: %s", filename, orig)
    		}
    
    		cond, verb := f[:len(f)-1], f[len(f)-1]
    		if len(cond) > 0 {
    			ok := false
    			for _, c := range cond {
    				if ctxt.matchAuto(c, nil) {
    					ok = true
    					break
    				}
    			}
    			if !ok {
    				continue
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	"istio.io/istio/pkg/util/sets"
    )
    
    const (
    	testService = "test"
    )
    
    // eventually polls cond until it completes (returns true) or times out (resulting in a test failure).
    func eventually(t test.Failer, cond func() bool) {
    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		if !cond() {
    			return fmt.Errorf("failed to get positive condition")
    		}
    		return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    	}
    	f.ruleMatches[key]++
    	return true
    }
    
    // warnRule generates compiler debug output with string s when
    // v is not in autogenerated code, cond is true and the rule has fired.
    func warnRule(cond bool, v *Value, s string) bool {
    	if pos := v.Pos; pos.Line() > 1 && cond {
    		v.Block.Func.Warnl(pos, s)
    	}
    	return true
    }
    
    // for a pseudo-op like (LessThan x), extract x.
    func flagArg(v *Value) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  9. src/go/printer/nodes.go

    		if s.Label != nil {
    			p.print(blank)
    			p.expr(s.Label)
    		}
    
    	case *ast.BlockStmt:
    		p.block(s, 1)
    
    	case *ast.IfStmt:
    		p.print(token.IF)
    		p.controlClause(false, s.Init, s.Cond, nil)
    		p.block(s.Body, 1)
    		if s.Else != nil {
    			p.print(blank, token.ELSE, blank)
    			switch s.Else.(type) {
    			case *ast.BlockStmt, *ast.IfStmt:
    				p.stmt(s.Else, nextIsRBrace)
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (If (FLessThan cc) yes no) => (FLT cc yes no)
    (If (FLessEqual cc) yes no) => (FLE cc yes no)
    (If (FGreaterThan cc) yes no) => (FGT cc yes no)
    (If (FGreaterEqual cc) yes no) => (FGE cc yes no)
    
    (If cond yes no) => (NE (CMPconst [0] (ANDconst [1] cond)) yes no)
    
    // Absorb boolean tests into block
    (NE (CMPconst [0] (ANDconst [1] ((Equal|NotEqual|LessThan|LessEqual|GreaterThan|GreaterEqual) cc))) yes no) => ((EQ|NE|LT|LE|GT|GE) cc yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top