Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for numa_node (0.23 sec)

  1. tensorflow/c/env.cc

      options->guard_size = 0;
      options->numa_node = -1;
    }
    
    TF_Thread* TF_StartThread(const TF_ThreadOptions* options,
                              const char* thread_name, void (*work_func)(void*),
                              void* param) {
      ::tensorflow::ThreadOptions cc_options;
      cc_options.stack_size = options->stack_size;
      cc_options.guard_size = options->guard_size;
      cc_options.numa_node = options->numa_node;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor.cc

        if (device_.pci_bus_id != nullptr) {
          builder.set_pci_bus_id(device_.pci_bus_id);
        }
    
        if (device_fns_->get_numa_node != nullptr) {
          int32_t numa_node = device_fns_->get_numa_node(&device_);
          if (numa_node >= 0) {
            builder.set_numa_node(numa_node);
          }
        }
    
        if (device_fns_->get_memory_bandwidth != nullptr) {
          int64_t memory_bandwidth = device_fns_->get_memory_bandwidth(&device_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      ASSERT_EQ(description.name(), "TestName");
      ASSERT_EQ(description.device_vendor(), "TestVendor");
      ASSERT_EQ(description.pci_bus_id(), "TestPCIBusId");
      ASSERT_EQ(description.numa_node(), 123);
      ASSERT_EQ(description.memory_bandwidth(), 54);
    }
    
    TEST_F(StreamExecutorTest, DeviceDescriptionNumaNodeNotSet) {
      static const char* hardware_name = "TestName";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. tensorflow/c/kernels_experimental.cc

      // DT_VARIANT tensors must be allocated on CPU since they wrap C++
      // objects which can not be efficiently represented in GPU memory.
      int numa_node = cc_ctx->device()->NumaNode();
      Tensor out(::tensorflow::cpu_allocator(numa_node), ::tensorflow::DT_VARIANT,
                 ::tensorflow::TensorShape({}));
      Variant* out_v = &(out.scalar<Variant>()());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. tensorflow/c/env.h

      // that the system default will be used.
      size_t guard_size;
    
      // The NUMA node to use, -1 implies that there should be no NUMA affinity for
      // this thread.
      int numa_node;
    } TF_ThreadOptions;
    
    // Creates the specified directory. Typical status code are:
    //  * TF_OK - successfully created the directory
    //  * TF_ALREADY_EXISTS - directory already exists
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 09 02:53:27 UTC 2021
    - 9.6K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/internal_container_lifecycle_linux.go

    			containerConfig.Linux.Resources.CpusetCpus = allocatedCPUs.String()
    		}
    	}
    
    	if i.memoryManager != nil {
    		numaNodes := i.memoryManager.GetMemoryNUMANodes(pod, container)
    		if numaNodes.Len() > 0 {
    			var affinity []string
    			for _, numaNode := range sets.List(numaNodes) {
    				affinity = append(affinity, strconv.Itoa(numaNode))
    			}
    			containerConfig.Linux.Resources.CpusetMems = strings.Join(affinity, ",")
    		}
    	}
    
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/topology/topology.go

    		}
    	}
    	return result
    }
    
    // NUMANodes returns all of the NUMANode IDs associated with the CPUs in this
    // CPUDetails.
    func (d CPUDetails) NUMANodes() cpuset.CPUSet {
    	var numaNodeIDs []int
    	for _, info := range d {
    		numaNodeIDs = append(numaNodeIDs, info.NUMANodeID)
    	}
    	return cpuset.New(numaNodeIDs...)
    }
    
    // NUMANodesInSockets returns all of the logical NUMANode IDs associated with
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/memorymanager/memory_manager.go

    	numaNodes := map[int]bool{}
    	for _, numaNode := range machineInfo.Topology {
    		numaNodes[numaNode.Id] = true
    	}
    
    	for _, reservation := range reservedMemory {
    		if !numaNodes[int(reservation.NumaNode)] {
    			return nil, fmt.Errorf("the reserved memory configuration references a NUMA node %d that does not exist on this machine", reservation.NumaNode)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 00:50:45 UTC 2023
    - 17.1K bytes
    - Viewed (1)
  9. pkg/kubelet/cm/devicemanager/topology_hints.go

    	// Initialize minAffinitySize to include all NUMA Nodes
    	minAffinitySize := len(m.numaNodes)
    
    	// Iterate through all combinations of NUMA Nodes and build hints from them.
    	hints := []topologymanager.TopologyHint{}
    	bitmask.IterateBitMasks(m.numaNodes, func(mask bitmask.BitMask) {
    		// First, update minAffinitySize for the current request size.
    		devicesInMask := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/validation/validation_reserved_memory.go

    		return nil
    	}
    
    	var errors []error
    
    	numaTypeDuplicates := map[int32]map[v1.ResourceName]bool{}
    	for _, reservedMemory := range kc.ReservedMemory {
    		numaNode := reservedMemory.NumaNode
    		if _, ok := numaTypeDuplicates[numaNode]; !ok {
    			numaTypeDuplicates[numaNode] = map[v1.ResourceName]bool{}
    		}
    
    		for resourceName, q := range reservedMemory.Limits {
    			if !reservedMemorySupportedLimit(resourceName) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 18 13:31:31 UTC 2021
    - 2.4K bytes
    - Viewed (0)
Back to top