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

Bu işleme şunda yer alıyor:
Vladislav Sytchenko
2019-10-15 14:20:14 -04:00
ebeveyn 0b52c1d9d8
işleme 3db2ecc52b
+2 -2
Dosyayı Görüntüle
@@ -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();