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
OpenDAS
apex
Commits
7e099371
Unverified
Commit
7e099371
authored
Jun 22, 2020
by
Peng
Committed by
GitHub
Jun 22, 2020
Browse files
Merge pull request #23 from ashishfarmer/launch_bounds_fix
Fix launch bounds for cleanup(...) call
parents
f2fcce58
a640c63b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
csrc/multi_tensor_l2norm_kernel.cu
csrc/multi_tensor_l2norm_kernel.cu
+10
-2
No files found.
csrc/multi_tensor_l2norm_kernel.cu
View file @
7e099371
...
...
@@ -194,7 +194,11 @@ struct MaxNormFunctor
};
__global__
void
cleanup
(
__global__
void
#ifdef __HIP_PLATFORM_HCC__
__launch_bounds__
(
1024
)
#endif
cleanup
(
float
*
output
,
float
*
output_per_tensor
,
float
*
ret
,
...
...
@@ -231,7 +235,11 @@ __global__ void cleanup(
}
}
__global__
void
cleanup_v2
(
__global__
void
#ifdef __HIP_PLATFORM_HCC__
__launch_bounds__
(
1024
)
#endif
cleanup_v2
(
float
*
output
,
float
*
output_per_tensor
,
float
*
ret
,
...
...
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