Skip to content

Commit

Permalink
add remove-restrict
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetyusufoglu authored and psychocoderHPC committed Jul 26, 2024
1 parent 5323600 commit 6fdec14
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/alpaka/kernel/KernelBundle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace alpaka
//! The function object type
using KernelFn = TKernelFn;
//! Tuple type to encapsulate kernel function argument types and argument values
using ArgTuple = std::tuple<std::decay_t<TArgs>...>;
using ArgTuple = std::tuple<remove_restrict_t<std::decay_t<TArgs>>...>;

// Constructor
KernelBundle(KernelFn kernelFn, TArgs&&... args)
Expand Down Expand Up @@ -54,8 +54,5 @@ namespace alpaka
//! arguments.
template<typename TKernelFn, typename... TArgs>
ALPAKA_FN_HOST KernelBundle(TKernelFn, TArgs&&...) -> KernelBundle<TKernelFn, TArgs...>;
// template<typename TKernelFn, typename... TArgs>
// ALPAKA_FN_HOST KernelBundle(TKernelFn kernelFn, TArgs&&... args) -> KernelBundle<std::decay_t<TKernelFn>,
// std::decay_t<TArgs>...>;

} // namespace alpaka

0 comments on commit 6fdec14

Please sign in to comment.