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

Class AlgorithmDeviceScanByKey

scripts/autotune/create_optimization.py:479–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477# TODO select_on_size_only may need to get re-evaluated, it is likely that swapping the value
478# of select_on_size_only for key and value gives better results
479class AlgorithmDeviceScanByKey(Algorithm):
480 algorithm_name = "device_scan_by_key"
481 cpp_configuration_template_name = "scanbykey_config_template"
482 config_selection_params = [
483 SelectionType(name="key_type", is_optional=False, select_on_size_only=False),
484 SelectionType(name="value_type", is_optional=False, select_on_size_only=True)]
485 def __init__(self, fallback_entries):
486 Algorithm.__init__(self, fallback_entries)
487
488class AlgorithmDeviceBinarySearch(Algorithm):
489 algorithm_name = "device_binary_search"

Callers 1

create_algorithmFunction · 0.70

Calls 1

SelectionTypeClass · 0.70

Tested by

no test coverage detected