diff --git a/.gitignore b/.gitignore index 5998c9a..20401ae 100644 --- a/.gitignore +++ b/.gitignore @@ -11,13 +11,14 @@ # HelloWrold.class AStyle.exe *.orig +*/result.txt +xy.txt # 忽略指定文件夹 build/ */bin/ -*/result.txt */__pycache__/ .vs/ .vscode/ */x64/ -*/Debug/ \ No newline at end of file +*/Debug/ diff --git a/common/clock.cuh b/common/clock.cuh index 8b3b4eb..4865797 100644 --- a/common/clock.cuh +++ b/common/clock.cuh @@ -29,5 +29,5 @@ using namespace std::chrono; #define cppClockCurr \ tStop = system_clock::now(); \ - t = duration(tStart - tStop).count(); \ + t = duration(tStop - tStart).count(); \ printf("cpp time cost: %f ms.\n", t); \