I used this little script to test indexing.
use PDL;
use PDL::NiceSlice;
$PDL::BIGPDL = 1;
$x=ones(byte, 1024*1024*1024*4+10)*40;
print $x(2**32+2:2**32+7);
Sorry, I don't have the time to dive into writing test suite, atm. This
at least requires both indexes to be 64ibt.
Hope this helps
Ingo
On 05/19/2012 03:54 PM, chm wrote:
[Bump]
> Also, I'm still looking for volunteer(s) to help to write a
> t/64bit-index-support.t test suite. The tests need to be
> specific to large index support so they should use piddles
> bigger than 4GB.
Volunteer(s)?
On 5/8/2012 10:00 AM, Chris Marshall wrote:
All-
I've just pushed another fix to the 64bit-index-support branch.
The problem was strtol() being used in slices.pd to convert
the input strings into index values. Those calls have now been
upgraded to use strtoll() instead so I'm hoping things will work
better for large index slicing operations. Please check.
Also, I'm still looking for a volunteer to help to write the first
t/64bit-index-support.t test suite. The tests need to be
specific to large index support so they should use piddles
bigger than 4GB.
Additionally, if you have a 64bit platform, more than 4GB of
RAM and the ability to debug PDL+XS/PP code, I would
really appreciate if you could make some time to help
track down bugs and test failures with the new code. Already
reported is some issue related to "double frees" and a number
of tests fail.
Thanks for any support you can lend!
Chris
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1424 / Virus Database: 2411/4983 - Release Date: 05/07/12
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl