cuda.bindings.nvml.device_get_dram_encryption_mode#

cuda.bindings.nvml.device_get_dram_encryption_mode(intptr_t device) tuple#
Retrieves the current and pending DRAM Encryption modes for the device.

:param device: The identifier of the target device.
:type device: intptr_t

:returns:

          - nvmlEnableState_t: Reference in which to return the current DRAM Encryption mode.
          - nvmlEnableState_t: Reference in which to return the pending DRAM Encryption mode.
:rtype: A 2-tuple containing

.. seealso:: `nvmlDeviceGetDramEncryptionMode`