Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 168 for Malloc (0.31 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

          parent_module_symbol_table.insert(cloned_func_op);
        }
    
        // When the `XlaCallModuleOp`'s callee accepts a platform index argument,
        // remove it. This is because when converted to `CallOp` there will be a
        // mismatch btw. the number of arguments passed and number of parameters
        // accepted (the platform index argument is an extra argument that is not
        // expressed by the operands of XlaCallModuleOp).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

    // uses `get_next` to get the next value and calls `reduce_func`.  `body_args`
    // is used as pass through of state values for else branch.  `dataset_types` is
    // used for constructing the CallOp for `reduce_func`.
    IfRegionOp CreateOptionalDatasetIf(
        OpBuilder builder, ReduceDatasetOp reduce_dataset, FuncOp reduce_func,
        IteratorGetNextAsOptionalOp get_next, OptionalHasValueOp optional_has_value,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/elf_test.go

    	// size, no ALLOC flag, and the offset should not fall into any of
    	// the segments defined by the program headers.
    	if section.Addr != 0 {
    		t.Fatalf("expected Addr == 0 for .shstrtab got %x", section.Addr)
    	}
    	if section.Size == 0 {
    		t.Fatal("expected nonzero Size for .shstrtab got 0")
    	}
    	if section.Flags&elf.SHF_ALLOC != 0 {
    		t.Fatal("expected zero alloc flag got nonzero for .shstrtab")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

    // to functions).
    bool IsAlreadyOutlined(WhileOp while_op) {
      auto just_call = [](Region& region) {
        auto it = region.front().begin();
        if (!isa<func::CallOp>(*it)) return false;
        ++it;
        if (!isa<YieldOp>(*it)) return false;
        return true;
      };
      return just_call(while_op.getBody()) && just_call(while_op.getCond());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. src/net/http/pprof/pprof.go

    	}
    	p0.TimeNanos = ts
    	return p0, nil
    }
    
    var profileSupportsDelta = map[handler]bool{
    	"allocs":       true,
    	"block":        true,
    	"goroutine":    true,
    	"heap":         true,
    	"mutex":        true,
    	"threadcreate": true,
    }
    
    var profileDescriptions = map[string]string{
    	"allocs":       "A sampling of all past memory allocations",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/database/sql/convert_test.go

    	// and gc. With 32-bit words there are more convT2E allocs, and
    	// with gccgo, only pointers currently go in interface data.
    	// So only care on amd64 gc for now.
    	measureAllocs := false
    	switch runtime.GOARCH {
    	case "amd64", "arm64":
    		measureAllocs = runtime.Compiler == "gc"
    	}
    
    	if n > 0.5 && measureAllocs {
    		t.Fatalf("allocs = %v; want 0", n)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/passes/decompose.cc

                  op->getLoc(), cast<TypedAttr>(attribute));
            }
            new_operands.push_back(attr_cst);
          }
        }
    
        // Create the TFR call op
        auto new_op = builder.create<CallOp>(
            op->getLoc(), compose_func_type.getResults(),
            SymbolRefAttr::get(builder.getContext(), compose_func.getName()),
            new_operands);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. src/go/build/deps_test.go

    	NONE
    	< unsafe
    	< cmp,
    	  container/list,
    	  container/ring,
    	  internal/byteorder,
    	  internal/cfg,
    	  internal/coverage,
    	  internal/coverage/rtcov,
    	  internal/coverage/uleb128,
    	  internal/coverage/calloc,
    	  internal/cpu,
    	  internal/goarch,
    	  internal/godebugs,
    	  internal/goexperiment,
    	  internal/goos,
    	  internal/goversion,
    	  internal/nettrace,
    	  internal/platform,
    	  internal/profilerecord,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

    // that result if so. Otherwise, it will clone and convert the callee function,
    // and performs stack ops decomposition on it.
    template <typename CallOp>
    LogicalResult HandlePartitionedCallOp(
        CallOp call, func::FuncOp callee, ModuleOp module,
        const llvm::SmallDenseMap<Value, Value>& data_var_to_size_var,
        llvm::StringMap<PartitionedCallStackOpsInfo>*
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_cfg.cc

      Value scalar = builder->create<tensor::ExtractOp>(loc, zero_d);
      return scalar;
    }
    
    // Calls the function `fn` with arguments provided by the given function and
    // return the CallOp. Arguments are cast to the required type before calling
    // the function.
    //
    // Requires the function to provide arguments for each of the `fn` operands
    // that is compatible for tensor cast.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 13 11:42:59 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top