Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for coarsened (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_coarsening/executor_tpuv1_island_coarsening.mlir

    // RUN: tf-opt %s -tf-executor-tpu-v1-island-coarsening -split-input-file -verify-diagnostics | FileCheck %s
    
    // Tests that funcs reachable from TPUPartitionedCallOps are not coarsened.
    // CHECK-LABEL: func @skips_tpu_partitioned_call_reachable
    func.func @skips_tpu_partitioned_call_reachable() {
      tf_executor.graph {
        %outputs_0, %control_1 = tf_executor.island wraps "tf.TPUOrdinalSelector"() {device = ""} : () -> tensor<?xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 02 03:15:59 UTC 2022
    - 36.2K bytes
    - Viewed (0)
  2. test/escape2.go

    }
    
    type StructWithString struct {
    	p *int
    	s string
    }
    
    // This is escape analysis false negative.
    // We assign the pointer to x.p but leak x.s. Escape analysis coarsens flows
    // to just x, and thus &i looks escaping.
    func fieldFlowTracking() {
    	var x StructWithString
    	i := 0 // ERROR "moved to heap: i$"
    	x.p = &i
    	sink = x.s // ERROR "x.s escapes to heap$"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  3. test/escape2n.go

    }
    
    type StructWithString struct {
    	p *int
    	s string
    }
    
    // This is escape analysis false negative.
    // We assign the pointer to x.p but leak x.s. Escape analysis coarsens flows
    // to just x, and thus &i looks escaping.
    func fieldFlowTracking() {
    	var x StructWithString
    	i := 0 // ERROR "moved to heap: i$"
    	x.p = &i
    	sink = x.s // ERROR "x.s escapes to heap$"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
Back to top