SWDEV-541362 - Fix error code mismatch in test (#1377)
Tento commit je obsažen v:
@@ -120,9 +120,12 @@ TEST_CASE("Unit_hipDrvLaunchKernelEx_NegTsts") {
|
||||
invalidConfig.attrs = &invalidAttr;
|
||||
invalidConfig.numAttrs = 1;
|
||||
|
||||
hipError_t err = hipErrorInvalidConfiguration;
|
||||
#if HT_NVIDIA
|
||||
err = hipErrorInvalidValue;
|
||||
#endif
|
||||
SECTION("Invalid Kernel config") {
|
||||
HIP_CHECK_ERROR(hipDrvLaunchKernelEx(&invalidConfig, function, kernelParams, NULL),
|
||||
hipErrorInvalidConfiguration);
|
||||
HIP_CHECK_ERROR(hipDrvLaunchKernelEx(&invalidConfig, function, kernelParams, NULL), err);
|
||||
}
|
||||
|
||||
HIP_CHECK(hipModuleUnload(module));
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele