Move away from Memory management APIs deprecated in ROCM 6.3 #71
reviewdog [cpplint] report
reported by reviewdog 🐶
Findings (2)
onnxruntime/core/providers/migraphx/migraphx_allocator.cc|75| Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]
onnxruntime/core/providers/rocm/rocm_allocator.cc|93| Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]
Filtered Findings (0)
Annotations
Check warning on line 75 in onnxruntime/core/providers/migraphx/migraphx_allocator.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_allocator.cc#L75
Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_allocator.cc:75: Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]
Check warning on line 93 in onnxruntime/core/providers/rocm/rocm_allocator.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/rocm/rocm_allocator.cc#L93
Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]
Raw output
onnxruntime/core/providers/rocm/rocm_allocator.cc:93: Using C-style cast. Use reinterpret_cast<void**>(...) instead [readability/casting] [4]