SWDEV-351033 - Enable test - Unit_hipHostUnregister_* (#2897)
Change-Id: Ibcde7a127546941fe1fc65ce2250dfdd2b24d88c
This commit is contained in:
committed by
GitHub
parent
0aea7409f0
commit
cd1e9a2775
@@ -69,19 +69,11 @@ TEST_CASE("Unit_hipHostUnregister_NullPtr") {
|
||||
}
|
||||
|
||||
TEST_CASE("Unit_hipHostUnregister_NotRegisteredPointer") {
|
||||
#if HT_AMD
|
||||
HipTest::HIP_SKIP_TEST("TODO-MATCH-ERRORCODE");
|
||||
return;
|
||||
#endif
|
||||
auto x = std::unique_ptr<int>(new int);
|
||||
HIP_CHECK_ERROR(hipHostUnregister(x.get()), hipErrorHostMemoryNotRegistered);
|
||||
}
|
||||
|
||||
TEST_CASE("Unit_hipHostUnregister_AlreadyUnregisteredPointer") {
|
||||
#if HT_AMD
|
||||
HipTest::HIP_SKIP_TEST("TODO-MATCH-ERRORCODE");
|
||||
return;
|
||||
#endif
|
||||
if (!hipHostRegisterSupported()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user