SWDEV-321698 - Correct node type (#2692)
- remove node type that does not match with cuda
Change-Id: Ibd80473e9996459fdf08885a0f18c395d807ef3d
[ROCm/hip commit: 7f2284901e]
Цей коміт міститься в:
зафіксовано
GitHub
джерело
8613cfe299
коміт
31bdb9c36c
@@ -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);
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача