Skip to content

Handle limit on Input/Target size #1

Open
@notnotnotveg

Description

Currently, the code does not support verification of the size of the Input and Target lists (number of networks/hosts in the respective files).

This is because of the maximum grid dimensions supported provides an upper limit on the number of elements that can be passed to the Cuda Kernel.

>>> print("maxGridDimY = %s" % str(gpu.MAX_GRID_DIM_Y))
maxGridDimY = 65535
>>> print("maxGridDimX = %s" % str(gpu.MAX_GRID_DIM_X))
maxGridDimX = 2147483647

As an example, this sets the upper limit on the Input array to be 2031554 ( 31*65535 + 1 - 32 ).

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions