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
This commit is contained in:
Rakesh Roy authored and Rakesh Roy committed 2024-03-08 12:13:39 -05:00
1 parent 6ce6b54085
commit d7789d328c
11 files changed
+152 -25

No files matched your search

-12
View File
@@ -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",