Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for device_name (0.79 sec)

  1. tensorflow/c/c_api_test.cc

      for (int i = 0; i < num_devices; ++i) {
        const char* device_name = TF_DeviceListName(device_list, i, s);
        CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        const char* device_type = TF_DeviceListType(device_list, i, s);
        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) {
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. ci/official/containers/ml_build_arm64/builder.devtoolset/stringop_trunc.patch

       pid_t ut_pid;			/* Process ID of login process.  */
    -  char ut_line[UT_LINESIZE];	/* Devicename.  */
    -  char ut_id[4];		/* Inittab ID.  */
    -  char ut_user[UT_NAMESIZE];	/* Username.  */
    -  char ut_host[UT_HOSTSIZE];	/* Hostname for remote login.  */
    +  char ut_line[UT_LINESIZE]
    +    __attribute_nonstring__;	/* Devicename.  */
    +  char ut_id[4]
    +    __attribute_nonstring__;		/* Inittab ID.  */
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top