bugfixes and notes for profiling for cuda processing