Reference: https://github.com/ROCmSoftwarePlatform/apex/pull/78#issuecomment-1201839061
Reference: #78 (comment)