Home
last modified time | relevance | path

Searched refs:num_gpus_ (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Dcupti_tracer.h108 : num_gpus_(NumGpus()), cupti_interface_(cupti_interface) {} in CuptiTracer()
120 int num_gpus_; variable
Dcupti_collector.cc637 num_gpus_(option.num_gpus), in CuptiTraceCollectorImpl()
641 if (event.device_id >= num_gpus_) return; in AddEvent()
666 for (int i = 0; i < num_gpus_; ++i) { in Export()
679 for (int device_ordinal = 0; device_ordinal < num_gpus_; ++device_ordinal) { in Export()
726 int num_gpus_; member in tensorflow::profiler::CuptiTraceCollectorImpl
Dcupti_tracer.cc1807 if (device_id >= num_gpus_) { in HandleCallback()
1822 for (int i = 0; i < num_gpus_; ++i) { in HandleCallback()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dauto_parallel.cc78 num_gpus_ = GetNumAvailableGPUs(); in Initialize()
79 LOG(INFO) << "Number of GPUs: " << num_gpus_; in Initialize()
228 if (num_gpus_ > 0) { in AddOneReplica()
229 new_node->set_device(strings::StrCat("/gpu:", number % num_gpus_)); in AddOneReplica()
Dauto_parallel.h52 int num_gpus_; variable