rocPRIM
device_binary_search_config.hpp
1 // Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved.
2 //
3 // Permission is hereby granted, free of charge, to any person obtaining a copy
4 // of this software and associated documentation files (the "Software"), to deal
5 // in the Software without restriction, including without limitation the rights
6 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 // copies of the Software, and to permit persons to whom the Software is
8 // furnished to do so, subject to the following conditions:
9 //
10 // The above copyright notice and this permission notice shall be included in
11 // all copies or substantial portions of the Software.
12 //
13 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 // THE SOFTWARE.
20 
21 #ifndef ROCPRIM_DEVICE_DEVICE_BINARY_SEARCH_CONFIG_HPP_
22 #define ROCPRIM_DEVICE_DEVICE_BINARY_SEARCH_CONFIG_HPP_
23 
24 #include "../config.hpp"
25 
26 #include "config_types.hpp"
27 #include "detail/config/device_binary_search.hpp"
28 #include "detail/config/device_lower_bound.hpp"
29 #include "detail/config/device_upper_bound.hpp"
30 #include "detail/device_config_helper.hpp"
31 #include "device_transform_config.hpp"
32 
35 
36 BEGIN_ROCPRIM_NAMESPACE
37 
38 namespace detail
39 {
40 
41 template<class Value, class Output>
43 {};
44 
45 template<class Value, class Output>
47 {};
48 
49 template<class Value, class Output>
51 {};
52 
53 template<class Unused, class Value, class Output>
55 {
56  template<target_arch Arch>
57  struct architecture_config
58  {
59  static constexpr transform_config_params params = wrap_transform_config<
61  };
62 };
63 
64 template<class Unused, class Value, class Output>
66 {
67  template<target_arch Arch>
68  struct architecture_config
69  {
70  static constexpr transform_config_params params = wrap_transform_config<
72  };
73 };
74 
75 template<class Unused, class Value, class Output>
77 {
78  template<target_arch Arch>
79  struct architecture_config
80  {
81  static constexpr transform_config_params params = wrap_transform_config<
83  };
84 };
85 
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
87 template<class Unused, class Value, class Output>
88 template<target_arch Arch>
91  Unused>::architecture_config<Arch>::params;
92 template<class Unused, class Value, class Output>
93 template<target_arch Arch>
96  Unused>::architecture_config<Arch>::params;
97 template<class Unused, class Value, class Output>
98 template<target_arch Arch>
101  Unused>::architecture_config<Arch>::params;
102 #endif // DOXYGEN_SHOULD_SKIP_THIS
103 
104 } // end namespace detail
105 
106 END_ROCPRIM_NAMESPACE
107 
109 // end of group primitivesmodule_deviceconfigs
110 
111 #endif // ROCPRIM_DEVICE_DEVICE_BINARY_SEARCH_CONFIG_HPP_
Definition: device_upper_bound.hpp:42
Deprecated: Configuration of device-level scan primitives.
Definition: block_histogram.hpp:62
Definition: device_binary_search.hpp:42
Definition: device_binary_search_config.hpp:50
Definition: device_transform_config.hpp:58
Definition: device_config_helper.hpp:516
Definition: device_binary_search_config.hpp:46
Definition: test_device_binary_search.cpp:37
Definition: device_lower_bound.hpp:42
Definition: device_binary_search_config.hpp:42