Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 75 for Deallocator (0.2 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.h

    class TFTensorType : public Type::TypeBase<TFTensorType, Type, TypeStorage> {
     public:
      using Base::Base;
      static constexpr StringLiteral name = "tfrt.tf_tensor";
    };
    
    // The MLIR type represents a tensorflow::Allocator.
    class TFAllocatorType
        : public Type::TypeBase<TFAllocatorType, Type, TypeStorage> {
     public:
      using Base::Base;
      static constexpr StringLiteral name = "tfrt.tf_allocator";
    };
    
    }  // namespace fallback
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/base/limit.go

    )
    
    type netTokenChecker struct {
    	released bool
    	// We want to use a finalizer to check that all acquired tokens are returned,
    	// so we arbitrarily pad the tokens with a string to defeat the runtime's
    	// “tiny allocator”.
    	unusedAvoidTinyAllocator string
    }
    
    func (c *netTokenChecker) panicUnreleased() {
    	panic("internal error: net token acquired but not released")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 02:47:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/pjrt_tensor_buffer_util_test.cc

    #include <vector>
    
    #include <gtest/gtest.h>
    #include "tensorflow/compiler/jit/test_util.h"
    #include "xla/pjrt/pjrt_client.h"
    #include "xla/shape.h"
    #include "xla/shape_util.h"
    #include "tensorflow/core/framework/allocator.h"
    #include "tensorflow/core/framework/device.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 14 18:14:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. src/runtime/internal/sys/nih.go

    //
    // The last point is the real benefit of NotInHeap. The runtime uses
    // it for low-level internal structures to avoid memory barriers in the
    // scheduler and the memory allocator where they are illegal or simply
    // inefficient. This mechanism is reasonably safe and does not compromise
    // the readability of the runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 18:24:50 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. pkg/registry/core/service/ipallocator/metrics.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package ipallocator
    
    import (
    	"sync"
    
    	"k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    const (
    	namespace = "kube_apiserver"
    	subsystem = "clusterip_allocator"
    )
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 13 13:33:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. test/fixedbugs/issue33355.go

    // compile
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This code failed on arm64 in the register allocator.
    // See issue 33355.
    
    package server
    
    import (
    	"bytes"
    	"sync"
    )
    
    type client struct {
    	junk [4]int
    	mu   sync.Mutex
    	srv  *Server
    	gw   *gateway
    	msgb [100]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 01 02:15:18 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.td

        Op<TensorflowMlrtTpu_Dialect, mnemonic, !listconcat(traits, [IsolatedFromAbove])> {
    }
    
    def GetTpuHostDeviceOp : TensorflowMlrtTpu_Op<"get_tpu_host_device", [Pure]> {
      let summary = "get the tpu host allocator that implements tensorflow::Device";
    
      let results = (outs
        TFDeviceType:$device
      );
    
      let assemblyFormat = "attr-dict";
    }
    
    def CompileAndExecuteOp : TensorflowMlrtTpu_Op<"compile_and_execute"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. pkg/registry/core/service/allocator/bitmap.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package allocator
    
    import (
    	"errors"
    	"fmt"
    	"math/big"
    	"math/rand"
    	"sync"
    	"time"
    )
    
    // AllocationBitmap is a contiguous block of resources that can be allocated atomically.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. tensorflow/c/kernels_experimental.h

    // allocator provided by pluggable vendor to do the allocate_temp of the
    // tensors. The caller takes ownership of temporary variables and is responsible
    // for freeing them with TF_DestroyTemporaryVariable. This function will return
    // an error when the following conditions are met:
    //   1. Cannot allocate a new temporary variable
    //   2. Calling plugin allocator failed
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. src/runtime/abi_test.go

    	regConfirmRun.Store(int32(*(*int)(v.(*TintPointer).p)))
    	return 5151, 4.0, [10]byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
    }
    
    // TintPointer has a pointer member to make sure that it isn't allocated by the
    // tiny allocator, so we know when its finalizer will run
    type TintPointer struct {
    	p *Tint
    }
    
    func (*TintPointer) m() {}
    
    func TestFinalizerRegisterABI(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top