Skip to content

Commit

Permalink
Passsing device info to requiredWorkspaceSize()
Browse files Browse the repository at this point in the history
  • Loading branch information
vin-huang committed Sep 11, 2024
1 parent 6af2ee9 commit eec3fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/hcc_detail/rocsparselt/src/tensile_host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ rocsparselt_status getBestSolutions(const RocsparseltContractionProblem<Ti, To,
{
auto solution = solutions[i];
configs[i].index = solution->index;
configs[i].max_workspace_bytes = solution->requiredWorkspaceSize(tensile_prob);
configs[i].max_workspace_bytes = solution->requiredWorkspaceSize(tensile_prob, *hardware);
configs[i].use_bias = tensile_prob.useBias();
configs[i].use_scale_alpha_vec = tensile_prob.useScaleAlphaVec();
}
Expand Down

0 comments on commit eec3fc4

Please sign in to comment.