diff options
author | Anthony LaTorre <devnull@localhost> | 2012-12-21 11:46:24 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:39 -0700 |
commit | 79e3643283034e1923c2a84fe0c4d0eb52b97570 (patch) | |
tree | 3c41502f8f99b51940f31ef20afedb56f08927ab /test/rotate_test.cu | |
parent | 581f4305ffe86cb42d5bcaa9bf081e6ea4abceca (diff) | |
download | chroma-79e3643283034e1923c2a84fe0c4d0eb52b97570.tar.gz chroma-79e3643283034e1923c2a84fe0c4d0eb52b97570.tar.bz2 chroma-79e3643283034e1923c2a84fe0c4d0eb52b97570.zip |
rotate() does not need to create a matrix. update test. remove superflous function in last commit.
Diffstat (limited to 'test/rotate_test.cu')
-rw-r--r-- | test/rotate_test.cu | 4 |
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" |