Skip to content

Commit

Permalink
drm/amdgpu: add synchronization among waves in the same threadgroup
Browse files Browse the repository at this point in the history
It is possible that the previous waves have exited before others are
created, so the other waves maybe reuse pyhsical resouces left by
previous ones. Therefore add barrier instruction to synchronize waves within
the same threadgroup.

Signed-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>
  • Loading branch information
Dennis Li authored and Alex Deucher committed May 20, 2021
1 parent cbd4945 commit 1acbb61
Showing 1 changed file with 142 additions and 134 deletions.
Loading

0 comments on commit 1acbb61

Please sign in to comment.