你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Updated GPU info printing.
这个提交包含在:
@@ -92,7 +92,7 @@ class Context:
|
|||||||
"""Print information about any NVIDIA CUDA GPUs detected."""
|
"""Print information about any NVIDIA CUDA GPUs detected."""
|
||||||
gpus_info = []
|
gpus_info = []
|
||||||
for gpu in config.sim_config.cuda['gpus']:
|
for gpu in config.sim_config.cuda['gpus']:
|
||||||
gpus_info.append(f'{gpu.deviceID} {gpu.pcibusID} - {gpu.name}, {human_size(gpu.totalmem, a_kilobyte_is_1024_bytes=True)} (on {gpu.hostname})')
|
gpus_info.append(f'{gpu.deviceID} {gpu.pcibusID} - {gpu.name}, {human_size(gpu.totalmem, a_kilobyte_is_1024_bytes=True)}')
|
||||||
logger.basic(f"GPU resources: {' | '.join(gpus_info)}")
|
logger.basic(f"GPU resources: {' | '.join(gpus_info)}")
|
||||||
|
|
||||||
def print_time_report(self):
|
def print_time_report(self):
|
||||||
|
在新工单中引用
屏蔽一个用户