summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/CUDA/template/template_kernel.cu1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmarks/CUDA/template/template_kernel.cu b/benchmarks/CUDA/template/template_kernel.cu
index f65507b..4ced538 100644
--- a/benchmarks/CUDA/template/template_kernel.cu
+++ b/benchmarks/CUDA/template/template_kernel.cu
@@ -47,6 +47,7 @@ testKernel( float* g_idata, float* g_odata)
// emulation
SDATA(tid) = g_idata[tid];
__syncthreads();
+ printf("thread tid=%u reads %f from g_idata[]\n", tid, sdata[tid]);
// perform some computations
SDATA(tid) = (float) num_threads * SDATA( tid);