forked fromROCm/amdgpu
- Notifications
You must be signed in to change notification settings - Fork0
Commit0e0036c
drm/amdgpu: fix no full coverage issue for gprs initialization
The wave's number per simd in aldebaran is changed to 8, so it isimpossible to use old algorithm to initiate all sgprs with onethreadgroup. The new algorithm firstly use three threadgroups toinitiate most sgprs simultaneously and then use another threadgroup with4 waves to cover other uninitiated sgprs.v2:Add more description about the new algorithm to clear sgprs and add somecomment for shader binariesSigned-off-by: Dennis Li <Dennis.Li@amd.com>Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent8baa601 commit0e0036c
2 files changed
+516
-265
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| |||
0 commit comments
Comments
(0)