perun.backend.rocmsmi ===================== .. py:module:: perun.backend.rocmsmi .. autoapi-nested-parse:: ROCM Backend. Attributes ---------- .. autoapisummary:: perun.backend.rocmsmi.log Classes ------- .. autoapisummary:: perun.backend.rocmsmi.ROCMBackend Module Contents --------------- .. py:data:: log .. py:class:: ROCMBackend Bases: :py:obj:`perun.backend.backend.Backend` ROCMBackend. Initialises sensors to get data from AMD GPUs. .. py:attribute:: id :value: 'amdsmi' .. py:attribute:: name :value: 'AMD ROCM' .. py:attribute:: description :type: str :value: 'Access GPU information from amd-smi python bindings.' .. py:method:: setup() -> None Init rocm object. .. py:method:: close() -> None Backend cleanup. .. py:method:: availableSensors() -> Dict[str, Tuple] Return string ids of visible devices. :returns: Set with sensor ids. :rtype: Set[str] .. py:method:: getSensors(deviceList: Set[str]) -> List[perun.data_model.sensor.Sensor] Gather sensor object based on a set of device ids. :param deviceList: Set containing divice ids. :type deviceList: Set[str] :returns: List with Sensor objects. :rtype: List[Sensor]