Skip to content

Commit

Permalink
feat(//cpp/benchmark): Increased workspace size for benchmark, may help
Browse files Browse the repository at this point in the history
results and increase compatibility

Signed-off-by: Naren Dasan <naren@narendasan.com>
Signed-off-by: Naren Dasan <narens@nvidia.com>
  • Loading branch information
narendasan committed May 23, 2020
1 parent f9af574 commit 8171f79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/benchmark/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ int main(int argc, const char* argv[]) {

#ifdef TRT
auto extra_info = trtorch::ExtraInfo(dims);
extra_info.workspace_size = 1 << 24;

#ifdef HALF
extra_info.op_precision = at::kHalf;
Expand Down

0 comments on commit 8171f79

Please sign in to comment.