xnn.cnn.fast.conv.CHUNK_ELEMENTS#
- xnn.cnn.fast.conv.CHUNK_ELEMENTS = 16777216#
Output elements per cuDNN call. The workspace of the channels-last kernels grows with the batch (several times the output), while their time per grid levels off from a few dozen grids on: a large batch runs in batch chunks of this size, which keeps the speed and bounds the workspace.