Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,658 for CPlatform (0.16 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor.cc

      std::unique_ptr<stream_executor::CPlatform> cplatform(
          new stream_executor::CPlatform(
              std::move(platform), params.destroy_platform, std::move(platform_fns),
              params.destroy_platform_fns, std::move(device_fns), std::move(se),
              std::move(timer_fns)));
      TF_CHECK_OK(
          stream_executor::PlatformManager::RegisterPlatform(std::move(cplatform)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

    // the C API defined in stream_executor.h. A class "CSomething" represents a
    // "Something" that can be manipulated via calls in the C interface.
    class CPlatform : public Platform {
     public:
      explicit CPlatform(SP_Platform platform,
                         void (*destroy_platform)(SP_Platform*),
                         SP_PlatformFns platform_fns,
                         void (*destroy_platform_fns)(SP_PlatformFns*),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      TF_ASSERT_OK(status);
      absl::StatusOr<Platform*> maybe_platform =
          PlatformManager::PlatformWithName("MY_DEVICE");
      TF_ASSERT_OK(maybe_platform.status());
      Platform* platform = std::move(maybe_platform).value();
      ASSERT_EQ(platform->Name(), test_util::kDeviceName);
      ASSERT_EQ(platform->VisibleDeviceCount(), test_util::kDeviceCount);
    
      absl::StatusOr<StreamExecutor*> maybe_executor =
    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. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

      companion object {
        @Volatile private var platform = findPlatform()
    
        const val INFO = 4
        const val WARN = 5
    
        private val logger = Logger.getLogger(OkHttpClient::class.java.name)
    
        @JvmStatic
        fun get(): Platform = platform
    
        fun resetForTests(platform: Platform = findPlatform()) {
          this.platform = platform
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. pkg/bootstrap/platform/platform.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package platform
    
    import (
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    )
    
    const (
    	KubernetesServiceHost = "KUBERNETES_SERVICE_HOST"
    )
    
    // Environment provides information for the platform on which the bootstrapping
    // is taking place.
    type Environment interface {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 07 20:19:01 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Platform.java

    import javax.annotation.CheckForNull;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class Platform {
      static boolean isInstanceOfThrowableClass(
          @CheckForNull Throwable t, Class<? extends Throwable> expectedClass) {
        return expectedClass.isInstance(t);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 10 12:27:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Platform.java

    import javax.annotation.CheckForNull;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class Platform {
      static boolean isInstanceOfThrowableClass(
          @CheckForNull Throwable t, Class<? extends Throwable> expectedClass) {
        return expectedClass.isInstance(t);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 10 12:27:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

    import jsinterop.annotations.JsType;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Minimal GWT emulation of {@code com.google.common.collect.Platform}.
     *
     * @author Hayward Chan
     */
    final class Platform {
      static <K, V> Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return Maps.newHashMapWithExpectedSize(expectedSize);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 29 18:16:45 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Locale;
    
    /**
     * This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
      /** Format the template with args, only supports the placeholder {@code %s}. */
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/Platform.java

    import java.util.Locale;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * <p>This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top