corrected cmake

This commit is contained in:
Aditya Atluri
2016-03-24 11:17:57 -05:00
parent f1584e971c
commit 6915046b27
3 changed files with 28 additions and 27 deletions
+1 -1
View File
@@ -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));