#define COMMON

#if defined gfx906
    #define VEGA20
#endif

#if defined gfx908
    #define MI100
#endif

#if defined gfx90a || defined  gfx940 || defined gfx941 || defined gfx942
    #define MI2XX
#endif

#if defined gfx1030
    #define NAVI21
#endif

#if defined gfx1100 || defined gfx1102
    #define NAVI3X
#endif

{
    "Info": [
        "File generated for commit on below mentioned date and time",
        __DATE__,
        __TIME__,
        GITHASH
    ],
    "DisabledTests": [
    #if defined COMMON
        "Unit_hipStreamPerThread_DeviceReset_1",
        "Unit_hipDeviceGetSharedMemConfig_Positive_Basic",
        "Unit_hipDeviceGetSharedMemConfig_Positive_Threaded",
        "Unit_hipDeviceGetCacheConfig_Positive_Basic",
        "Unit_hipDeviceGetCacheConfig_Positive_Threaded",
        "Unit_hipGetDeviceFlags_Positive_Context",
        "Unit_hipIpcCloseMemHandle_Negative_Close_In_Originating_Process",
        "Unit_hipIpcOpenMemHandle_Negative_Open_In_Creating_Process",
        "Unit_hipInit_Negative",
        "Unit_hipDeviceReset_Positive_Basic",
        "Unit_hipDeviceReset_Positive_Threaded",
        "Unit_hipFuncSetCacheConfig_Positive_Basic",
        "Unit_hipFuncSetCacheConfig_Negative_Parameters",
        "Unit_hipFuncSetSharedMemConfig_Positive_Basic",
        "Unit_hipFuncSetSharedMemConfig_Negative_Parameters",
        "Unit_hipFuncSetAttribute_Positive_MaxDynamicSharedMemorySize",
        "Unit_hipFuncSetAttribute_Positive_PreferredSharedMemoryCarveout",
        "Unit_hipFuncSetAttribute_Positive_Parameters",
        "Unit_hipFuncSetAttribute_Negative_Parameters",
        "NOTE: The following 4 tests are disabled due to defect - EXSWHTEC-240",
        "Unit_hipFuncSetCacheConfig_Negative_Not_Supported",
        "Unit_hipFuncSetSharedMemConfig_Negative_Not_Supported",
        "Unit_hipFuncSetAttribute_Positive_MaxDynamicSharedMemorySize_Not_Supported",
        "Unit_hipFuncSetAttribute_Positive_PreferredSharedMemoryCarveout_Not_Supported",
        "Unit_hipOccupancyMaxActiveBlocksPerMultiprocessor_Negative_Parameters",
        "Unit_hipGraphMemcpyNodeSetParamsToSymbol_Positive_Basic",
        "Unit_hipGraphExecMemcpyNodeSetParamsToSymbol_Positive_Basic",
        "Unit_hipGraphExecMemcpyNodeSetParamsFromSymbol_Positive_Basic",
        "Unit_hipKernelNameRef_Negative_Parameters",
        "Unit_hipMemAdvise_AccessedBy_All_Devices",
        "Unit_hipMemAdvise_No_Flag_Interference",
        "Unit_hipMemGetAddressRange_Negative",
        "NOTE: The following 2 tests are disabled due to defect - EXSWHTEC-238",
        "Unit_hipDrvMemcpy3D_Positive_Array",
        "Unit_hipDrvMemcpy3DAsync_Positive_Array",
        "Unit_hipMemRangeGetAttribute_Positive_AccessedBy_Basic",
        "Unit_hipMemRangeGetAttribute_Positive_AccessedBy_Partial_Range",
        "Unit_hipMemGetAddressRange_Positive",
        "Unit_hipGraphAddMemcpyNode1D_Negative_Basic",
        "Unit_ChannelDescriptor_Positive_16BitFloatingPoint",
        "intermittent issue: failure expected but sucess returned",
        "Unit_hipMemAdvise_NegtveTsts",
        "Note: Following four tests disabled due to defect - EXSWHTEC-203",
        "Unit_hipGraphAddMemsetNode_Positive_Basic - uint16_t",
        "Unit_hipGraphAddMemsetNode_Positive_Basic - uint32_t",
        "Unit_hipStreamSetCaptureDependencies_Positive_Functional",
        "Note: Test disabled due to defect - EXSWHTEC-207",
        "Unit_hipIpcGetMemHandle_Positive_Unique_Handles_Separate_Allocations",
        "Unit_hipStreamCreateWithFlags_DefaultStreamInteraction",
        "Unit_hipMemset3DSync",
        "Unit_hipStreamAddCallback_StrmSyncTiming",
        "Disabling test tracked SWDEV-394199",
        "Unit_hipStreamCreateWithPriority_MulthreadNonblockingflag",
        "Disabling test tracked SWDEV-395683",
        "Unit_hipStreamPerThread_MultiThread",
        "SWDEV-396963",
        "Unit_hipMemcpy2DFromArrayAsync_Positive_Synchronization_Behavior",
        "Disabling tests tracked with SWDEV-389647..",
        "Unit_hipMemcpy2DToArrayAsync_Positive_Synchronization_Behavior",
        "Disabling test tracked SWDEV-391555",
        "Unit_hipMemcpyPeer_Positive_ZeroSize",
        "Unit_hipMemcpyPeerAsync_Positive_ZeroSize",
        "Disabling test tracked SWDEV-391718",
        "Unit_hipMemRangeGetAttribute_TstCountParam",
        "Fails in Stress test SWDEV-398971",
        "SWDEV-398975 Seg faults in stress test",
        "Unit_hipMemcpyWithStream_MultiThread",
        "SWDEV-398977 fails in stress tests",
        "Unit_hipMemset2DSync",
        "SWDEV-398981 fails in stress test",
        "Unit_hipStreamCreateWithPriority_MulthreadDefaultflag",
        "SWDEV-402054 fails in external github build",
        "Unit_hipEventDestroy_WithWaitingStream",
        "=== Below tests fail in stress test on 23/06/23 ===",
        "Unit_hipIpcMemAccess_ParameterValidation",
        "Unit_hipMemcpy2DFromArrayAsync_Positive_Synchronization_Behavior",
        "Unit_hipGraphClone_Test_hipGraphExecMemcpyNodeSetParams",
        "Unit_hipGraphClone_Test_hipGraphMemcpyNodeSetParams1D_and_exec",
        "=== Below tests fail in stress test on 30/06/23 ===",
        "Unit_hipStreamValue_Write - TestParams<uint32_t, PtrType::HostPtr>",
        "Unit_hipMemcpyParam2DAsync_multiDevice-StreamOnDiffDevice",
        "=== Below tests fail in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/96 ===",
        "Unit_hipHostGetDevicePointer_Negative",
        "Unit_hipExtModuleLaunchKernel_NonUniformWorkGroup",
        "=== Below tests fail in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/18 ===",
        "Unit_hipMemcpyAsync_Negative_Parameters",
        "Unit_hipMemcpyDtoHAsync_Negative_Parameters",
        "Unit_hipMemcpyHtoDAsync_Negative_Parameters",
        "Unit_hipMemcpyDtoDAsync_Negative_Parameters",
        "Unit_hipStreamValue_Wait32_Blocking_Mask_Eq_1",
        "=== Below tests fail in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/327 ===",
        "Unit_hiprtcGpuRdcComplrOptnTst",
        "Unit_hiprtcDisabledSlpVectorizeComplrOptnTst",
        "Unit_hiprtcRpassInlineComplrOptnTst",
        "Unit_hiprtcCombiComplrOptnTst",
        "=== Below tests fail in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/92 ===",
        "Unit_hipGetChannelDesc_Negative_Parameters",
        "Unit_hipGraphAddChildGraphNode_CmplxNstGrph_UpdKerFun_Clone",
        "=== Below tests fail in stress test on 24/07/23 ===",
        "Unit_hipStreamCreateWithPriority_ValidateWithEvents",
        "Unit_hipEventIpc",
        "=== SWDEV-427101:Below test fails randomly in PSDB ===",
        "Unit_deviceAllocation_InOneThread_AccessInAllThreads",
        "=== Below test failed in stress test on 11/10/23 ===",
        "Unit_hipApiLinkUnusedLibs",
        "=== StreamCreate Performance tests may potentially fail on all configs ===",
        "Unit_hipStreamCreate_Performance",
        "Unit_hipStreamCreate_WithFlagsPerformance_Nonblocking",
        "Unit_hipStreamCreate_WithFlagsPerformance_Default",
        "Unit_hipStreamCreate_WithPriorityPerformance_Nonblocking_low",
        "Unit_hipStreamCreate_WithPriorityPerformance_Nonblocking_high",
        "Unit_hipStreamCreate_WithPriorityPerformance_Default_low",
        "Unit_hipStreamCreate_WithPriorityPerformance_Default_high",
        "=== Patch which removes the typetraits implementation from std namespace in hiprtc is reverted ===",
        "Unit_hiprtc_stdheaders",
    #endif
    #if defined VEGA20
        "=== SWDEV-419112 Below tests fail in stress test on 29/08/23 ===",
        "Unit_deviceAllocation_Malloc_ComplexDataType",
    #endif
    #if defined MI100
        "=== Below test soft hang in stress test on 29/08/23 ===",
        "Unit_hipMultiThreadStreams2",
        "=== SWDEV-425248:Below tests failed in stress test on 11/10/23 ===",
        "Unit_hipHostRegister_Memcpy - double",
        "Unit_hipP2pLinkTypeAndHopFunc",
        "=== SWDEV-426219:This test fails in integrity test & PSDB ===",
        "Unit_hipLaunchParm",
        "=== Below test failed in jenkins stress test on 10/11/23 ===",
        "Unit_hipDeviceGetUuid_From_RocmInfo",
        "=== SWDEV-432554:Below test failed in stress test on 10/11/23 ===",
        "Unit_hipMemcpy3DAsync_Positive_Basic",
        "Unit_hipDrvMemcpy3DAsync_Positive_Basic",
        "Print_Out_Attributes",
        "Unit_hipExtGetLinkTypeAndHopCount_Positive_Basic",
        "Unit_hipClock64_Positive_Basic",
        "Unit_hipClock_Positive_Basic",
    #endif
    #if defined MI2XX
        "Unit_hipStreamPerThread_DeviceReset_1",
        "Unit_hipDeviceGetPCIBusId_Negative_PartialFill",
        "Unit_hipInit_Negative",
        "Unit_hipMemGetAddressRange_Negative",
        "Unit_hipExternalMemoryGetMappedBuffer_Vulkan_Positive_Read_Write",
        "Unit_hipExternalMemoryGetMappedBuffer_Vulkan_Negative_Parameters",
        "Unit_hipImportExternalMemory_Vulkan_Negative_Parameters",
        "Unit_hipWaitExternalSemaphoresAsync_Vulkan_Positive_Binary_Semaphore",
        "Unit_hipWaitExternalSemaphoresAsync_Vulkan_Positive_Multiple_Semaphores",
        "Unit_hipWaitExternalSemaphoresAsync_Vulkan_Negative_Parameters",
        "Unit_hipSignalExternalSemaphoresAsync_Vulkan_Positive_Binary_Semaphore",
        "Unit_hipSignalExternalSemaphoresAsync_Vulkan_Positive_Multiple_Semaphores",
        "Unit_hipSignalExternalSemaphoresAsync_Vulkan_Negative_Parameters",
        "Unit_hipImportExternalSemaphore_Vulkan_Negative_Parameters",
        "Unit_hipDestroyExternalSemaphore_Vulkan_Negative_Parameters",
        "SWDEV-415692 Soft hang in stress test on 29/08/23",
        "Unit_Grid_Group_Sync_Positive_Basic",
        "=== Below tests fail in stress test on 29/08/23 ===",
        "Unit_hipMemcpy2DToArray_multiDevicePinnedMemPeerGpu",
        "Unit_hipMemcpy2DToArray_multiDeviceDeviceContextChange",
        "Unit_hipMemcpy2DToArrayAsync_multiDeviceDeviceContextChange",
        "Unit_hipMemcpy3D_multiDevice-OnPeerDevice",
        "Unit_hipMemcpy3DAsync_multiDevice-D2D",
        "Unit_hipMemcpy3DAsync_multiDevice-DiffStream",
        "Unit_hipMemcpy2DFromArray_multiDevicePinnedMemPeerGpu",
        "Unit_hipMemcpy2DFromArray_multiDeviceContextChange",
        "Unit_hipMemcpy2DFromArrayAsync_multiDeviceContextChange",
        "Unit_hipMemcpyAtoH_multiDevice-PeerDeviceContext - char",
        "Unit_hipMemcpyAtoH_multiDevice-PeerDeviceContext - int",
        "Unit_hipMemcpyAtoH_multiDevice-PeerDeviceContext - float",
        "Unit_hipMemcpyHtoA_multiDevice-PeerDeviceContext - char",
        "Unit_hipMemcpyHtoA_multiDevice-PeerDeviceContext - int",
        "Unit_hipMemcpyHtoA_multiDevice-PeerDeviceContext - float",
        "Unit_hipDrvMemcpy3D_Host2ArrayDeviceContextChange",
        "=== Below tests tests fail in stress test on 13/09/23 ===",
        "Unit_hipGraphInstantiateWithFlags_DependencyGraphDeviceCtxtChg",
        "Unit_hipGraphUpload_Functional_multidevice_test",
        "Unit_hipMemcpyParam2D_multiDevice-D2D - char",
        "Unit_hipMemcpyParam2D_multiDevice-D2D - float",
        "Unit_hipMemcpyParam2D_multiDevice-D2D - int",
        "Unit_hipMemcpyParam2D_multiDevice-D2D - double",
        "Unit_hipMemcpyParam2D_multiDevice-D2D - long double",
        "Unit_hipMemcpyParam2DAsync_multiDevice-StreamOnDiffDevice - char",
        "=== SWDEV-425251:Below test failed in stress test on 11/10/23 ===",
        "Unit_hipP2pLinkTypeAndHopFunc",
        "=== SWDEV-430387:Below tests failed in stress test on 27/10/23 ===",
        "Unit_hipStreamAddCaptureDependencies_Positive_Functional",
        "Unit_hipMallocManaged_HostDeviceConcurrent",
        "Unit_hipMallocManaged_MultiThread",
        "Unit_hipMemcpyAsync_H2H-H2D-D2H-H2PinMem - double",
        "Unit_hipMallocArray_happy - int4",
        "Unit_hipMallocArray_happy - float4",
        "=== SWDEV-432556:Below test failed in stress test on 10/11/23 ===",
        "Unit_hipDeviceGetUuid_From_RocmInfo",
    #endif
    #if defined NAVI21
        "=== Below tests failed in stress test on 11/10/23 ===",
        "Unit_hipStreamCreate_Performance",
        "Unit_hipStreamCreate_WithFlagsPerformance_Nonblocking",
        "Unit_hipStreamCreate_WithFlagsPerformance_Default",
    #endif
    #if defined NAVI3X
        "=== Below tests soft hang in stress test on 13/09/23 ===",
        "Unit_hipMemsetFunctional_ZeroValue_hipMemsetD16",
        "Unit_hipIpcMemAccess_Semaphores",
        "Unit_hipStreamAttachMemAsync_Negative_Parameters",
        "hipStreamPerThread_CoopLaunch",
        "hipCGMultiGridGroupType",
        "Grid_Group_Getters_Positive_Basic",
        "Grid_Group_Getters_Via_Non_Member_Functions_Positive_Basic",
        "Grid_Group_Sync_Positive_Basic",
        "dynamic_loading_device_kernels_from_library",
        "=== Below tests failed in stress test on 11/10/23 ===",
        "Unit_hipStreamCreate_WithPriorityPerformance_Nonblocking_low",
    #endif
        "End of json"
    ]
}
