Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for new_g (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/guarantee-all-funcs-one-use.mlir

    // -----
    // Basic test.
    // CHECK-LABEL: func @f
    func.func @f() {
      // CHECK: call @g() : () -> ()
      // CHECK: call @[[NEWG:.+]]() : () -> ()
      func.call @g() : () -> ()
      func.call @g() : () -> ()
      func.return
    }
    
    // CHECK: func @g()
    // CHECK: func private @[[NEWG]]()
    func.func @g() {
      func.return
    }
    
    // -----
    // Transitive callees.
    // CHECK-LABEL: func @f
    // 2 copies of @g
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K 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. test/abi/bad_select_crash.go

    func BeginFcn() {
    	ParamFailCount = 0
    	ReturnFailCount = 0
    }
    
    func EndFcn() {
    	FailCount += ParamFailCount
    	FailCount += ReturnFailCount
    }
    
    func Caller2() {
    	BeginFcn()
    	c0 := StructF2S0{F0: ArrayF2S1E1{New_3(float64(-0.4418990509835844))}}
    	c1 := ArrayF2S2E1{StructF2S1{ /* _: "񊶿(z̽|" */ F1: "􂊇񊶿"}}
    	c2 := int16(4162)
    	c3 := float32(-7.667096e+37)
    	c4 := int64(3202175648847048679)
    	var p0 ArrayF2S0E0
    	p0 = ArrayF2S0E0{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 16 13:38:02 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/tests/make_test_graphs.py

    #                    when the bug is fixed.
    def tfvariable(_):
      x = variables.Variable([1000.0], name='x', shape=[1])
      old_x = x.value()
      with ops.control_dependencies([old_x]):
        new_x = x.assign_add([42.0])
      array_ops_stack.stack([old_x, new_x], name='result')
    
    
    def tfvariable_sequential_updates(_):
      x = variables.Variable(1.0, name='x')
      y = variables.Variable(1.0, name='y')
      updates = control_flow_ops.no_op()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    	pp := mp.p.ptr()
    	newg := gfget(pp)
    	if newg == nil {
    		newg = malg(stackMin)
    		casgstatus(newg, _Gidle, _Gdead)
    		allgadd(newg) // publishes with a g->status of Gdead so GC scanner doesn't look at uninitialized stack.
    	}
    	if newg.stack.hi == 0 {
    		throw("newproc1: newg missing stack")
    	}
    
    	if readgstatus(newg) != _Gdead {
    		throw("newproc1: new g is not Gdead")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  6. src/runtime/traceruntime.go

    }
    
    // GoCreate emits a GoCreate event.
    func (tl traceLocker) GoCreate(newg *g, pc uintptr, blocked bool) {
    	newg.trace.setStatusTraced(tl.gen)
    	ev := traceEvGoCreate
    	if blocked {
    		ev = traceEvGoCreateBlocked
    	}
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(ev, traceArg(newg.goid), tl.startPC(pc), tl.stack(2))
    }
    
    // GoStart emits a GoStart event.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

        }, {
        ^bb0(%arg0: tensor<i64>, %arg1: tensor<i64>):
          %new_sum = "vhlo.add_v1"(%arg1, %arg1) : (tensor<i64>, tensor<i64>) -> tensor<i64>
          %new_i = "vhlo.add_v1" (%arg0, %arg1) : (tensor<i64>, tensor<i64>) -> tensor<i64>
          "vhlo.return_v1"(%new_i, %new_sum) : (tensor<i64>, tensor<i64>) ->()
      }) : (tensor<i64>, tensor<i64>) -> (tensor<i64>, tensor<i64>)
      return %0 : tensor<i64>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (Select1     (AddTupleFirst64   _ tuple)) => (Select1 tuple)
    
    // Atomic compare and swap.
    (AtomicCompareAndSwap32 ptr old new_ mem) => (CMPXCHGLlock ptr old new_ mem)
    (AtomicCompareAndSwap64 ptr old new_ mem) => (CMPXCHGQlock ptr old new_ mem)
    
    // Atomic memory updates.
    (AtomicAnd8  ptr val mem) => (ANDBlock ptr val mem)
    (AtomicAnd32 ptr val mem) => (ANDLlock ptr val mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (AtomicExchange(32|64) ...) => (LoweredAtomicExchange(32|64) ...)
    
    (AtomicAdd(32|64) ...) => (LoweredAtomicAdd(32|64) ...)
    
    (AtomicCompareAndSwap(32|64) ptr old new_ mem) => (LoweredAtomicCas(32|64) [1] ptr old new_ mem)
    (AtomicCompareAndSwapRel32   ptr old new_ mem) => (LoweredAtomicCas32 [0] ptr old new_ mem)
    
    (AtomicAnd(8|32)  ...) => (LoweredAtomicAnd(8|32)  ...)
    (AtomicOr(8|32)   ...) => (LoweredAtomicOr(8|32)   ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (AtomicExchange64 ptr val mem) => (LoweredAtomicExchange64 ptr val mem)
    
    // Atomic compare and swap.
    (AtomicCompareAndSwap32 ptr old new_ mem) => (LoweredAtomicCas32 ptr old new_ mem)
    (AtomicCompareAndSwap64 ptr old new_ mem) => (LoweredAtomicCas64 ptr old new_ mem)
    
    // Atomic and: *(*uint8)(ptr) &= val
    //
    // Round pointer down to nearest word boundary and pad value with ones before
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
Back to top