ica_get_hw_info

Purpose

Returns hardware information about the used processor.

Format


int ica_get_hw_info(libica_hw_info *hw_info);

Parameters

libica_hw_info *hw_info

Return codes

0
Success
EINVAL
The value in hw_info is NULL.
EIO
The hardware information could not be determined.

For return codes indicating exceptions, see Return codes.

Recommended usage

First call ica_get_functionlist with a NULL mechanism list, then allocate the mechanism list according to number of mechanisms in libica returned by that function, and then call ica_get_functionlist with the allocated mechanism list.