summaryrefslogtreecommitdiff
path: root/test/rotate_test.cu
diff options
context:
space:
mode:
Diffstat (limited to 'test/rotate_test.cu')
-rw-r--r--test/rotate_test.cu4
1 files changed, 2 insertions, 2 deletions
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"