Skip to content

Commit

Permalink
[xla:cpu] Use default ThreadOptions for eigen intra-op thread pool
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 666109330
  • Loading branch information
ezhulenev authored and copybara-github committed Aug 22, 2024
1 parent e6667b5 commit 0fbf2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xla/pjrt/cpu/cpu_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ TfrtCpuClient::TfrtCpuClient(
owned_devices_(std::move(devices)),
computation_placer_(std::make_unique<ComputationPlacer>()),
eigen_intraop_pool_(new tsl::thread::ThreadPool(
tsl::Env::Default(), "XLAEigen",
tsl::Env::Default(), GetThreadOptions(), "XLAEigen",
std::min(num_threads, kMaxIntraOpThreads))),
eigen_intraop_device_(
new Eigen::ThreadPoolDevice(eigen_intraop_pool_->AsEigenThreadPool(),
Expand Down

0 comments on commit 0fbf2e1

Please sign in to comment.