Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GPUDeviceName (0.28 sec)

  1. tensorflow/c/c_api_test.cc

    TEST(CAPI, Session_Min_GPU) {
      const string gpu_device = GPUDeviceName();
      // Skip this test if no GPU is available.
      if (gpu_device.empty()) return;
    
      RunMinTest(gpu_device, /*use_XLA=*/false);
    }
    
    TEST(CAPI, Session_Min_XLA_GPU) {
      const string gpu_device = GPUDeviceName();
      // Skip this test if no GPU is available.
      if (gpu_device.empty()) return;
    
    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)
Back to top