Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for set_platform (0.21 sec)

  1. tensorflow/compiler/jit/xla_platform_info.cc

                                       platform.value()->Name(), ": ",
                                       status.ToString());
        }
      }
    
      xla::LocalClientOptions client_options;
      client_options.set_platform(platform.value());
      if (device != nullptr) {
        client_options.set_intra_op_parallelism_threads(
            device->tensorflow_cpu_worker_threads()->num_threads);
      }
    
      if (flr != nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 17:23:27 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_device.cc

      // details of the host hardware when the client is created, so we
      // don't want to do it until we get a chance to hook the platform up
      // to a simulator.
    
      xla::LocalClientOptions options;
      options.set_platform(platform_)
          .set_allowed_devices(allowed_devices_)
          .set_intra_op_parallelism_threads(intra_op_parallelism_threads_);
      return xla::ClientLibrary::GetOrCreateLocalClient(options);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor.cc

    using OwnedTFStatus = tensorflow::TF_StatusPtr;
    
    namespace {
    absl::Status ValidateSPPlatform(const SP_Platform& platform) {
      TF_VALIDATE_STRUCT_SIZE(SP_Platform, platform, SP_PLATFORM_STRUCT_SIZE);
      TF_VALIDATE_NOT_NULL(SP_Platform, platform, name);
      TF_VALIDATE_NOT_NULL(SP_Platform, platform, type);
      TF_RETURN_IF_ERROR(
          tensorflow::device_utils::ValidateDeviceType(platform.name));
      TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

    // "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)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jansi/DefaultJansiRuntimeResolver.java

            }
            if (name.startsWith("win")) {
                return WINDOWS.getIdentifier();
            }
            return name.replaceAll("\\W+", "_");
        }
    
        @Override
        public String getPlatform() {
            return getOperatingSystem() + getBitModel();
        }
    
        private int getBitModel() {
            String prop = System.getProperty("sun.arch.data.model");
            if (prop == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      absl::Status status =
          InitStreamExecutorPlugin(plugin_init, &device_type, &platform_name);
      ASSERT_EQ(status.code(), tensorflow::error::FAILED_PRECONDITION);
      ASSERT_EQ(status.message(), "'name' field in SP_Platform must be set.");
    }
    
    TEST(StreamExecutor, InvalidNameWithSemicolon) {
      auto plugin_init = [](SE_PlatformRegistrationParams* const params,
                            TF_Status* const status) -> void {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_launch_util.cc

      output_tensor_shapes.reserve(ctx->num_outputs());
      if (output.on_host_shape().is_dynamic()) {
        const se::Platform* platform = nullptr;
        if (stream != nullptr) {
          platform = stream->parent()->GetPlatform();
        } else {
          // Stream is not set for the host platform.
          TF_ASSIGN_OR_RETURN(platform,
                              se::PlatformManager::PlatformWithId(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  8. src/runtime/os_linux.go

    	if ret < 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    }
    
    const (
    	_AT_NULL     = 0  // End of vector
    	_AT_PAGESZ   = 6  // System physical page size
    	_AT_PLATFORM = 15 // string identifying platform
    	_AT_HWCAP    = 16 // hardware capability bit vector
    	_AT_SECURE   = 23 // secure mode boolean
    	_AT_RANDOM   = 25 // introduced in 2.6.29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  9. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    	}
    	return ""
    }
    
    func (x *GlobalConfig) GetAutoscalingv2API() *wrapperspb.BoolValue {
    	if x != nil {
    		return x.Autoscalingv2API
    	}
    	return nil
    }
    
    func (x *GlobalConfig) GetPlatform() string {
    	if x != nil {
    		return x.Platform
    	}
    	return ""
    }
    
    func (x *GlobalConfig) GetIpFamilies() []string {
    	if x != nil {
    		return x.IpFamilies
    	}
    	return nil
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
Back to top