Fix tests to account for multi-gpu

[ROCm/clr commit: afbe451b0d]
Αυτή η υποβολή περιλαμβάνεται σε:
Ben Sander
2016-02-15 05:19:52 -06:00
γονέας ed618e637e
υποβολή 7e46e90591
2 αρχεία άλλαξαν με 6 προσθήκες και 1 διαγραφές
@@ -212,6 +212,9 @@ int main(int argc, char *argv[])
{
HipTest::parseStandardArguments(argc, argv, true);
printf ("info: set device to %d\n", p_gpuDevice);
HIPCHECK(hipSetDevice(p_gpuDevice));
if (p_tests & 0x1) {
HIPCHECK ( hipDeviceReset() );