4. 给CUDA程序计时 通过做差的方法来实现 clock start = clock() Work load clock end = clock() difference = end - start time = (difference / clocks_per_sec) 注意:要根据实际程序的运行时间除以合理的数字 给cpu计时: //summation in CPU clock_t cpu_start,</