Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for megamorphic (0.15 sec)

  1. tensorflow/compiler/jit/device_compilation_profiler.h

        int64_t cumulative_compile_time_us = 0;
    
        // True if we have decided that this cluster is too dynamic (i.e. its shapes
        // change too frequently) to profitably JIT compile.  Once a cluster is
        // tagged megamorphic, it stays megamorphic forever.
        bool is_megamorphic = false;
    
        std::string DebugString() const {
          return absl::StrCat(
              "DeviceCompilationProfiler::ClusterCompileStats {compile_count=",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compilation_profiler_test.cc

      // times) so that the function is marked megamorphic.
      for (int i = 0; i < kCompileThreshold + 1; ++i) {
        EXPECT_TRUE(profiler->RegisterCompilation(function, 1, false).ok());
      }
      profiler->RegisterExecution(function);
    
      // Shouldn't compile cluster since it has gone megamorphic.
      EXPECT_FALSE(
          profiler->ShouldCompileCluster(function, DeviceCompileMode::kAsync, 0));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Dec 22 21:06:33 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_compilation_profiler.cc

      // The is_megamorphic bit is "sticky".  We assume clusters that have been
      // observed to be megamorphic once stay megamorphic forever.
      if (!stats->is_megamorphic &&
          ShouldBeMegamorphic(stats->compile_count, stats->execution_count)) {
        VLOG(1) << "Marking " << function.name()
                << " as megamorphic, compile_count=" << stats->compile_count
                << " execution_count=" << stats->execution_count;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/internal/trace/traceviewer/static/trace_viewer_full.html

            X no feedback<br>
            0 uninitialized<br>
            . premonomorphic<br>
            1 monomorphic<br>
            ^ recompute handler<br>
            P polymorphic<br>
            N megamorphic<br>
            G generic
          </div>
        </div>
        <div id="total">
        </div>
        <div id="groupOption">
          Group Key
        </div>
        <tr-ui-b-table id="table"></tr-ui-b-table>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top