Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,246 for moveWB (0.17 sec)

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

          result.replaceAllUsesWith(transposed_res);
          transposed_res.setOperand(0, result);
        }
      });
    }
    
    // Move Transpose operations that permute `op` results before the `op`.
    void MoveTransposeBefore(Operation* op, SmallVector<Operation*, 8>* work_list) {
      // TODO(ezhulenev): Move transpose across layout sensitive operations.
      if (!op->hasTrait<OpTrait::TF::LayoutAgnostic>()) return;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    // Lowering moves
    (Move [0] _ _ mem) => mem
    (Move [1] dst src mem) => (I64Store8 dst (I64Load8U src mem) mem)
    (Move [2] dst src mem) => (I64Store16 dst (I64Load16U src mem) mem)
    (Move [4] dst src mem) => (I64Store32 dst (I64Load32U src mem) mem)
    (Move [8] dst src mem) => (I64Store dst (I64Load src mem) mem)
    (Move [16] dst src mem) =>
    	(I64Store [8] dst (I64Load [8] src mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. test/escape_map.go

    	// BAD: i should not escape
    	i := 0 // ERROR "moved to heap: i"
    	// BAD: j should not escape
    	j := 0 // ERROR "moved to heap: j"
    	m[&i] = &j
    	_ = m
    }
    
    func map1() *int {
    	m := make(map[*int]*int) // ERROR "make\(map\[\*int\]\*int\) does not escape"
    	// BAD: i should not escape
    	i := 0 // ERROR "moved to heap: i"
    	j := 0 // ERROR "moved to heap: j"
    	m[&i] = &j
    	return m[&i]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

        mode = m;
        touchid = null;
        touchid2 = null;
      }
    
      function panStart(x, y) {
        moved = false;
        panLastX = x;
        panLastY = y;
      }
    
      function panMove(x, y) {
        let dx = x - panLastX;
        let dy = y - panLastY;
        if (Math.abs(dx) <= 2 && Math.abs(dy) <= 2) return; // Ignore tiny moves
    
        moved = true;
        panLastX = x;
        panLastY = y;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. test/escape_field.go

    	a  [2]*int
    }
    
    type Y struct {
    	x X
    }
    
    func field0() {
    	i := 0 // ERROR "moved to heap: i$"
    	var x X
    	x.p1 = &i
    	sink = x.p1
    }
    
    func field1() {
    	i := 0 // ERROR "moved to heap: i$"
    	var x X
    	// BAD: &i should not escape
    	x.p1 = &i
    	sink = x.p2
    }
    
    func field3() {
    	i := 0 // ERROR "moved to heap: i$"
    	var x X
    	x.p1 = &i
    	sink = x // ERROR "x escapes to heap"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  6. test/fixedbugs/issue12006.go

    	}
    }
    
    func TFooNx() {
    	for i := 0; i < 1000; i++ {
    		var i, j, k int   // ERROR "moved to heap: i" "moved to heap: j" "moved to heap: k"
    		FooNx(&k, &i, &j) // ERROR "... argument does not escape"
    	}
    }
    
    func TFooNy() {
    	for i := 0; i < 1000; i++ {
    		var i, j, k int   // ERROR "moved to heap: i" "moved to heap: j" "moved to heap: k"
    		FooNy(&k, &i, &j) // ERROR "... argument escapes to heap"
    	}
    }
    
    func TFooNz() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 26 23:50:32 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  7. test/fixedbugs/issue37837.dir/a.go

    	switch i := i.(type) {
    	case nil: // ERROR "moved to heap: i"
    		return &i
    	case int: // ERROR "moved to heap: i"
    		return &i
    	case float64: // ERROR "moved to heap: i"
    		return &i
    	case string, []byte: // ERROR "moved to heap: i"
    		return &i
    	default: // ERROR "moved to heap: i"
    		return &i
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 06 20:49:11 UTC 2020
    - 736 bytes
    - Viewed (0)
  8. test/escape_closure.go

    		return p
    	}(&x)
    }
    
    func ClosureCallArgs6() {
    	x := 0         // ERROR "moved to heap: x"
    	func(p *int) { // ERROR "moved to heap: p" "func literal does not escape"
    		sink = &p
    	}(&x)
    }
    
    func ClosureCallArgs7() {
    	var pp *int
    	for {
    		x := 0         // ERROR "moved to heap: x"
    		func(p *int) { // ERROR "leaking param: p" "func literal does not escape"
    			pp = p
    		}(&x)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:36:09 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. test/escape_iface.go

    }
    
    func efaceEscape0() {
    	{
    		i := 0
    		v := M0{&i}
    		var x M = v
    		_ = x
    	}
    	{
    		i := 0 // ERROR "moved to heap: i"
    		v := M0{&i}
    		var x M = v
    		sink = x
    	}
    	{
    		i := 0
    		v := M0{&i}
    		var x M = v
    		v1 := x.(M0)
    		_ = v1
    	}
    	{
    		i := 0 // ERROR "moved to heap: i"
    		v := M0{&i}
    		// BAD: v does not escape to heap here
    		var x M = v
    		v1 := x.(M0)
    		sink = v1
    	}
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 17:16:35 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

            return;
          } else if (execution_state_ == ExecutionState::kReadyToExecute) {
            // op_outputs_ may have been std::moved
            op_outputs_ = std::vector<TensorHandlePtr>();
            Execute(context_, operation_name_, std::move(op_inputs_), attributes_,
                    expected_max_outputs_, &op_outputs_, status_.get());
            execution_state_ = ExecutionState::kHasResult;
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top