Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
cf3dda78
Commit
cf3dda78
authored
Aug 16, 2018
by
Paul
Browse files
Dont use signed integers with bitwise operators
parent
6b588e3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/include/migraph/generate.hpp
src/include/migraph/generate.hpp
+3
-3
No files found.
src/include/migraph/generate.hpp
View file @
cf3dda78
...
...
@@ -16,9 +16,9 @@ struct xorshf96_generator
constexpr
T
operator
()()
{
x
^=
x
<<
16
;
x
^=
x
>>
5
;
x
^=
x
<<
1
;
x
^=
x
<<
16
U
;
x
^=
x
>>
5
U
;
x
^=
x
<<
1
U
;
unsigned
long
t
=
x
;
x
=
y
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment