Skip to content

Commit

Permalink
fix ROR2 for Kepler cards
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausT committed Feb 3, 2015
1 parent ae56149 commit e9fc11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cuda_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,8 @@ __device__ __inline__ uint2 ROR2(const uint2 v, const int n)
}
else
{
result.y = ((v.x >> (n - 32)) | (v.y << (32 - n)));
result.x = ((v.y >> (n - 32)) | (v.x << (32 - n)));
result.y = ((v.x >> (n - 32)) | (v.y << (64 - n)));
result.x = ((v.y >> (n - 32)) | (v.x << (64 - n)));
}
return result;
}
Expand Down

0 comments on commit e9fc11c

Please sign in to comment.