We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d28e2d commit 5ae3ee7Copy full SHA for 5ae3ee7
onnxruntime/core/providers/nv_tensorrt_rtx/nv_allocator.h
@@ -53,7 +53,7 @@ class CUDAExternalAllocator : public CUDAAllocator {
53
// TODO: add a default constructor
54
class CUDAPinnedAllocator : public IAllocator {
55
public:
56
- CUDAPinnedAllocator(const char* name, OrtDevice::DeviceId device_id)
+ CUDAPinnedAllocator(OrtDevice::DeviceId device_id, const char* name)
57
: IAllocator(
58
OrtMemoryInfo(name, OrtAllocatorType::OrtDeviceAllocator,
59
OrtDevice(OrtDevice::GPU, OrtDevice::MemType::HOST_ACCESSIBLE, OrtDevice::VendorIds::NVIDIA,
0 commit comments