Skip to content

Commit

Permalink
faster network test
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger Waleffe authored and Roger Waleffe committed Nov 22, 2023
1 parent f5ecbb3 commit eb516eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/src/pipeline/pipeline_gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

void batchToDevice(Pipeline* pipeline_, shared_ptr<Batch> batch) {
if (batch->sub_batches_.size() > 0) {
#pragma omp parallel for
// #pragma omp parallel for
for (int i = 0; i < batch->sub_batches_.size(); i++) {
batch->sub_batches_[i]->to(pipeline_->model_->device_models_[i]->device_, pipeline_->dataloader_->compute_streams_[i]);
}
Expand Down

0 comments on commit eb516eb

Please sign in to comment.