Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 645 for executors (0.24 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

            // If the context's default exector is set to async, re-using that in
            // each thread would cause collectives to deadlock. For consistency we
            // create a new sync executor for every thread.
            //
            // TODO(allenl): We should have an async API that works with the
            // parallel device.
            device_(device),
            executor_(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutorTest.groovy

            )
        }
    
        def "doesn't do anything if rule is null"() {
            def id = new Id('Alicia')
    
            when:
            executor.execute(id, null, detailsToResult, onCacheMiss, cachePolicy)
    
            then:
            0 * _
        }
    
        def "executes the rule without caching if the rule is not cacheable"() {
            withNonCacheableToUpperCaseRule()
            def id = new Id('Alicia')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

        private final SyncPoint syncPoint = new SyncPoint();
    
        /**
         * Creates an Executor which the test can control.
         */
        protected ExecutorService getExecutor() {
            if (executor == null) {
                executor = new ExecutorImpl();
            }
            return executor;
        }
    
        /**
         * Creates an ExecutorFactory for the test to use.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java

        DefaultBuildOperationQueue(boolean allowAccessToProjectState, WorkerLeaseService workerLeases, Executor executor, QueueWorker<T> queueWorker) {
            this.allowAccessToProjectState = allowAccessToProjectState;
            this.workerLeases = workerLeases;
            this.executor = executor;
            this.queueWorker = queueWorker;
        }
    
        @Override
        public void add(final T operation) {
            lock.lock();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 31 15:18:20 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

            //
    
            assertEquals(16, executions.size());
    
            assertEquals("clean:clean", executions.get(0).getMojoDescriptor().getFullGoalName());
            assertEquals("it:xpp3-writer", executions.get(1).getMojoDescriptor().getFullGoalName());
            assertEquals("it:java", executions.get(2).getMojoDescriptor().getFullGoalName());
            assertEquals("it:xpp3-reader", executions.get(3).getMojoDescriptor().getFullGoalName());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 20:57:17 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGLoggingOutputCaptureIntegrationTest.groovy

                // Broken in 5.12.1, fixed in 5.13
                assert containsLinesThatMatch(result.output,
                    "Gradle Test Executor \\d+ -> static out",
                    "Gradle Test Executor \\d+ -> static err",
                    "Gradle Test Executor \\d+ -> constructor out",
                    "Gradle Test Executor \\d+ -> constructor err"
                )
            }
    
            outputContains expectedOutput('The Foo Test')
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

            def handler = blockingHttpServer.expectConcurrentAndBlock(maxWorkers, calls)
    
            when:
            args("--max-workers=${maxWorkers}")
            executer.withTasks("parallelWorkTask")
            def gradle = executer.start()
    
            then:
            handler.waitForAllPendingCalls()
    
            when:
            handler.release(1)
    
            then:
            handler.waitForAllPendingCalls()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/parallel_execute_to_islands.cc

        tf_device::ParallelExecuteOp parallel_execute_op, OpBuilder* builder,
        llvm::SmallVectorImpl<tf_executor::IslandOp>& executes,
        bool legacy_graph_export, int parallel_group_idx) {
      const int num_regions = parallel_execute_op.getOperation()->getNumRegions();
      executes.reserve(num_regions);
    
      for (int i : llvm::seq<int>(0, num_regions)) {
        Block& execute_block = parallel_execute_op.GetRegionBlockWithIndex(i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 19:47:16 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheConfigurationsContinuousIntegrationTest.groovy

        def setup() {
            requireOwnGradleUserHomeDir()
        }
    
        @Override
        TestFile getGradleUserHomeDir() {
            return executer.gradleUserHomeDir
        }
    
        def "can configure caches via init script and execute multiple builds in a session"() {
            def initDir = new File(executer.gradleUserHomeDir, "init.d")
            initDir.mkdirs()
            new File(initDir, "cache-settings.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy

            when:
            run("build")
    
            then:
            result.assertTaskSkipped(":test")
        }
    
        @Requires(UnitTestPreconditions.Jdk9OrLater)
        def "compiles and executes a Java 9 test suite"() {
            given:
            buildFile << java9Build()
    
            file('src/test/java/MyTest.java') << standaloneTestClass
    
            when:
            succeeds 'test'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top