Skip to content

Commit

Permalink
Merge branch '371-fix-threefry2x64-and-threefry4x64' into 'develop_st…
Browse files Browse the repository at this point in the history
…ream'

Fix threefry2x64 and threefry4x64

Closes #371

See merge request amd/libraries/rocRAND!343
  • Loading branch information
ex-rzr authored and Naraenda committed Jul 24, 2024
2 parents d6a97de + 49add41 commit d4f972c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ Documentation for rocRAND is available at
## (Unreleased) rocRAND-3.1.1 for ROCm 6.2.0

## Fixes
* Fixed " unknown extension ?>" issue in scripts/config-tuning/select_best_config.py
when using python version thats older than 3.11

* Fixed " unknown extension ?>" issue in scripts/config-tuning/select_best_config.py
when using python version thats older than 3.11
* Fixed low random sequence quality of `ROCRAND_RNG_PSEUDO_THREEFRY2_64_20` and `ROCRAND_RNG_PSEUDO_THREEFRY4_64_20`.

## (Unreleased) rocRAND-3.1.0 for ROCm 6.2.0

Expand Down
2 changes: 1 addition & 1 deletion library/include/rocrand/rocrand_threefry_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ template<>
__forceinline__ __device__ __host__ unsigned long long
rotl<unsigned long long>(unsigned long long x, int d)
{
return ((x << d) | (x >> (64 - d) & 63));
return (x << (d & 63)) | (x >> ((64 - d) & 63));
};

template<>
Expand Down

0 comments on commit d4f972c

Please sign in to comment.