Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Device (0.19 sec)

  1. tensorflow/c/c_api_test.cc

        CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        LOG(INFO) << "Device " << i << " has name " << device_name << ", type "
                  << device_type;
        if (string(device_type) == DEVICE_GPU) {
          return device_name;
        }
      }
      // No GPU device found.
      return "";
    }
    
    string GPUDeviceName() {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/BUILD

    )
    
    # Config setting that is satisfied when CUDA device code should be compiled
    # with clang. It does not imply that CUDA support has been enabled.
    alias(
        name = "is_cuda_compiler_clang",
        actual = if_oss(
            "@local_config_cuda//:is_cuda_compiler_clang",
            "@local_config_cuda//cuda:TRUE",
        ),
    )
    
    # Config setting that is satisfied when CUDA device code should be compiled
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  3. configure.py

      Returns:
        string of native cuda compute capabilities, separated by comma.
      """
      device_query_bin = os.path.join(
          environ_cp.get('CUDA_TOOLKIT_PATH'), 'extras/demo_suite/deviceQuery')
      if os.path.isfile(device_query_bin) and os.access(device_query_bin, os.X_OK):
        try:
          output = run_shell(device_query_bin).split('\n')
          pattern = re.compile('[0-9]*\\.[0-9]*')
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  4. .bazelrc

    # specified".
    build:cross_compile_macos_x86 --extra_toolchains=//tensorflow/tools/toolchains/cross_compile/config:macos-x86-cross-compile-cc-toolchain
    # Map --platforms=darwin_x86_64 to --cpu=darwin and vice-versa to make selects()
    # and transistions that use these flags work.
    build:cross_compile_macos_x86 --platform_mappings=tensorflow/tools/toolchains/cross_compile/config/platform_mappings
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
Back to top