Before the error printed, have you seen any warning about uvm ?
I’m afraid you system do not meet uvm profiling system requirements. Then you get such error.
This is all I get when I execute my program:
/usr/local/cuda-8.0/bin/nvprof --unified-memory-profiling per-process-device ./build/mb_bandwidth_unified_v5
==3569== NVPROF is profiling process 3569, command: ./build/mb_bandwidth_unified_v5
======== Error: unified memory profiling failed.
You don’t need root access to fix this. Since you are using Cuda 8.0 this should be working. The problem lies in the ‘iBUS’ config. All you have to do is delete the folder /home/[user]/.config/ibus/bus and the problem will be gone.