Skip to content

Commit

Permalink
Switching to the correct OrtMemoryInfo name
Browse files Browse the repository at this point in the history
  • Loading branch information
egalli committed Aug 7, 2024
1 parent 0265169 commit f5a94e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/webnn/allocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace webnn {

class WebNNBufferAllocator : public IAllocator {
public:
WebNNBufferAllocator() : IAllocator(OrtMemoryInfo("WebNNMLBufferAllocator", OrtAllocatorType::OrtDeviceAllocator, OrtDevice(OrtDevice::GPU, OrtDevice::MemType::DEFAULT, 0), 0, OrtMemTypeDefault)) {}
WebNNBufferAllocator() : IAllocator(OrtMemoryInfo(WEBNN_BUFFER, OrtAllocatorType::OrtDeviceAllocator, OrtDevice(OrtDevice::GPU, OrtDevice::MemType::DEFAULT, 0), 0, OrtMemTypeDefault)) {}

void* Alloc(size_t size) override;

Expand Down

0 comments on commit f5a94e2

Please sign in to comment.