Go to the first, previous, next, last section, table of contents.


trt_selector_args_match

int
trt_selector_args_match (struct trt_selector_args *a,
                         struct trt_selector_args *b);

Return 1 if the number and types of the elements in a and b match, or 0 otherwise.

Normally, this test is very fast, since the resolver guarantees that for every pair of selector argument descriptions, a and b, if trt_selector_args_match returns 1, the a == b. However, in the context of dynamic-loading, selector argument descriptions can guaranteed to be unique, thus making trt_selector_args_match slightly more expensive.


Go to the first, previous, next, last section, table of contents.