add skipIfRocm to TestAutograd.test_memory_profiler (#38790)
Summary:
CC ezyang xw285cornell sunway513
Skip new test until triage of ROCm CI can be completed.
Test added by a94fb71b126001630d3d1e350347c20977f14ec0.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/38790
Differential Revision: D21665404
Pulled By: xw285cornell
fbshipit-source-id: c03227a91c9d06f8c0ff50f4593baa9ecb507743