Several fixes/improvements to directed tests.

Change-Id: Ieb32569ddbf5795d2ab3392165a7ddc22693dc62
This commit is contained in:
Ben Sander
2016-10-18 22:24:40 -05:00
parent 261ff423e1
commit c4b602a0b9
3 ha cambiato i file con 15 aggiunte e 2 eliminazioni
@@ -90,6 +90,17 @@ void run(size_t size, hipStream_t stream1, hipStream_t stream2){
HIPCHECK(hipDeviceSynchronize());
HIPASSERT(Eh[10] = Ah[10] + 1.0f);
HIPASSERT(Ehh[10] = Ahh[10] + 1.0f);
HIPCHECK(hipHostFree(Ah));
HIPCHECK(hipHostFree(Bh));
HIPCHECK(hipHostFree(Eh));
HIPCHECK(hipHostFree(Ahh));
HIPCHECK(hipHostFree(Bhh));
HIPCHECK(hipHostFree(Ehh));
HIPCHECK(hipFree(Cd));
HIPCHECK(hipFree(Dd));
HIPCHECK(hipFree(Cdd));
HIPCHECK(hipFree(Ddd));
}
int main(int argc, char **argv)