Apparently, the video card processes its text faster than the CPU.
Apparently, the video card processes its text faster than the CPU.

In the CUDA SDK, Nvidia’s platform for parallel computing on graphics cores of video cards, found the full text of the novel “War and Peace” by Leo Tolstoy. As it turned out, the book is used in one of the examples of working with CUDA.
This example uses CUDA to count the number of letters w, x, y, and z (an English translation of the novel is included in the SDK). Apparently, the volume of “War and Peace” was enough for the GPU to carry out such calculations faster than the CPU.

Most likely, they decided to choose War and Peace, because including the novel in the CUDA SDK will not violate copyright. The English version of the book, digitized by Project Gutenberg, is also available on Nvidia’s GitHub.
It is interesting