skeletons/GPU-CUDA/common/scheduler.c in bones-compiler-1.3.1 vs skeletons/GPU-CUDA/common/scheduler.c in bones-compiler-1.6.0

- old
+ new

@@ -45,11 +45,11 @@ tasks[task_id] = new_task; } // Perform a task (CUDA memory copy) void bones_scheduler_copy(Task current_task) { - usleep(400); + //usleep(400); cudaMemcpyAsync(current_task.dst, current_task.src, current_task.size, current_task.direction, memory_stream); cudaStreamSynchronize(memory_stream); } // Initialize the scheduler @@ -75,10 +75,10 @@ } } // Perform the found task if (found_task != LARGE_INT) { - printf("Performing task %d, dl %d [scheduler]\n",found_task,tasks[found_task].deadline); + //printf("Performing task %d, dl %d [scheduler]\n",found_task,tasks[found_task].deadline); bones_scheduler_copy(tasks[found_task]); tasks[found_task].status = 2; } } cudaStreamDestroy(memory_stream);