Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
hann-wang committed Jul 1, 2024
1 parent a9c8672 commit 9058961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/rocm/rocm_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ inline int warpSizeDynamic() {

inline void hipMemGetInfoAlt(uint32_t deviceId, size_t* pFree, size_t* pTotal) {
const auto status = hipMemGetInfo(pFree, pTotal);
if (status != hipSuccess){
if (status != hipSuccess) {
size_t usedMemory = 0;
ROCMSMI_CALL_THROW(rsmi_init(0));
ROCMSMI_CALL_THROW(rsmi_dev_memory_total_get(deviceId, RSMI_MEM_TYPE_VIS_VRAM, pTotal));
Expand Down

0 comments on commit 9058961

Please sign in to comment.