fix nvcc compiler

- MallocHost and FreeHost deprecation.
- Change tests to call new hipHost* equivs.
- Add missing StreamSynchronize.


[ROCm/clr commit: 6984f24d3d]
This commit is contained in:
Ben Sander
2016-03-19 04:20:10 -05:00
rodzic 250a2816fd
commit c2fd536c22
5 zmienionych plików z 19 dodań i 12 usunięć
@@ -97,8 +97,8 @@ void simpleTest2(size_t numElements, bool usePinnedHost)
HIPCHECK(hipFree(A_d));
if (usePinnedHost) {
HIPCHECK(hipFreeHost(A_h1));
HIPCHECK(hipFreeHost(A_h2));
HIPCHECK(hipHostFree(A_h1));
HIPCHECK(hipHostFree(A_h2));
} else {
free(A_h1);
free(A_h2);