Skip to content

Commit 5ae3ee7

Browse files
authored
1. Fix Nv EP Build Break:wq (microsoft#25311)
### Description <!-- Describe your changes. --> 1. Fix the Build Break in NV TRT RTX EP
1 parent 6d28e2d commit 5ae3ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/nv_tensorrt_rtx/nv_allocator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class CUDAExternalAllocator : public CUDAAllocator {
5353
// TODO: add a default constructor
5454
class CUDAPinnedAllocator : public IAllocator {
5555
public:
56-
CUDAPinnedAllocator(const char* name, OrtDevice::DeviceId device_id)
56+
CUDAPinnedAllocator(OrtDevice::DeviceId device_id, const char* name)
5757
: IAllocator(
5858
OrtMemoryInfo(name, OrtAllocatorType::OrtDeviceAllocator,
5959
OrtDevice(OrtDevice::GPU, OrtDevice::MemType::HOST_ACCESSIBLE, OrtDevice::VendorIds::NVIDIA,

0 commit comments

Comments
 (0)