Split files based on functionality and changed cmake file

This commit is contained in:
Aditya Atluri
2016-03-24 04:57:30 -05:00
parent 890ec4c45c
commit 1c55019322
15 changed files with 527 additions and 3185 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ static inline hipError_t hipMalloc ( T** devPtr, size_t size)
// Provide an override to automatically typecast the pointer type from void**, and also provide a default for the flags.
template<class T>
static inline hipError_t hipHostMalloc( T** ptr, size_t size, unsigned int flags = hipHostMallocDefault)
static inline hipError_t hipHostMalloc( T** ptr, size_t size, unsigned int flags = 0)
{
return hipHostMalloc((void**)ptr, size, flags);
}