get_common_arg_val

template<typename T>
T get_common_arg_val(int arg_idx)

Returns the value at a given runtime argument index for common (all cores) runtime arguments set via SetCommonRuntimeArgs() API.

Return value: The value associated with the common runtime argument index

Argument Description

arg_idx Common Runtime argument index

T (template argument) Data type of the returned argument