Port an OpenMP program that extends the Sprague-Grundy sequences of generated octal (take-and-break) games heap size by heap size (mex of all split xors), certifies periods with the octal periodicity theorem and solves a batch of multi-heap positions (winning-move counts) to CUDA and make it fast
harbor run -t elfsong/cpu2gpu-bits-grundy-mexharbor download elfsong/cpu2gpu-bits-grundy-mexRevision 10ca6104ePublished by elfsong
Revision 9381d18bPublished by elfsong
Revision 86458931Published by elfsong
Revision 723cdb87Published by elfsong
Revision 659b15eePublished by elfsong
Revision 53f4bb31Published by elfsong
Revision 425e5f70Published by elfsong
Revision 394326e5Published by elfsong
Revision 213eaf65Published by elfsong
Revision 1251de8bPublished by elfsong