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
a55b0793
Commit
a55b0793
authored
Aug 21, 2018
by
Paul
Browse files
Formatting
parent
78feaa4b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
src/include/migraph/generate.hpp
src/include/migraph/generate.hpp
+3
-7
No files found.
src/include/migraph/generate.hpp
View file @
a55b0793
...
...
@@ -30,8 +30,6 @@ constexpr T normalize(unsigned long z)
return
z
%
max
;
}
template
<
class
T
>
struct
xorshf96_generator
{
...
...
@@ -39,9 +37,7 @@ struct xorshf96_generator
unsigned
long
y
=
362436069
;
unsigned
long
z
;
xorshf96_generator
(
unsigned
long
seed
=
0
)
:
z
(
521288629ULL
^
seed
)
{}
xorshf96_generator
(
unsigned
long
seed
=
0
)
:
z
(
521288629ULL
^
seed
)
{}
constexpr
T
operator
()()
noexcept
{
...
...
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