Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle limit on Input/Target size #1

Open
notnotnotveg opened this issue Jul 29, 2021 · 0 comments · May be fixed by #9
Open

Handle limit on Input/Target size #1

notnotnotveg opened this issue Jul 29, 2021 · 0 comments · May be fixed by #9

Comments

@notnotnotveg
Copy link
Collaborator

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 ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant