Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for set_platform (0.17 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_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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jansi/JansiRuntimeResolver.java

     * limitations under the License.
     */
    
    package org.gradle.internal.nativeintegration.jansi;
    
    public interface JansiRuntimeResolver {
    
        String getOperatingSystem();
        String getPlatform();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 773 bytes
    - Viewed (0)
  10. src/runtime/os_freebsd_arm.go

    		exit(1)
    	}
    }
    
    func archauxv(tag, val uintptr) {
    	switch tag {
    	case _AT_HWCAP:
    		cpu.HWCap = uint(val)
    	case _AT_HWCAP2:
    		cpu.HWCap2 = uint(val)
    	case _AT_PLATFORM:
    		cpu.Platform = gostringnocopy((*byte)(unsafe.Pointer(val)))
    	}
    }
    
    //go:nosplit
    func cputicks() int64 {
    	// runtime·nanotime() is a poor approximation of CPU ticks that is enough for the profiler.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top