[ET Device Support] CudaAllocator: device memory allocator for CUDA backend#18477
[ET Device Support] CudaAllocator: device memory allocator for CUDA backend#18477Gasoonjia wants to merge 3 commits intogh/gasoonjia/157/basefrom
Conversation
…ackend Implement CudaAllocator, a concrete DeviceAllocator using cudaMalloc/ cudaFree/cudaMemcpy for CUDA device memory management. The allocator is automatically registered with the DeviceAllocatorRegistry when the CUDA backend library is linked, ensuring DeviceMemoryBuffer::create(CUDA) works transparently. Differential Revision: [D98014184](https://our.internmc.facebook.com/intern/diff/D98014184/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18477
Note: Links to docs will display an error until the docs builds have been completed. ❌ 87 New Failures, 1 Unrelated FailureAs of commit da3d587 with merge base b5ae0b9 ( NEW FAILURES - The following jobs have failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…ackend Implement CudaAllocator, a concrete DeviceAllocator using cudaMalloc/ cudaFree/cudaMemcpy for CUDA device memory management. The allocator is automatically registered with the DeviceAllocatorRegistry when the CUDA backend library is linked, ensuring DeviceMemoryBuffer::create(CUDA) works transparently. Differential Revision: [D98014184](https://our.internmc.facebook.com/intern/diff/D98014184/) ghstack-source-id: 357086933 Pull Request resolved: #18477
This PR needs a
|
… for CUDA backend" Implement CudaAllocator, a concrete DeviceAllocator using cudaMalloc/ cudaFree/cudaMemcpy for CUDA device memory management. The allocator is automatically registered with the DeviceAllocatorRegistry when the CUDA backend library is linked, ensuring DeviceMemoryBuffer::create(CUDA) works transparently. Differential Revision: [D98014184](https://our.internmc.facebook.com/intern/diff/D98014184/) [ghstack-poisoned]
… for CUDA backend" Implement CudaAllocator, a concrete DeviceAllocator using cudaMalloc/ cudaFree/cudaMemcpy for CUDA device memory management. The allocator is automatically registered with the DeviceAllocatorRegistry when the CUDA backend library is linked, ensuring DeviceMemoryBuffer::create(CUDA) works transparently. Differential Revision: [D98014184](https://our.internmc.facebook.com/intern/diff/D98014184/) [ghstack-poisoned]
digantdesai
left a comment
There was a problem hiding this comment.
Review automatically exported from Phabricator review in Meta.
Stack from ghstack (oldest at bottom):
Implement CudaAllocator, a concrete DeviceAllocator using cudaMalloc/ cudaFree/cudaMemcpy for CUDA device memory management. The allocator is automatically registered with the DeviceAllocatorRegistry when the CUDA backend library is linked, ensuring DeviceMemoryBuffer::create(CUDA) works transparently.
Differential Revision: D98014184