hipMemset2D test should pass only if both async and sync subtests pass.

[ROCm/clr commit: 39e42d4056]
Этот коммит содержится в:
Vladislav Sytchenko
2019-10-15 14:20:14 -04:00
родитель e2c2025e3e
Коммит e6f426dee3
+2 -2
Просмотреть файл
@@ -113,8 +113,8 @@ int main(int argc, char *argv[])
hipCtxCreate(&context, 0, p_gpuDevice);
bool testResult = false;
testResult = testhipMemset2D(memsetval, p_gpuDevice);
testResult = testhipMemset2DAsync(memsetval, p_gpuDevice);
testResult &= testhipMemset2D(memsetval, p_gpuDevice);
testResult &= testhipMemset2DAsync(memsetval, p_gpuDevice);
hipCtxDestroy(context);
if(testResult){
passed();