| Issue |
170367
|
| Summary |
[AMDGPU] Tool to detect race conditions?
|
| Labels |
question
|
| Assignees |
|
| Reporter |
newling
|
Hello! Are there any tools to detect (some) race conditions in AMDGPU assembly?
Example of a race condition that might be detectable by a tool, where there are 2 possible values that might be written to LDS
```asm
[...]
global_load_dword v2, v[10:11], off
; s_waitcnt vmcnt(0)
ds_write_b32 v3, v2
[...]
```
Without the s_waitcnt there is potential for a potentially problematic write-after-read.
All project/tool suggestions much appreciated.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs