ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cache alignment of tt
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Rémi Coulom



Joined: 24 Apr 2006
Posts: 366

PostPost subject: Re: cache alignment of tt    Posted: Thu Mar 15, 2012 4:42 pm Reply to topic Reply with quote

bob wrote:
Cardoso wrote:
Hi Bob, sorry, to go back to the AlignedMalloc.
As you might remember I posted here a question about your AlignedMalloc not working on Windows 7, x64 using the MS visual C++ 2010.
I made a compile of crafty 23.4 and couldn't allocante more than 1Gb of hash.
I wonder if the bug is on the "(long)" casting in your code.
Shouldn't in x64 Windows be an _int64?

best regards,
Alvaro


I believe you are correct. I think that "long" on 64 bit windows is STILL 32 bits for reasons I can't fathom...

I will fix this in 23.5 since I use the int64_t type anyway... Will break things for 32 bit machines it would appear, but those machines are pretty much going away anyway...


I am not sure exactly what this discussion is about, but it seems to me that using size_t would be the proper way.

Rémi
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Subject Author Date/Time
cache alignment of tt Daniel Shawul Sun Mar 11, 2012 10:22 pm
      Re: cache alignment of tt H.G.Muller Sun Mar 11, 2012 10:39 pm
            Re: cache alignment of tt Daniel Shawul Sun Mar 11, 2012 11:06 pm
      Re: cache alignment of tt Jon Dart Mon Mar 12, 2012 12:43 am
            Re: cache alignment of tt Daniel Shawul Mon Mar 12, 2012 2:53 am
            Re: cache alignment of tt Vincent Diepeveen Thu Mar 15, 2012 8:12 pm
      Re: cache alignment of tt Robert Purves Mon Mar 12, 2012 4:10 am
            Re: cache alignment of tt Daniel Shawul Mon Mar 12, 2012 4:49 am
      Re: cache alignment of tt Robert Hyatt Mon Mar 12, 2012 5:21 am
            Re: cache alignment of tt Ricardo Barreira Mon Mar 12, 2012 8:25 am
                  Re: cache alignment of tt Robert Hyatt Mon Mar 12, 2012 3:54 pm
                        Re: cache alignment of tt Alvaro Cardoso Tue Mar 13, 2012 12:33 am
                              Re: cache alignment of tt Robert Hyatt Thu Mar 15, 2012 2:15 pm
                                    Re: cache alignment of tt Rémi Coulom Thu Mar 15, 2012 4:42 pm
                                          Re: cache alignment of tt Robert Hyatt Thu Mar 15, 2012 5:03 pm
                                                Re: cache alignment of tt Daniel Shawul Thu Mar 15, 2012 5:08 pm
            Re: cache alignment of tt Daniel Shawul Mon Mar 12, 2012 12:49 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads