corrected cmake

[ROCm/clr commit: 6915046b27]
This commit is contained in:
Aditya Atluri
2016-03-24 11:17:57 -05:00
parent a38af0305f
commit 99a32af732
3 changed files with 28 additions and 27 deletions
@@ -40,7 +40,7 @@ HIPCHECK(hipGetDevice(&device));
HIPCHECK(hipGetDeviceProperties(&prop, device));
if(prop.canMapHostMemory != 1){
std::cout<<"Exiting..."<<std::endl;
failed();
failed("Does support HostPinned Memory");
}
HIPCHECK(hipHostMalloc((void**)&A, SIZE, hipHostMallocWriteCombined | hipHostMallocMapped));