mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 00:19:58 +01:00
Merge pull request #88548 from ROCm:gpublaslt_refactoring2_matmul_plan
PiperOrigin-RevId: 753162409
This commit is contained in:
commit
cfd4e4d85e
|
|
@ -198,6 +198,7 @@ Status PlanAndAlgorithms::ExecuteOnStream(
|
|||
if (!plan || algorithm_idx >= algorithms.size()) {
|
||||
return errors::Internal("MatmulPlan or algorithms are not initialized!");
|
||||
}
|
||||
TF_RETURN_IF_ERROR(plan->SetAlgorithm(algorithms[algorithm_idx]));
|
||||
return plan->ExecuteOnStream(stream, a, b, c, c,
|
||||
bias, // bias_buffer
|
||||
se::DeviceMemoryBase{}, // aux_buffer
|
||||
|
|
@ -206,8 +207,7 @@ Status PlanAndAlgorithms::ExecuteOnStream(
|
|||
se::DeviceMemoryBase{}, // c_scale_buffer
|
||||
se::DeviceMemoryBase{}, // d_scale_buffer
|
||||
se::DeviceMemoryBase{}, // d_amax_buffer
|
||||
algorithms[algorithm_idx], scratch_allocator,
|
||||
profile_result);
|
||||
scratch_allocator, profile_result);
|
||||
}
|
||||
|
||||
} // namespace tensorflow
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user