Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 148 for Parallelism (0.17 sec)

  1. docs/en/docs/async.md

    This idea of **asynchronous** code described above is also sometimes called **"concurrency"**. It is different from **"parallelism"**.
    
    **Concurrency** and **parallelism** both relate to "different things happening more or less at the same time".
    
    But the details between *concurrency* and *parallelism* are quite different.
    
    To see the difference, imagine the following story about burgers:
    
    ### Concurrent Burgers
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. pkg/apis/batch/validation/validation.go

    			}
    			if spec.Parallelism != nil && *spec.Parallelism > maxParallelismForIndexedJob {
    				allErrs = append(allErrs, field.Invalid(fldPath.Child("parallelism"), *spec.Parallelism, fmt.Sprintf("must be less than or equal to %d when completion mode is %s", maxParallelismForIndexedJob, batch.IndexedCompletion)))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/cluster_scoping_pass.h

    namespace tensorflow {
    
    // This pass adds scopes to nodes in the _XlaInternalScope attribute to guide
    // the later clustering passes.  A major reason to do this is to prevent the
    // clustering from losing critical parallelism in the Tensorflow graph, which
    // can incur great performance degradation.
    //
    // This pass must be run before MarkForCompilationPass, as it stores the
    // scoping information that MarkForCompilationPass will need to respect for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 22 03:15:13 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageParallelIntegrationTest.groovy

                // prevent assembly and c compile tasks from running in parallel
                // this is because we don't want the c compile tasks to accidentally use
                // the decorated tool provider we set up for testing the parallelism
                tasks.withType(CCompile) { mustRunAfter tasks.withType(Assemble) }
            """
    
            when:
            succeeds("assemble", "parallelTask")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. cmd/kube-scheduler/app/options/options_test.go

    			},
    			expectedUsername: "config",
    			expectedConfig: kubeschedulerconfig.KubeSchedulerConfiguration{
    				TypeMeta: metav1.TypeMeta{
    					APIVersion: v1.SchemeGroupVersion.String(),
    				},
    				Parallelism:           16,
    				DelayCacheUntilActive: false,
    				DebuggingConfiguration: componentbaseconfig.DebuggingConfiguration{
    					EnableProfiling:           true,
    					EnableContentionProfiling: true,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  6. pkg/scheduler/scheduler.go

    	return func(o *schedulerOptions) {
    		o.profiles = p
    		o.applyDefaultProfile = false
    	}
    }
    
    // WithParallelism sets the parallelism for all scheduler algorithms. Default is 16.
    func WithParallelism(threads int32) Option {
    	return func(o *schedulerOptions) {
    		o.parallelism = threads
    	}
    }
    
    // WithPercentageOfNodesToScore sets percentageOfNodesToScore for Scheduler.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourceParallelIntegrationTest.groovy

                // this is because we don't want the cpp compile tasks to accidentally use 
                // the decorated tool provider we set up for testing the parallelism
                tasks.withType(CppCompile) { mustRunAfter tasks.withType(WindowsResourceCompile) }
            """
    
            when:
            succeeds("assemble", "parallelTask")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/v1/defaults.go

    func SetDefaults_KubeSchedulerConfiguration(obj *configv1.KubeSchedulerConfiguration) {
    	logger := klog.TODO() // called by generated code that doesn't pass a logger. See #115724
    	if obj.Parallelism == nil {
    		obj.Parallelism = ptr.To[int32](16)
    	}
    
    	if len(obj.Profiles) == 0 {
    		obj.Profiles = append(obj.Profiles, configv1.KubeSchedulerProfile{})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. pkg/test/echo/server/forwarder/executor.go

    	}
    
    	return e
    }
    
    func (e *executor) ActiveRequests() uint64 {
    	return e.activeRequests.Load()
    }
    
    // NewGroup creates a new group of tasks that can be managed collectively.
    // Parallelism is limited by the global maxConcurrency of the executor.
    func (e *executor) NewGroup() *execGroup {
    	return &execGroup{
    		e:   e,
    		sem: semaphore.NewWeighted(int64(maxConcurrencyPerForward)),
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 10 18:09:08 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/TestProjects.groovy

            if (!gradlePropertiesFile.exists()) {
                throw new IllegalArgumentException("Every test project needs to provide a gradle.properties file with memory and parallelism settings")
            }
            def gradleProperties = new Properties()
            gradlePropertiesFile.withInputStream {gradleProperties.load(it) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top