A. For architectures up to and including Pascal: 1. Go to https://github.com/NVlabs/NVBit/releases/tag/1.7 and download nvbit-Linux-x86_64-1.7-1.tar.bz2. 2. Unzip using the following command: bunzip2 nvbit-Linux-x86_64-1.7-1.tar.bz2 3. Untar using the following command: tar -xvf nvbit-Linux-x86_64-1.7-1.tar 4. Change directory to nvbit_release/test-apps cd nvbit_release/test-apps 5. Check that in vectoradd/Makefile -arch=sm_60 6. Run make 7. Run ./vectoradd/vectoradd It should run without any error. 8. Change directory to nvbit_release/tools 9. In the Makefile of each subdirectory, replace the line ARCH?=all by ARCH=all 10. Run make This will build all the NVBit tools 11. To run the instr_count tool on vectoradd, execute the following from nvbit_release/ directory: LD_PRELOAD=./tools/instr_count/instr_count.so ./test-apps/vectoradd/vectoradd ----------------------------------------------------------------------------------------------------------- B. For post-Pascal architectures: 1. Go to https://github.com/NVlabs/NVBit/releases/tag/v1.8 and download nvbit-Linux-x86_64-1.8.tar.bz2. 2. Unzip using the following command: bunzip2 nvbit-Linux-x86_64-1.8.tar.bz2 3. Untar using the following command: tar -xvf nvbit-Linux-x86_64-1.8.tar 4. Change directory to nvbit_release_x86_64/test-apps cd nvbit_release_x86_64/test-apps 5. Check that in Makefile and vectoradd/Makefile ARCH=sm_80 6. Run make 7. Run ./vectoradd/vectoradd It should run without any error. 8. Change directory to nvbit_release_x86_64/tools 9. In the Makefile of each subdirectory, replace the line ARCH?=all by ARCH=all 10. Run make This will build all the NVBit tools. 11. To run the instr_count tool on vectoradd, execute the following from nvbit_release_x86_64/ directory: LD_PRELOAD=./tools/instr_count/instr_count.so ./test-apps/vectoradd/vectoradd