Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vlado committed Feb 27, 2019
1 parent 200d949 commit ec4eb73
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/storage/storage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,11 @@ void StorageImpl::Alloc(Storage::Handle* handle) {
if (strategy == "Round") {
ptr = new storage::GPUPooledRoundedStorageManager();
LOG(INFO) << "Using GPUPooledRoundedStorageManager.";
}
else if (strategy == "Naive") {
} else if (strategy == "Naive") {
ptr = new storage::GPUPooledStorageManager();
}
else if(strategy == "Unpooled"){
} else if (strategy == "Unpooled") {
ptr = new storage::NaiveStorageManager<storage::GPUDeviceStorage>();
}
else{
} else {
LOG(FATAL) << "Unknown memory pool strategy specified: " << strategy << ".";
}
#else
Expand Down

0 comments on commit ec4eb73

Please sign in to comment.