Fix building of tests on nvidia GPU
Fix building of tests on nvidia GPU

Change-Id: I02b527ec4135c79bb35cbbfe419211ec363cb065

ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP