Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2016-11-01

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
12:13 opkick [pdl] devel-chm commented on issue #200: Thanks for the report.  Could you attach the output of perl -V to this ticket.  Presumably, there should be something in the build options about making pointer 16byte aligned....I hope. https://git.io/vXYbU
12:19 opkick [pdl] iainlane commented on issue #200: Ahh, I didn't know about perl -V... https://git.io/vXYbw
13:19 opkick [pdl] devel-chm commented on issue #200: For reference, here is a link with discussion of the issue(s):... https://git.io/vXOeP
16:51 opkick [pdl] devel-chm commented on issue #200: Looking at the code in transform.pd, it seems the general fix needs to be to add proper consideration of memory alignment constraints during data allocation.  From your perl -V output, you have ptrsize=4, doublesize=8, ivsize=sizeof(PDL_Index)=8, and alignbytes=8.  A quick fix for this plaform would be to use some type of memalign to allocate the memory. https://git.io/vXOV0
17:11 opkick [pdl] devel-chm commented on issue #200: It looks like the problem with the existing code is the generation of the pointers to the memory regions.  It gets off for the char data where the calculation does not include the needed alignment.  It looks like the calculations do not include little-endian versus big-endian hardware either. https://git.io/vXO63

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary