-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing inline keywords to cudautils::launch #430
Add missing inline keywords to cudautils::launch #430
Conversation
The |
Sure. |
By the way, diff --git a/HeterogeneousCore/CUDAUtilities/interface/launch.h b/HeterogeneousCore/CUDAUtilities/interface/launch.h
index fbf67fbdc59..a72c6a9b6c0 100644
--- a/HeterogeneousCore/CUDAUtilities/interface/launch.h
+++ b/HeterogeneousCore/CUDAUtilities/interface/launch.h
@@ -100,11 +100,11 @@ namespace cudautils {
template <typename F, typename... Args>
inline
#if __cplusplus >= 201703L
- std::enable_if_t<std::is_invocable_r<void, F, Args&&...>::value>
+ std::enable_if_t<std::is_invocable_r<void, F, Args&&...>::value>
#else
- std::enable_if_t<std::is_void<std::result_of_t<F && (Args && ...)> >::value>
+ std::enable_if_t<std::is_void<std::result_of_t<F && (Args && ...)> >::value>
#endif
- launch(F* kernel, LaunchParameters config, Args&&... args) {
+ launch(F* kernel, LaunchParameters config, Args&&... args) {
using function_type = detail::kernel_traits<F>;
typename function_type::argument_type_tuple args_copy(args...);
@@ -126,11 +126,11 @@ namespace cudautils {
template <typename F, typename... Args>
inline
#if __cplusplus >= 201703L
- std::enable_if_t<std::is_invocable_r<void, F, Args&&...>::value>
+ std::enable_if_t<std::is_invocable_r<void, F, Args&&...>::value>
#else
- std::enable_if_t<std::is_void<std::result_of_t<F && (Args && ...)> >::value>
+ std::enable_if_t<std::is_void<std::result_of_t<F && (Args && ...)> >::value>
#endif
- launch_cooperative(F* kernel, LaunchParameters config, Args&&... args) {
+ launch_cooperative(F* kernel, LaunchParameters config, Args&&... args) {
using function_type = detail::kernel_traits<F>;
typename function_type::argument_type_tuple args_copy(args...);
|
All that because of the added inline? |
Yep... Shall I remove it ? |
Removed it :) |
Adding c-jet energy regression evaluation
This is part of the proposed changes from #428 .