summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer/debug-command-encoder.h
diff options
context:
space:
mode:
authorSai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com>2023-09-08 20:12:25 -0400
committerGitHub <noreply@github.com>2023-09-08 17:12:25 -0700
commit87bb0b503544f1b8c6ec818e25c695b31cda24b7 (patch)
tree61c517aa5eba3292acf803afa321e0f2ec21ce7e /tools/gfx/debug-layer/debug-command-encoder.h
parent26a0b3e04689fee1ec9ec071eacd72faf1efe4eb (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/gfx/debug-layer/debug-command-encoder.h')
0 files changed, 0 insertions, 0 deletions