diff options
| author | Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> | 2023-09-08 20:12:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-08 17:12:25 -0700 |
| commit | 87bb0b503544f1b8c6ec818e25c695b31cda24b7 (patch) | |
| tree | 61c517aa5eba3292acf803afa321e0f2ec21ce7e /tools/render-test/render-test-main.cpp | |
| parent | 26a0b3e04689fee1ec9ec071eacd72faf1efe4eb (diff) | |
Add check for contiguous tensors (#3199)
Otherwise, this can lead to undetected scenario where the strides are incorrect for non-scalar types (`float2`, `float3`, etc..)
Users must call `tensor = tensor.contiguous()` on the inputs to avoid this error.
Diffstat (limited to 'tools/render-test/render-test-main.cpp')
0 files changed, 0 insertions, 0 deletions
