From 28e2c2db5eda9331780608d1e03d245ff0e22c3f Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Wed, 19 Oct 2022 16:49:18 +0530 Subject: [PATCH] SWDEV-361129 - [catch2][dtest] Enabling tests hipGraphInstantiateWithFlags for AMD (#2987) Change-Id: I39227ab51417e55f4ab05c48b61e9735856e58ac [ROCm/hip-tests commit: 246f0c7d20f22b1f4ca13e49d9194e15e0b99a89] --- .../catch/unit/graph/hipGraphInstantiateWithFlags.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/projects/hip-tests/catch/unit/graph/hipGraphInstantiateWithFlags.cc b/projects/hip-tests/catch/unit/graph/hipGraphInstantiateWithFlags.cc index 5e53d0357c..107bffd296 100644 --- a/projects/hip-tests/catch/unit/graph/hipGraphInstantiateWithFlags.cc +++ b/projects/hip-tests/catch/unit/graph/hipGraphInstantiateWithFlags.cc @@ -43,11 +43,9 @@ Mapping is missing for NVIDIA platform hence skipping the testcases #include constexpr size_t N = 1000000; -#if HT_AMD /* This test covers the negative scenarios of hipGraphInstantiateWithFlags API */ TEST_CASE("Unit_hipGraphInstantiateWithFlags_Negative") { -#if HT_NVIDIA SECTION("Passing nullptr pGraphExec") { hipGraph_t graph; HIP_CHECK(hipGraphCreate(&graph, 0)); @@ -67,7 +65,6 @@ TEST_CASE("Unit_hipGraphInstantiateWithFlags_Negative") { hipGraphExec_t graphExec; REQUIRE(hipGraphInstantiateWithFlags(&graphExec, graph, 10) != hipSuccess); } -#endif } /* This function verifies the following scenarios @@ -267,7 +264,6 @@ This testcase verifies hipGraphInstantiateWithFlags API by creating dependency graph on GPU-0 and instantiate, launching and verifying the result on GPU-1 */ -#if HT_NVIDIA TEST_CASE("Unit_hipGraphInstantiateWithFlags_DependencyGraphDeviceCtxtChg") { int numDevices = 0; int canAccessPeer = 0; @@ -283,7 +279,6 @@ TEST_CASE("Unit_hipGraphInstantiateWithFlags_DependencyGraphDeviceCtxtChg") { SUCCEED("skipped the testcase as no of devices is less than 2"); } } -#endif /* This testcase verifies hipGraphInstantiateWithFlags API by creating capture graph and instantiate, launching and verifying @@ -325,4 +320,3 @@ TEST_CASE("Unit_hipGraphInstantiateWithFlags_StreamCaptureDeviceContextChg") { SUCCEED("skipped the testcase as no of devices is less than 2"); } } -#endif