21 #ifndef ROCPRIM_DEVICE_DEVICE_SCAN_CONFIG_HPP_ 22 #define ROCPRIM_DEVICE_DEVICE_SCAN_CONFIG_HPP_ 24 #include "config_types.hpp" 25 #include "detail/config/device_scan.hpp" 30 BEGIN_ROCPRIM_NAMESPACE
35 template<
typename ScanConfig>
36 constexpr scan_config_params wrap_scan_config()
38 return scan_config_params{
39 {ScanConfig::block_size, ScanConfig::items_per_thread, ScanConfig::size_limit},
42 ScanConfig::block_scan_method
46 template<
typename ScanConfig,
typename>
49 template<target_arch Arch>
56 template<
typename Value>
59 template<target_arch Arch>
60 struct architecture_config
63 = wrap_scan_config<default_scan_config<static_cast<unsigned int>(Arch), Value>>();
67 #ifndef DOXYGEN_SHOULD_SKIP_THIS 68 template<
typename ScanConfig,
typename Value>
69 template<target_arch Arch>
73 template<
typename Value>
74 template<target_arch Arch>
77 #endif // DOXYGEN_SHOULD_SKIP_THIS 86 #endif // ROCPRIM_DEVICE_DEVICE_SCAN_CONFIG_HPP_ block_store_method
block_store_method enumerates the methods available to store a striped arrangement of items into a bl...
Definition: block_store.hpp:41
Definition: device_scan_config.hpp:47
Special type used to show that the given device-level operation will be executed with optimal configu...
Definition: config_types.hpp:45
Deprecated: Configuration of device-level scan primitives.
Definition: block_histogram.hpp:62
block_load_method
block_load_method enumerates the methods available to load data from continuous memory into a blocked...
Definition: block_load.hpp:41
Definition: device_scan_config.hpp:50
Provides the kernel parameters for exclusive_scan and inclusive_scan based on autotuned configuration...
Definition: device_config_helper.hpp:270
Definition: test_device_binary_search.cpp:37