Skip to content

Commit

Permalink
Making the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloAndresCQ committed Jul 30, 2024
1 parent ffdad5f commit 7f39bb8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pytket/extensions/cutensornet/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ def print_device_properties(self, logger: Logger) -> None:
"""Prints local GPU properties."""
device_props = cp.cuda.runtime.getDeviceProperties(self.dev.id)
logger.info("===== device info ======")
logger.info(f"GPU-name: {device_props["name"].decode()}")
logger.info(f"GPU-clock: {device_props["clockRate"]}")
logger.info(f"GPU-memoryClock: {device_props["memoryClockRate"]}")
logger.info(f"GPU-nSM: {device_props["multiProcessorCount"]}")
logger.info(f"GPU-major: {device_props["major"]}")
logger.info(f"GPU-minor: {device_props["minor"]}")
logger.info("GPU-name: " + device_props["name"].decode())
logger.info("GPU-clock: " + str(device_props["clockRate"]))
logger.info("GPU-memoryClock: " + str(device_props["memoryClockRate"]))
logger.info("GPU-nSM: " + str(device_props["multiProcessorCount"]))
logger.info("GPU-major: " + str(device_props["major"]))
logger.info("GPU-minor: " + str(device_props["minor"]))
logger.info("========================")


Expand Down

0 comments on commit 7f39bb8

Please sign in to comment.