Skip to content

Commit 8171f79

Browse files
committed
feat(//cpp/benchmark): Increased workspace size for benchmark, may help
results and increase compatibility Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent f9af574 commit 8171f79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cpp/benchmark/main.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ int main(int argc, const char* argv[]) {
136136

137137
#ifdef TRT
138138
auto extra_info = trtorch::ExtraInfo(dims);
139+
extra_info.workspace_size = 1 << 24;
139140

140141
#ifdef HALF
141142
extra_info.op_precision = at::kHalf;

0 commit comments

Comments
 (0)