SWDEV-411064 - check if image is supported before running image specific tests

Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277
このコミットが含まれているのは:
Jatin Chaudhary authored and Jatin Jaikishan Chaudhary committed 2023-09-21 06:23:55 -04:00
1 親 b6b43db172
コミット ee3c94faf2
52ファイル変更
+524 -76

検索条件に一致するファイルはありません

-11
ファイルの表示
@@ -184,17 +184,6 @@ TEST_CASE("Unit_hipGraphExecMemcpyNodeSetParamsFromSymbol_Negative_Parameters")
}
#endif
if (HipTest::getDeviceCount() >= 2) {
SECTION("Changing dst allocation device") {
HIP_CHECK(hipSetDevice(1));
LinearAllocGuard<int> new_var(LinearAllocs::hipMalloc, sizeof(int));
HIP_CHECK_ERROR(hipGraphExecMemcpyNodeSetParamsFromSymbol(
graph_exec, node, new_var.ptr(), SYMBOL(int_device_var),
sizeof(*new_var.ptr()), 0, hipMemcpyDeviceToDevice),
hipErrorInvalidValue);
}
}
HIP_CHECK(hipGraphExecDestroy(graph_exec));
HIP_CHECK(hipGraphDestroy(graph));
}