import pycuda.driver as cuda import pycuda.autoinit. e.g., to set os.environ['CUDA_DEVICE'] = '1' will make GPU:1 as the default device.
確定! 回上一頁