| 182 | } |
| 183 | |
| 184 | int NumHyperthreadsPerCore() { |
| 185 | static const int ht_per_core = tensorflow::port::CPUIDNumSMT(); |
| 186 | return (ht_per_core > 0) ? ht_per_core : 1; |
| 187 | } |
| 188 | |
| 189 | } // namespace port |
| 190 | } // namespace tensorflow |
nothing calls this directly
no test coverage detected