SWDEV-439004, SWDEV-440021 - Fix GL Interop & Unit_hipP2pLinkTypeAndHopFunc testcases

- hipGLDeviceListNextFrame is not supported yet
- Initialize GL interop before calling interop related APIs
- Skip GL interop tests when display is not connected
- Load librocm_smi64.so from /opt/rocm/lib/

Change-Id: Ie4879c18317aa377a95d6f2d0d5314d4adf38649


[ROCm/hip-tests commit: d7789d328c]
Dieser Commit ist enthalten in:
Rakesh Roy
2024-01-24 00:20:53 +05:30
committet von Rakesh Roy
Ursprung 96db0dbd8d
Commit 2bcd9b782f
11 geänderte Dateien mit 152 neuen und 25 gelöschten Zeilen
@@ -257,20 +257,8 @@
"Unit_atomicExch_system_Positive_Host_And_Peer_GPUs - float",
"Unit_atomicExch_system_Positive_Host_And_Peer_GPUs - double",
"=== SWDEV-439004: Below tests failing randomly in CQE staging ===",
"Unit_hipGLGetDevices_Positive_Basic",
"Unit_hipGLGetDevices_Positive_Parameters",
"Unit_hipGLGetDevices_Negative_Parameters",
"Unit_hipGraphicsGLRegisterBuffer_Positive_Basic",
"Unit_hipGraphicsGLRegisterBuffer_Positive_Register_Twice",
"Unit_hipGraphicsGLRegisterBuffer_Negative_Parameters",
"Unit_hipGraphicsGLRegisterImage_Positive_Basic",
"Unit_hipGraphicsGLRegisterImage_Positive_Register_Twice",
"Unit_hipGraphicsGLRegisterImage_Negative_Parameters",
"Unit_hipGraphicsMapResources_Positive_Basic",
"Unit_hipGraphicsMapResources_Negative_Parameters",
"Unit_hipGraphicsSubResourceGetMappedArray_Positive_Basic",
"Unit_hipGraphicsSubResourceGetMappedArray_Negative_Parameters",
"Unit_hipGraphicsResourceGetMappedPointer_Positive_Basic",
"Unit_hipGraphicsResourceGetMappedPointer_Positive_Parameters",
"Unit_hipGraphicsResourceGetMappedPointer_Negative_Parameters",
"Unit_hipGraphicsUnmapResources_Negative_Parameters",