These actually arent the code for the book per se, but codes from the samples directory of CUDA toolkit that comes as part of Jetson board.