SWDEV-321698 - Correct node type (#2692)

- remove node type that does not match with cuda

Change-Id: Ibd80473e9996459fdf08885a0f18c395d807ef3d
This commit is contained in:
ROCm CI Service Account
2022-06-02 19:30:55 +05:30
committed by GitHub
vanhempi 5da168300f
commit efaf400644
@@ -111,11 +111,10 @@ TEST_CASE("Unit_hipGraphNodeGetType_NodeType") {
HIP_CHECK(hipGraphAddMemcpyNode1D(&memcpyNode, graph, NULL, 0, A_d, A_h,
Nbytes, hipMemcpyHostToDevice));
HIP_CHECK(hipGraphNodeGetType(memcpyNode, &nodeType));
#if HT_AMD
REQUIRE(nodeType == hipGraphNodeTypeMemcpy1D);
#else
REQUIRE(nodeType == cudaGraphNodeTypeMemcpy);
#endif
// temp disable it until correct node is set
// REQUIRE(nodeType == hipGraphNodeTypeMemcpy);
HIP_CHECK(hipGraphAddEmptyNode(&memcpyNode, graph, nullptr , 0));
HIP_CHECK(hipGraphNodeGetType(memcpyNode, &nodeType));
REQUIRE(nodeType == hipGraphNodeTypeEmpty);