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
25bac567
Commit
25bac567
authored
Jun 27, 2019
by
Paul
Browse files
Formatting
parent
a7ea008d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/targets/gpu/device/include/migraphx/gpu/device/launch.hpp
...targets/gpu/device/include/migraphx/gpu/device/launch.hpp
+2
-2
No files found.
src/targets/gpu/device/include/migraphx/gpu/device/launch.hpp
View file @
25bac567
...
@@ -12,8 +12,8 @@ namespace device {
...
@@ -12,8 +12,8 @@ namespace device {
struct
index
struct
index
{
{
std
::
size_t
global
=
0
;
std
::
size_t
global
=
0
;
std
::
size_t
local
=
0
;
std
::
size_t
local
=
0
;
std
::
size_t
group
=
0
;
std
::
size_t
group
=
0
;
__device__
std
::
size_t
nglobal
()
const
{
return
blockDim
.
x
*
gridDim
.
x
;
}
// NOLINT
__device__
std
::
size_t
nglobal
()
const
{
return
blockDim
.
x
*
gridDim
.
x
;
}
// NOLINT
...
...
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