Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for task_id (0.21 sec)

  1. src/internal/trace/reader.go

    		return &Reader{
    			r: br,
    			order: ordering{
    				mStates:     make(map[ThreadID]*mState),
    				pStates:     make(map[ProcID]*pState),
    				gStates:     make(map[GoID]*gState),
    				activeTasks: make(map[TaskID]taskState),
    			},
    			// Don't emit a sync event when we first go to emit events.
    			emittedSync: true,
    		}, nil
    	default:
    		return nil, fmt.Errorf("unknown or unsupported version go 1.%d", v)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

        }
    
        private <U extends TaskInternal> U task(final String name, Class<U> type) {
            def taskId = taskIdentityFactory.create(name, type, project)
            Mock(type, name: "[task" + taskId.id + "]") {
                getName() >> name
                getTaskDependency() >> Mock(TaskDependency)
                getTaskIdentity() >> taskId
            } as U
        }
    
        private Task addTask(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/device_util.cc

      if (!DeviceNameUtils::ParseFullName(
              absl::string_view(device.data(), device.size()), &parsed_name))
        return mlir::emitError(loc) << "invalid device '" << device << "'";
    
      if (!parsed_name.has_id)
        return mlir::emitError(loc) << "device '" << device << "' has no id";
    
      *device_ordinal = parsed_name.id;
      return mlir::success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. src/internal/trace/internal/testgen/go122/trace.go

    	case "m":
    		u = uint64(arg.(trace.ThreadID))
    	case "p":
    		u = uint64(arg.(trace.ProcID))
    	case "string":
    		u = b.gen.String(arg.(string))
    	case "task":
    		u = uint64(arg.(trace.TaskID))
    	default:
    		panic(fmt.Sprintf("unsupported arg type %q for spec %q", typStr, argSpec))
    	}
    	return u
    }
    
    // RawEvent emits an event into a batch. name must correspond to one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

            return mlir::failure();
          if (!parsed_name.has_type) {
            parsed_name.type = "CPU";
            parsed_name.has_type = true;
          }
          if (!parsed_name.has_id) {
            parsed_name.id = 0;
            parsed_name.has_id = true;
          }
          output.push_back(mlir::NamedAttribute(
              mlir::StringAttr::get(context, "device"),
              mlir::StringAttr::get(
                  context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/core-plugins/war_plugin.adoc

    The War plugin adds and modifies the following tasks:
    
    `war` — link:{groovyDslPath}/org.gradle.api.tasks.bundling.War.html[War]::
    _Depends on_: `compile`
    +
    Assembles the application WAR file.
    
    `assemble` - _lifecycle task_::
    _Depends on_: `war`
    
    The War plugin adds the following dependencies to tasks added by the Java plugin;
    
    .War plugin - tasks
    image::warPluginTasks.png[]
    
    [[sec:war_dependency_management]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/README.md

    ### Code snippets
    
    As an example, you can run Kotlin and Groovy snippets tests from [`src/snippets/java/toolchain-task/`](src/snippets/java/toolchain-task) using:
    ```
    ./gradlew :docs:docsTest --tests "*.snippet-java-toolchain-task_*"
    ```
    
    You can also filter the tests for a specific DSL like this:
    ```
    ./gradlew :docs:docsTest --tests "*.snippet-java-toolchain-task_kotlin_*"
    ```
    
    ### Testing with configuration cache
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 21:49:03 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/dlpack.cc

      DeviceNameUtils::ParsedName parsed_name;
      tensorflow::DeviceNameUtils::ParseFullName(device_name, &parsed_name);
      std::string device_type = parsed_name.type;
      int device_id = 0;
      if (parsed_name.has_id) {
        device_id = parsed_name.id;
      }
    
      ctx.device_id = device_id;
      if (device_type == "CPU") {
        ctx.device_type = DLDeviceType::kDLCPU;
      } else if (device_type == "GPU") {
    #if TENSORFLOW_USE_ROCM
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    absl::StatusOr<llvm::SmallVector<ParsedDevice, 8>> GetTPUSystemDevices(
        ParsedDevices devices) {
      ParsedDevice spec;
      spec.type = kDeviceTPUSystem;
      spec.has_type = true;
      spec.id = 0;
      spec.has_id = true;
    
      llvm::SmallVector<ParsedDevice, 8> system_devices =
          FindMatchingDevices(devices, spec);
      if (system_devices.empty())
        return absl::InvalidArgumentError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    When the <<#native_binaries:cunit,CUnit>> or <<#native_binaries:google_test,GoogleTest>> plugins are applied, the task that executes the test suites for a component are automatically wired to the appropriate _check task_.
    
    You can also add custom check tasks as follows:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
Back to top