onnxruntime
50fa1512 - remove device_id parameter out of ExecutionProvider::GetAllocator() (#14580)

Commit
3 years ago
remove device_id parameter out of ExecutionProvider::GetAllocator() (#14580) ### Description Remove the parameter device_id out of ExecutionProvider::GetAllocator() function ### Motivation and Context The parameter device_id is not necessary. We can fully rely on the second parameter OrtMemType mem_type to determine the device_id when getting allocator from executionProvider.
Author
Parents
Loading