Skip to content

Add method to check if stream is OK

Niamh Nikali requested to merge XX-2950/fix-segfaults into release

Also return early from createStream if allocations for return structs fail

This makes it easier to ensure that all heap allocations involved in the stream creation succeeded. Because it's required to be physically contiguous, the CPU buffer is the most likely allocation to fail, but all should be checked for success either here or in gpumathsgo.

Merge request reports