unsigned int timer_cpu = 0;
cutilCheckError(cutCreateTimer(&timer_cpu));
- cutilCheckError(cutStartTimer(timer_cpu));
+ cutilCheckError(cutStartTimer(timer_cpu));
double dot=0;
for(i=0;i<size;i++) {
h_arrayC[i]=h_arrayA[i]+h_arrayB[i];
unsigned int timer_gpu = 0;
cutilCheckError(cutCreateTimer(&timer_gpu));
- cutilCheckError(cutStartTimer(timer_gpu));
+ cutilCheckError(cutStartTimer(timer_gpu));
stat = cublasSetVector(size,sizeof(double),h_arrayA,1,d_arrayA,1);
stat = cublasSetVector(size,sizeof(double),h_arrayB,1,d_arrayB,1);
int nbBlocs=(size+nbThreadsPerBloc-1)/nbThreadsPerBloc;