Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for _kernel (0.12 sec)

  1. src/runtime/vdso_freebsd.go

    // license that can be found in the LICENSE file.
    
    //go:build freebsd
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    const _VDSO_TH_NUM = 4 // defined in <sys/vdso.h> #ifdef _KERNEL
    
    var timekeepSharedPage *vdsoTimekeep
    
    //go:nosplit
    func (bt *bintime) Add(bt2 *bintime) {
    	u := bt.frac
    	bt.frac += bt2.frac
    	if u > bt.frac {
    		bt.sec++
    	}
    	bt.sec += bt2.sec
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_kernel_creator.cc

      *kernel = std::make_unique<XlaLocalLaunchBase>(
          &construction, constant_arg_indices, resource_arg_indices, function,
          /*has_ref_vars=*/false);
      return s;
    }
    
    Status XlaKernelCreator::CreateKernel(
        FunctionLibraryRuntime* flr,
        const std::shared_ptr<const NodeProperties>& props,
        std::unique_ptr<OpKernel>* kernel) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 22:24:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/c/kernels/summary_op.cc

      }
      ~Params() {
        TF_DeleteStatus(status);
        TF_DeleteTensor(tags);
        TF_DeleteTensor(values);
      }
    };
    
    // dummy functions used for kernel registration
    void* ScalarSummaryOp_Create(TF_OpKernelConstruction* ctx) { return nullptr; }
    
    void ScalarSummaryOp_Delete(void* kernel) {}
    
    // Helper functions for compute method
    bool IsSameSize(TF_Tensor* tensor1, TF_Tensor* tensor2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/kernels/xla_ops.h

    // It does not have corresponding OpDef because it is never present
    // in the GraphDef.
    // Currently, it is used by eager runtime. FunctionLibraryRuntime creates
    // this kernel when asked to create a kernel for an XLA-compiled function.
    //
    // `has_ref_vars`: whether the input computation can have reference variables.
    // TODO(cheshire): instead derive this information from the input graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 23:44:26 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/device_target.h

     protected:
      // Adds the kernel spec with the custom scale function for the kernel.
      LogicalResult RegisterKernel(llvm::StringRef kernel,
                                   const KernelSpecs::Signature& signature,
                                   const ScaleFn& fn, const ScaleDecomposeFn& dfn);
    
      // Adds the kernel spec with the scale constraint type for the kernel.
      LogicalResult RegisterKernel(llvm::StringRef kernel,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go

    		// When this happens, we have two options. If the Linux kernel is new
    		// enough (4.11+), we can read the arm64 registers directly which'll
    		// trap into the kernel and then return back to userspace.
    		//
    		// But on older kernels, such as Linux 4.4.180 as used on many Synology
    		// devices, calling readARM64Registers (specifically getisar0) will
    		// cause a SIGILL and we'll die. So for older kernels, parse /proc/cpuinfo
    		// instead.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

          llvm::MemoryBuffer::getMemBuffer(mlir_input, "test_ir"), llvm::SMLoc());
    
      // Parse a kernel source code into the MLIR Module.
      mlir::OwningOpRef<mlir::ModuleOp> module(
          mlir::parseSourceFile<mlir::ModuleOp>(source_mgr, &context));
      CHECK(module) << "failed to parse mlir module";
    
      // Collect all diagnostics emitted while lowering parsed kernel module.
      std::string diagnostic_str;
      llvm::raw_string_ostream os(diagnostic_str);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_platform_info.h

      // XlaLaunch/_XlaCompile/_XlaRun op is placed and thus does not die before the
      // XlaLaunch/_XlaCompile/_XlaRun OpKernel.
      const XlaDevice::Metadata* xla_device_metadata_;
    
      // pjrt_device_metadata_ lives in tensorflow::PjRtBaseDevice in which the
      // XlaLaunch/XlaCompileOnDemand op is placed and thus does not die before the
      // op kernel.
      const PjRtBaseDevice::Metadata* pjrt_device_metadata_;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/c/kernels/histogram_summary_op.cc

      return kernel;
    }
    
    void HistogramSummaryOp_Delete(void* kernel) {
      delete static_cast<HistogramSummaryOp*>(kernel);
    }
    
    template <typename T>
    void HistogramSummaryOp_Compute(void* kernel, TF_OpKernelContext* ctx) {
      HistogramSummaryOp* k = static_cast<HistogramSummaryOp*>(kernel);
      TF_Tensor* tags;
      TF_Tensor* values;
      Safe_TF_StatusPtr status(TF_NewStatus());
      TF_GetInput(ctx, 0, &tags, status.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. cmd/server-rlimit.go

    import (
    	"runtime"
    	"runtime/debug"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3/kernel"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/sys"
    )
    
    func oldLinux() bool {
    	currentKernel, err := kernel.CurrentVersion()
    	if err != nil {
    		// Could not probe the kernel version
    		return false
    	}
    
    	if currentKernel == 0 {
    		// We could not get any valid value return false
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top