Commit ac6fe48
Adjust max chunk size to fix error limit check from DX12 for large resources that are CPU accessible. (microsoft#22680)
Adjust max chunk size to fix error limit check from DX12 for large
resources that are CPU accessible.
### Description
Current agility SDK restricts CPU visible buffers to 0xFFFF0000 bytes or
slightly smaller than 4GiB. Verified restriction is still in latest
Agility SDK 1.614.1.
### Motivation and Context
Allocation of Resources 4GiB or larger fail in DX12 verification layer.
---------
Co-authored-by: Dwayne Robinson <[email protected]>1 parent 120cb5a commit ac6fe48
File tree
2 files changed
+3
-2
lines changed- onnxruntime/core/providers/dml/DmlExecutionProvider/src
2 files changed
+3
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
| 128 | + | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments