你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Updated lookup of CUDA devices.
这个提交包含在:
@@ -388,6 +388,7 @@ def detect_check_gpus(deviceIDs):
|
|||||||
|
|
||||||
# Get list of available GPU device IDs
|
# Get list of available GPU device IDs
|
||||||
deviceIDsavail = os.environ.get('CUDA_VISIBLE_DEVICES')
|
deviceIDsavail = os.environ.get('CUDA_VISIBLE_DEVICES')
|
||||||
|
deviceIDsavail = [int(s) for s in deviceIDsavail.split(',')]
|
||||||
|
|
||||||
# Print information about all detected GPUs
|
# Print information about all detected GPUs
|
||||||
gpus = []
|
gpus = []
|
||||||
|
在新工单中引用
屏蔽一个用户