Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 578 for Regions (0.13 sec)

  1. doc/next/5-toolchain.md

    <!-- https://go.dev/issue/62737 , https://golang.org/cl/576681,  https://golang.org/cl/577615 -->
    The compiler in Go 1.23 can now overlap the stack frame slots of local variables
    accessed in disjoint regions of a function, which reduces stack usage
    for Go applications.
    
    <!-- https://go.dev/cl/577935 -->
    For 386 and amd64, the compiler will use information from PGO to align certain
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/runtime/pprof/vminfo_darwin.go

    	"os"
    	"unsafe"
    )
    
    func isExecutable(protection int32) bool {
    	return (protection&_VM_PROT_EXECUTE) != 0 && (protection&_VM_PROT_READ) != 0
    }
    
    // machVMInfo uses the mach_vm_region region system call to add mapping entries
    // for the text region of the running process.
    func machVMInfo(addMapping func(lo, hi, offset uint64, file, buildID string)) bool {
    	added := false
    	var addr uint64 = 0x1
    	for {
    		var memRegionSize uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 23:35:39 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/testprog/annotations-stress.go

    	ctx, t = trace.NewTask(ctx, "do")
    	defer t.End()
    
    	trace.Log(ctx, "log2", "do")
    
    	// Create a region and spawn more tasks and more workers.
    	trace.WithRegion(ctx, "fanout", func() {
    		for i := 0; i < k; i++ {
    			go func(i int) {
    				trace.WithRegion(ctx, fmt.Sprintf("region%d", i), func() {
    					trace.Logf(ctx, "log", "fanout region%d", i)
    					if i == 2 {
    						do(ctx, 0)
    						return
    					}
    				})
    			}(i)
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc

      }
    };
    
    }  // namespace
    
    // Inserts call to the given function into the 'region'.
    void CreateRegionWithCall(func::FuncOp func, Region& region, Location loc) {
      OpBuilder builder(region);
      auto block = builder.createBlock(&region);
      SmallVector<Value, 4> new_operands;
      for (Type t : func.getFunctionType().getInputs())
        new_operands.push_back(block->addArgument(t, loc));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/http.go

    </ul>
    
    <h2>User-defined tasks and regions</h2>
    <p>
      The trace API allows a target program to annotate a <a
      href='https://pkg.go.dev/runtime/trace#Region'>region</a> of code
      within a goroutine, such as a key function, so that its performance
      can be analyzed.
    
      <a href='https://pkg.go.dev/runtime/trace#Log'>Log events</a> may be
      associated with a region to record progress and relevant values.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

        // collect effects for all ops in the regions instead of collecting effects
        // for the op itself. This is important to avoid conservatism and to find
        // resource variable accesses in regions which are not exposed to the op
        // interface.
        for (Region& region : op->getRegions()) {
          for (Operation& region_op : region.front().without_terminator()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        OptionalAttr<DictArrayAttr>:$res_attrs
      );
    
      let results = (outs);
    
      // When the regions is empty, the tfr.func is an external function and used
      // to model the element type constraints of the tf op. Otherwise, there is one
      // region containing the composition.
      let regions = (region VariadicRegion<AnyRegion>:$body);
    
      let skipDefaultBuilders = 1;
    
      let builders = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

            }
            // Transfer the annotation to both region arguments
            for (Region* region : while_region.getRegions()) {
              BlockArgument arg = region->getArgument(output_index);
              LLVM_DEBUG(llvm::dbgs()
                         << "  Propagating device = '" << *device << "' to arg #"
                         << output_index << " of region #"
                         << region->getRegionNumber() << "\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.cc

        if (!parent_op) continue;
        builder.setInsertionPoint(parent_op);
    
        // Recreate the operation by using the wrapper's operands and return types.
        // TODO(fengliuai): copy the regions.
        OperationState state(op->getLoc(), op->getName().getStringRef(),
                             parent_op->getOperands(), parent_op->getResultTypes(),
                             op->getAttrs(), op->getSuccessors());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/language/tags.go

    	scr, err := ParseScript(s)
    	if err != nil {
    		panic(err)
    	}
    	return scr
    }
    
    // MustParseRegion is like ParseRegion, but panics if the given region cannot be
    // parsed. It simplifies safe initialization of Region values.
    func MustParseRegion(s string) Region {
    	r, err := ParseRegion(s)
    	if err != nil {
    		panic(err)
    	}
    	return r
    }
    
    var (
    	und = Tag{}
    
    	Und Tag = Tag{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top