#Unsupported NativeStream range patching in IJobEntity?

1 messages · Page 1 of 1 (latest)

wary coral
#

Is the ParallelForRange patching not supported in IJobEntity?

Creating a NativeStream with an amount of buffers equal to the chunk count, then passing that to an IJobEntity and opening the NativeStream.Writer on the unfilteredChunkIndex for that iteration throws an exception in CheckBeginForEachIndex. Oddly the range does seem to be patched, but for some reason m_MaxIndex is -1 instead of 0. (this is for a query with a single chunk, i.e. a single NativeStream buffer)

pastel temple
#

I raised that bug back in January 2021 with IJobChunk (1308542). It was confirmed it was reproduced and passed along for fix but no news since then.

#

If you are sure of what your are doing, you can work around it by using : PatchMinMaxRange(batchIndex)

wary coral