From 16d53cb05e36f956d8a047921231fceba4fc1a69 Mon Sep 17 00:00:00 2001 From: Tuan Le Date: Thu, 15 Jul 2010 20:42:13 +0000 Subject: [PATCH] remove some unused variables svn path=/trunk/boinc/; revision=21960 --- samples/nvcuda/cuda_kernel.cu | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/samples/nvcuda/cuda_kernel.cu b/samples/nvcuda/cuda_kernel.cu index 485b6a4eef..d93ac60444 100644 --- a/samples/nvcuda/cuda_kernel.cu +++ b/samples/nvcuda/cuda_kernel.cu @@ -83,9 +83,8 @@ void invertge(REAL * AI_d, int lda, int n) { /* inverts nxn matrix A and stores result back in A */ extern void invert(REAL * A, int n) { fprintf(stderr,"starting inversion n = %d ", n); - volatile clock_t gputime, gputime0; + volatile clock_t gputime; gputime=clock(); - gputime0 = gputime; int lda = ((n+15)&~15|16); REAL * AI = (REAL *)malloc(sizeof(REAL)*(n*lda*2));