Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 150 for conservative (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/mark_input_output_aliases.cc

    struct AliasInfo {
      AliasInfo() : input_index(kUnassigned), output_index(kUnassigned) {}
      int input_index;
      int output_index;
    };
    
    // Idenitfy tf_device.cluster_func input-output alias pairs.
    // This is currently conservative, primarily handling the following base case:
    // ```
    // %value = tf.ReadVariableOp(%resource_var)
    // %output:N = tf_device.cluster_func(..., /*input index = a*/ %value, ...)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 04:14:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/runtime/debugcall.go

    		lockedExt = mp.lockedExt
    		mp.lockedExt = 0
    
    		mp.lockedg.set(newg)
    		newg.lockedm.set(mp)
    		gp.lockedm = 0
    
    		// Mark the calling goroutine as being at an async
    		// safe-point, since it has a few conservative frames
    		// at the bottom of the stack. This also prevents
    		// stack shrinks.
    		gp.asyncSafePoint = true
    
    		// Stash newg away so we can execute it below (mcall's
    		// closure can't capture anything).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/runtime/mranges.go

    func (a *addrRanges) add(r addrRange) {
    	// The copies in this function are potentially expensive, but this data
    	// structure is meant to represent the Go heap. At worst, copying this
    	// would take ~160µs assuming a conservative copying rate of 25 GiB/s (the
    	// copy will almost never trigger a page fault) for a 1 TiB heap with 4 MiB
    	// arenas which is completely discontiguous. ~160µs is still a lot, but in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go

    	// cases the answer is definite. We let ctrlflow figure
    	// that out.
    	fn := typeutil.StaticCallee(c.pass.TypesInfo, call)
    	if fn == nil {
    		return true // callee not statically known; be conservative
    	}
    
    	// Function or method declared in this package?
    	if di, ok := c.funcDecls[fn]; ok {
    		c.buildDecl(fn, di)
    		return !di.noReturn
    	}
    
    	// Not declared in this package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.h

      // should be revisited for new resource-allocators that might potentially
      // break our currently guaranteed correctness.
      // For context, we are very conservative here compared to
      // `auto_control_deps.py` where it is assumed that allocated resource values
      // NEVER alias. We should align our assumptions in the future.
      static constexpr int64_t kUnknownResourceId = -1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/runtime/malloc.go

    	// freeIndexForScan now so x is seen by the GC
    	// (including conservative scan) as an allocated object.
    	// While this pointer can't escape into user code as a
    	// _live_ pointer until we return, conservative scanning
    	// may find a dead pointer that happens to point into this
    	// object. Delaying this update until now ensures that
    	// conservative scanning considers this pointer dead until
    	// this point.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. src/go/doc/exports.go

    			// presumably a qualified identifier
    			return &ast.SelectorExpr{
    				Sel: ast.NewIdent(typ.Sel.Name),
    				X:   &ast.Ident{Name: id.Name, NamePos: pos},
    			}
    		}
    	}
    	return nil // shouldn't happen, but be conservative and don't panic
    }
    
    func (r *reader) filterSpecList(list []ast.Spec, tok token.Token) []ast.Spec {
    	if tok == token.CONST {
    		// Propagate any type information that would get lost otherwise
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  8. src/internal/filepathlite/path_windows.go

    		// Path rooted in the current drive.
    		return false
    	}
    	if stringslite.IndexByte(path, ':') >= 0 {
    		// Colons are only valid when marking a drive letter ("C:foo").
    		// Rejecting any path with a colon is conservative but safe.
    		return false
    	}
    	hasDots := false // contains . or .. path elements
    	for p := path; p != ""; {
    		var part string
    		part, p, _ = cutPath(p)
    		if part == "." || part == ".." {
    			hasDots = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unreachable/unreachable.go

    // statement following stmt is reachable.
    func (d *deadState) findDead(stmt ast.Stmt) {
    	// Is this a labeled goto target?
    	// If so, assume it is reachable due to the goto.
    	// This is slightly conservative, in that we don't
    	// check that the goto is reachable, so
    	//	L: goto L
    	// will not provoke a warning.
    	// But it's good enough.
    	if x, isLabel := stmt.(*ast.LabeledStmt); isLabel && d.hasGoto[x.Label.Name] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

                     << "); this could lead to overly conservative execution order";
        // Note: By not incrementing `resource_type_id` we still maintain
        // correctness, we might only handle different resource types as the same
        // type (for ID `kMaxResourceTypeId`) which is overly conservative.
      } else {
        ++resource_type_id;
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top