mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +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()) {
|
if (!plan || algorithm_idx >= algorithms.size()) {
|
||||||
return errors::Internal("MatmulPlan or algorithms are not initialized!");
|
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,
|
return plan->ExecuteOnStream(stream, a, b, c, c,
|
||||||
bias, // bias_buffer
|
bias, // bias_buffer
|
||||||
se::DeviceMemoryBase{}, // aux_buffer
|
se::DeviceMemoryBase{}, // aux_buffer
|
||||||
|
|
@ -206,8 +207,7 @@ Status PlanAndAlgorithms::ExecuteOnStream(
|
||||||
se::DeviceMemoryBase{}, // c_scale_buffer
|
se::DeviceMemoryBase{}, // c_scale_buffer
|
||||||
se::DeviceMemoryBase{}, // d_scale_buffer
|
se::DeviceMemoryBase{}, // d_scale_buffer
|
||||||
se::DeviceMemoryBase{}, // d_amax_buffer
|
se::DeviceMemoryBase{}, // d_amax_buffer
|
||||||
algorithms[algorithm_idx], scratch_allocator,
|
scratch_allocator, profile_result);
|
||||||
profile_result);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace tensorflow
|
} // namespace tensorflow
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user