Split files based on functionality and changed cmake file

[ROCm/clr commit: 1c55019322]
This commit is contained in:
Aditya Atluri
2016-03-24 04:57:30 -05:00
rodzic 539f1a419f
commit bd9979eda6
15 zmienionych plików z 527 dodań i 3185 usunięć
@@ -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);
}