You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For complete 64bit index support we'll need to ensure that all the existing modules do the right thing when computing with large PDL_Indx offsets. This is specifically a problem for code that assumes that an int is the largest integer data type. TODO:
write test to determine if 64bit safe
add runtime checks with warnings/die if too big values are passed to non-supporting routine
convert to support PDL_Indx type (can handle either 32bit or 64bit depending on platform)
It would be nice if we could implement a common check routine that could be added to the relevant modules.
The text was updated successfully, but these errors were encountered:
PDL::FFT needed a couple of int changed to size_t. A more serious problem was its lack of thread-safety due to global malloc-ed memory-chunks, but C99 variable-length arrays (or with factorize, just pass it a stack-allocated fixed-size array) fixed it.
For complete 64bit index support we'll need to ensure that all the existing modules do the right thing when computing with large PDL_Indx offsets. This is specifically a problem for code that assumes that an int is the largest integer data type. TODO:
It would be nice if we could implement a common check routine that could be added to the relevant modules.
The text was updated successfully, but these errors were encountered: