(*tensors)
| 439 | |
| 440 | |
| 441 | def pin_copy_to_device(*tensors): |
| 442 | result = [] |
| 443 | for tensor in tensors: |
| 444 | result.append(tensor.pin_memory().to("cuda:0")) |
| 445 | return result |
| 446 | |
| 447 | |
| 448 | def pin_copy_to_device_nonblocking(*tensors): |
nothing calls this directly
no outgoing calls
no test coverage detected