RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
kernel_name.hpp
Go to the documentation of this file.
1 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
2 // Copyright (c) Lawrence Livermore National Security, LLC and other
3 // RAJA Project Developers. See top-level LICENSE and COPYRIGHT
4 // files for dates and other details. No copyright assignment is required
5 // to contribute to RAJA.
6 //
7 // SPDX-License-Identifier: (BSD-3-Clause)
8 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
9 
10 #ifndef SYCL_KERNELNAME_HPP
11 #define SYCL_KERNELNAME_HPP
12 
14 
15 namespace RAJA
16 {
17 namespace expt
18 {
19 namespace detail
20 {
21 
22 #if defined(RAJA_ENABLE_SYCL)
23 
24 // Init
25 template<typename EXEC_POL>
26 camp::concepts::enable_if<RAJA::type_traits::is_sycl_policy<EXEC_POL>>
27 param_init(EXEC_POL const&, RAJA::detail::Name&)
28 {
29  // TODO: Define kernel naming
30 }
31 
32 // Combine
33 template<typename EXEC_POL, typename T>
34 camp::concepts::enable_if<RAJA::type_traits::is_sycl_policy<EXEC_POL>>
35  SYCL_EXTERNAL param_combine(EXEC_POL const&, RAJA::detail::Name&, T)
36 {}
37 
38 // Resolve
39 template<typename EXEC_POL>
40 camp::concepts::enable_if<RAJA::type_traits::is_sycl_policy<EXEC_POL>>
41 param_resolve(EXEC_POL const&, RAJA::detail::Name&)
42 {
43  // TODO: Define kernel naming
44 }
45 
46 #endif
47 
48 } // namespace detail
49 } // namespace expt
50 } // namespace RAJA
51 
52 
53 #endif // NEW_REDUCE_SYCL_REDUCE_HPP
camp::concepts::enable_if< std::is_same< EXEC_POL, RAJA::seq_exec > > param_init(EXEC_POL const &, RAJA::detail::Name &)
Definition: kernel_name.hpp:24
camp::concepts::enable_if< concepts::negate< is_instance_of_Reducer< camp::decay< T > > >, concepts::negate< std::is_same< T, RAJA::detail::Name > > > param_combine(EXEC_POL const &, T &, const T &)
Definition: forall.hpp:97
camp::concepts::enable_if< std::is_same< EXEC_POL, RAJA::seq_exec > > param_resolve(EXEC_POL const &, RAJA::detail::Name &)
Definition: kernel_name.hpp:40
Definition: AlignedRangeIndexSetBuilders.cpp:35
Definition: kernel_name.hpp:21