Commit da6e705
authored
[Test][XPU] Added gpu cache cleaning for XPU devices (#917)
## Summary
Enable GPU cache cleaning for XPU devices
## Details
I discovered this issue while working on
intel/intel-xpu-backend-for-triton#5292
Basically testing on XPU was hanging indefinitely, but it was not due to
a specific test. Hanging only occurred if many tests were run
sequentially. In my local experiments on Intel Data Center GPU Max 1100
this patch resolves hanging issue.
The patch is small and unlikely to cause problems for cuda.
## Testing Done
`pytest test` with Intel Data Center GPU Max 1100
- Hardware Type: Intel Data Center GPU Max 1100
- [x] run `make test` to ensure correctness
- [x] run `make checkstyle` to ensure code style
- [x] run `make test-convergence` to ensure convergence1 parent c7111b4 commit da6e705
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments