resrtric to single run of the application (remove prompt >). switch to malloc instead of cudaMallocManaged for the pthreads version