fix nvcc compiler

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


[ROCm/hip commit: 9941ba0bc6]
This commit is contained in:
Ben Sander
2016-03-19 04:20:10 -05:00
szülő b520a34579
commit 9c3100894c
5 fájl változott, egészen pontosan 19 új sor hozzáadva és 12 régi sor törölve
@@ -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);