Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 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.h

      // allow_growth is ignored.
      TF_Bool force_memory_growth;
    } SP_Platform;
    
    #define SP_PLATFORM_STRUCT_SIZE \
      TF_OFFSET_OF_END(SP_Platform, force_memory_growth)
    
    typedef struct SP_PlatformFns {
      size_t struct_size;
    
      void* ext;  // reserved for future use
    
      // Callbacks for getting device count
      void (*get_device_count)(const SP_Platform* platform, int* device_count,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc

    }
    
    /*** Functions for creating SP_Platform ***/
    void CreateTimerFns(const SP_Platform* platform, SP_TimerFns* timer_fns,
                        TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
      PopulateDefaultTimerFns(timer_fns);
    }
    void DestroyTimerFns(const SP_Platform* platform, SP_TimerFns* timer_fns) {}
    
    void CreateStreamExecutor(const SP_Platform* platform,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 21 20:09:00 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jansi/JansiLibraryFactory.java

            switch (osSupport) {
                case MAC_OS_X: return new JansiLibrary(os, MAC_OSX_LIB_FILENAME);
                case LINUX: return new JansiLibrary(jansiRuntimeResolver.getPlatform(), LINUX_LIB_FILENAME);
                case WINDOWS: return new JansiLibrary(jansiRuntimeResolver.getPlatform(), WINDOWS_LIB_FILENAME);
                default: return null;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/stream_executor/stream_executor_test_util.h

    void PopulateDefaultTimerFns(SP_TimerFns* timer_fns);
    void PopulateDefaultPlatform(SP_Platform* platform,
                                 SP_PlatformFns* platform_fns);
    void PopulateDefaultPlatformRegistrationParams(
        SE_PlatformRegistrationParams* const params);
    
    void DestroyPlatform(SP_Platform* platform);
    void DestroyPlatformFns(SP_PlatformFns* platform_fns);
    
    }  // namespace test_util
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 17 01:32:30 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jansi/JansiLibrary.java

        private final String filename;
    
        public JansiLibrary(String platform, String filename) {
            this.platform = platform;
            this.filename = filename;
        }
    
        public String getPlatform() {
            return platform;
        }
    
        public String getFilename() {
            return filename;
        }
    
        public String getPath() {
            return platform + "/" + filename;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. 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)
Back to top