Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Deallocator (0.29 sec)

  1. tensorflow/c/c_api_test.cc

      TF_TString_Init(&tstr[0]);
      TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1);
    
      auto deallocator = [](void* data, size_t len, void* arg) {};
      unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0],
                                          sizeof(tstr), deallocator, nullptr),
                             TF_DeleteTensor);
    
      // Create a TF_Operation with the attribute t_in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// `plugin_memory_free` members.
    ///
    /// All memory allocated by the plugin that will be owned by core TensorFlow
    /// must be allocated using the allocator in this structure. Core TensorFlow
    /// will use the deallocator to free this memory once it no longer needs it.
    ///
    /// IMPORTANT: To maintain binary compatibility, the layout of this structure
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 17:36:54 UTC 2022
    - 53.1K bytes
    - Viewed (0)
  3. src/runtime/malloc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Memory allocator.
    //
    // This was originally based on tcmalloc, but has diverged quite a bit.
    // http://goog-perftools.sourceforge.net/doc/tcmalloc.html
    
    // The main allocator works in runs of pages.
    // Small allocation sizes (up to and including 32 kB) are
    // rounded to one of about 70 size classes, each of which
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/runtime/mheap.go

    	}
    
    	spanalloc              fixalloc // allocator for span*
    	cachealloc             fixalloc // allocator for mcache*
    	specialfinalizeralloc  fixalloc // allocator for specialfinalizer*
    	specialprofilealloc    fixalloc // allocator for specialprofile*
    	specialReachableAlloc  fixalloc // allocator for specialReachable
    	specialPinCounterAlloc fixalloc // allocator for specialPinCounter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  5. tensorflow/c/kernels_test.cc

    }
    #undef EXPECT_TF_SIZE
    
    class DummyDevice : public DeviceBase {
     public:
      explicit DummyDevice(Env* env) : DeviceBase(env) {}
      Allocator* GetAllocator(AllocatorAttributes /*attr*/) override {
        return cpu_allocator();
      }
    };
    
    TEST(TestKernel, TestInputAndOutputCount) {
      const char* node_name = "InputOutputCounterKernel";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  6. src/runtime/mgcscavenge.go

    	// to spend on scavenging in percent.
    	scavengePercent = 1 // 1%
    
    	// retainExtraPercent represents the amount of memory over the heap goal
    	// that the scavenger should keep as a buffer space for the allocator.
    	// This constant is used when we do not have a memory limit set.
    	//
    	// The purpose of maintaining this overhead is to have a greater pool of
    	// unscavenged memory available for allocation (since using scavenged memory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/regalloc.go

    // Register allocation.
    //
    // We use a version of a linear scan register allocator. We treat the
    // whole function as a single long basic block and run through
    // it using a greedy register allocator. Then all merge edges
    // (those targeting a block with len(Preds)>1) are processed to
    // shuffle data into the place that the target of the edge expects.
    //
    // The greedy allocator moves values into registers just before they
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  8. src/runtime/mgcpacer.go

    	triggerRatioDen = 64
    
    	// The minimum trigger constant was chosen empirically: given a sufficiently
    	// fast/scalable allocator with 48 Ps that could drive the trigger ratio
    	// to <0.05, this constant causes applications to retain the same peak
    	// RSS compared to not having this allocator.
    	minTriggerRatioNum = 45 // ~0.7
    
    	// The maximum trigger constant is chosen somewhat arbitrarily, but the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    var verboseAST = map[byte]AST{
    	't': &Name{Name: "std"},
    	'a': &Qualified{Scope: &Name{Name: "std"}, Name: &Name{Name: "allocator"}},
    	'b': &Qualified{Scope: &Name{Name: "std"}, Name: &Name{Name: "basic_string"}},
    
    	// std::basic_string<char, std::char_traits<char>, std::allocator<char> >
    	's': &Template{
    		Name: &Qualified{Scope: &Name{Name: "std"}, Name: &Name{Name: "basic_string"}},
    		Args: []AST{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/options/options_test.go

    	persistentvolumeconfig "k8s.io/kubernetes/pkg/controller/volume/persistentvolume/config"
    )
    
    var args = []string{
    	"--allocate-node-cidrs=true",
    	"--attach-detach-reconcile-sync-period=30s",
    	"--cidr-allocator-type=CloudAllocator",
    	"--cloud-config=/cloud-config",
    	"--cloud-provider=gce",
    	"--cluster-cidr=1.2.3.4/24",
    	"--cluster-name=k8s",
    	"--cluster-signing-cert-file=/cluster-signing-cert",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top