hipMemset2D test should pass only if both async and sync subtests pass.
[ROCm/clr commit: 39e42d4056]
Этот коммит содержится в:
1 родитель
e2c2025e3e
Коммит
e6f426dee3
1 file changed
+2
-2
@@ -113,8 +113,8 @@ int main(int argc, char *argv[])
|
|||||||
hipCtxCreate(&context, 0, p_gpuDevice);
|
hipCtxCreate(&context, 0, p_gpuDevice);
|
||||||
|
|
||||||
bool testResult = false;
|
bool testResult = false;
|
||||||
testResult = testhipMemset2D(memsetval, p_gpuDevice);
|
testResult &= testhipMemset2D(memsetval, p_gpuDevice);
|
||||||
testResult = testhipMemset2DAsync(memsetval, p_gpuDevice);
|
testResult &= testhipMemset2DAsync(memsetval, p_gpuDevice);
|
||||||
hipCtxDestroy(context);
|
hipCtxDestroy(context);
|
||||||
if(testResult){
|
if(testResult){
|
||||||
passed();
|
passed();
|
||||||
|
|||||||
Reference in new issue
Block a user