Skip to content

Commit 5c234c5

Browse files
committed
Update main.cpp
Made timing output nicer.
1 parent 468ca70 commit 5c234c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HW3/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ int main(int argc, char **argv) {
8787
numRows, numCols, numBins);
8888
timer.Stop();
8989
cudaDeviceSynchronize(); checkCudaErrors(cudaGetLastError());
90-
int err = printf("%f msecs.\n", timer.Elapsed());
90+
int err = printf("Your code ran in: %f msecs.\n", timer.Elapsed());
9191

9292
if (err < 0) {
9393
//Couldn't print! Probably the student closed stdout - bad news

0 commit comments

Comments
 (0)