May 2019
Intermediate to advanced
452 pages
12h 16m
English
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "All the elements of the p and q arrays are set to 24 and 12 respectively"
A block of code is set as follows:
// Run function on 500 Million elements on the CPU begin = clock(); multiply(N, p, q); end = clock(); cpu_time_used = ((double) (end - begin)) / CLOCKS_PER_SEC;
Any command-line input or output is written as follows:
$ g++ cpu_multiply.cpp -o cpu_multiply$ ./cpu_multiply
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in ...
Read now
Unlock full access