Skip to content

Commit bcca27c

Browse files
committed
svm: finish all queues in svm_pointer_passing
The `svm_pointer_passing` has unflushed buffer unmap commands queued, which a runtime might process after the `clSVMFree` calls at the end of the test (through implicit flushing when destroying the queues at e.g. program exit handlers). This is only an issue when running the test with multiple devices
1 parent 2ea4d16 commit bcca27c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test_conformance/SVM/test_pointer_passing.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ REGISTER_TEST(svm_pointer_passing)
127127
return -1;
128128
}
129129
}
130-
}
131130

132-
error = clFinish(cmdq);
133-
test_error(error, "clFinish failed");
131+
error = clFinish(cmdq);
132+
test_error(error, "clFinish failed");
133+
}
134134
}
135135

136136

0 commit comments

Comments
 (0)