MCPcopy Create free account
hub / github.com/ROCm/rocPRIM / AlgorithmDeviceScanByKey

Class AlgorithmDeviceScanByKey

tuning/configs_header_generation.py:624–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622# TODO: select_on_size_only may need to get re-evaluated, as it is likely that swapping the value
623# of select_on_size_only for key and value gives better results
624class AlgorithmDeviceScanByKey(Algorithm):
625 algorithm_name = "device_scan_by_key"
626 cpp_configuration_template_name = "scanbykey_config_template"
627 config_selection_params = [
628 SelectionType(name="key_type", is_optional=False, select_on_size_only=False),
629 SelectionType(name="value_type", is_optional=False, select_on_size_only=True),
630 ]
631
632 def __init__(self, fallback_entries):
633 Algorithm.__init__(self, fallback_entries)
634
635
636class AlgorithmDeviceBinarySearch(Algorithm):

Callers 1

create_algorithmFunction · 0.70

Calls 1

SelectionTypeClass · 0.70

Tested by

no test coverage detected