Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for conservatively (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h

      // Converts from read/write state that relates ops with the same parallel id
      // to a set of last accesses for use with other parallel ids. Reads/writes
      // between parallel ids are conservatively approximated as writes.
      absl::flat_hash_set<Operation*> GetLastWrites(ResourceId resource_id);
    
      // Sets the read/write state for ops within the same parallel id.
      void SetLastWrites(ResourceId resource_id,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

          // only self-dependent conservatively, i.e., we do add dependencies
          // to/from unknown resource types. Currently, we don't have such cases and
          // there is no indication that we will need to support them in the future.
          LOG(WARNING) << "Self-dependent-only resource types are treated "
                          "conservatively for value-based side effects.";
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  3. src/runtime/preempt.go

    }
    
    //go:generate go run mkpreempt.go
    
    // asyncPreempt saves all user registers and calls asyncPreempt2.
    //
    // When stack scanning encounters an asyncPreempt frame, it scans that
    // frame and its parent frame conservatively.
    //
    // asyncPreempt is implemented in assembly.
    func asyncPreempt()
    
    //go:nosplit
    func asyncPreempt2() {
    	gp := getg()
    	gp.asyncSafePoint = true
    	if gp.preemptStop {
    		mcall(preemptPark)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/assign.go

    		// Check for reasons why we may need to compute later expressions
    		// before this assignment happens.
    
    		if name == nil {
    			// Not a direct assignment to a declared variable.
    			// Conservatively assume any memory access might alias.
    			memWrite = true
    			continue
    		}
    
    		if name.Class == ir.PPARAMOUT && ir.CurFunc.HasDefer() {
    			// Assignments to a result parameter in a function with defers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. src/cmd/dist/test.go

    	if err != nil {
    		return true // conservatively
    	}
    	defer d.Close()
    	names, err := d.Readdirnames(-1)
    	if err != nil {
    		return true // conservatively
    	}
    	for _, name := range names {
    		if !strings.HasSuffix(name, "_test.go") {
    			continue
    		}
    		slurp, err := os.ReadFile(filepath.Join(pkgDir, name))
    		if err != nil {
    			return true // conservatively
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    		//  3. GC occurs within F itself.  This has to be from preemption, and thus GC is conservative.
    		//     a. X is in a register -- then X is seen, and the spill slot is also scanned conservatively.
    		//     b. X is spilled -- the spill slot is initialized, and scanned conservatively
    		//     c. X is not live -- the spill slot is scanned conservatively, and it may contain X from an earlier spill.
    		//  4. GC within G, transitively called from F
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/runtime/mfinal.go

    				//
    				// Unfortunately because we can have an arbitrary
    				// amount of returns and it would be complex to try and
    				// figure out how many of those can get passed in registers,
    				// just conservatively assume none of them do.
    				framesz := unsafe.Sizeof((any)(nil)) + f.nret
    				if framecap < framesz {
    					// The frame does not contain pointers interesting for GC,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

            !padding_attr.isSplat() ||
            !padding_attr.getSplatValue<APInt>().isZero()) {
          return false;
        }
      } else {
        // If the padding value is neither float nor int, conservatively assume it
        // contains nonzeros.
        return false;
      }
    
      rewriter->replaceOpWithNewOp<MatrixDiagOp>(op, output_type, input);
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

            &effects) {
      effects.reserve(2 * getArgs().size() + 1);
      effects.emplace_back(MemoryEffects::Write::get(),
                           ResourceEffects::TPUExecute::get());
    
      // Conservatively mark resource handles as read and write, as without
      // analyzing TPUCompile, there is not sufficient information to determine
      // effects on resources. For the MLIR bridge, this op will never be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  10. src/net/http/transport.go

    	// ForceAttemptHTTP2 controls whether HTTP/2 is enabled when a non-zero
    	// Dial, DialTLS, or DialContext func or TLSClientConfig is provided.
    	// By default, use of any those fields conservatively disables HTTP/2.
    	// To use a custom dialer or TLS config and still attempt HTTP/2
    	// upgrades, set this to true.
    	ForceAttemptHTTP2 bool
    }
    
    func (t *Transport) writeBufferSize() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top