From 2f2190f002ff618b76b14dd612cca0c37245be26 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 1 Dec 2021 22:07:40 +0800 Subject: [PATCH] update --- .gitignore | 5 +++-- common/clock.cuh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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); \