From 79e3643283034e1923c2a84fe0c4d0eb52b97570 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Fri, 21 Dec 2012 11:46:24 -0500 Subject: rotate() does not need to create a matrix. update test. remove superflous function in last commit. --- test/rotate_test.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/rotate_test.cu') diff --git a/test/rotate_test.cu b/test/rotate_test.cu index 6cafc12..5cd3a3a 100644 --- a/test/rotate_test.cu +++ b/test/rotate_test.cu @@ -5,10 +5,10 @@ extern "C" { -__global__ void rotate(float3 *a, float *phi, float3 *n, float3 *dest) +__global__ void rotate(float3 *a, float *phi, float3 n, float3 *dest) { int idx = blockIdx.x*blockDim.x + threadIdx.x; - dest[idx] = rotate(a[idx], phi[idx], n[idx]); + dest[idx] = rotate(a[idx], phi[idx], n); } } // extern "c" -- cgit