initial commit

[ROCm/clr commit: 3694ab2ce8]
Este commit está contenido en:
foreman
2014-07-04 16:17:05 -04:00
padre b0b5b33fcf
commit f80f2f233c
Se han modificado 351 ficheros con 113713 adiciones y 1 borrados
+30
Ver fichero
@@ -0,0 +1,30 @@
//
// Copyright (c) 2008 Advanced Micro Devices, Inc. All rights reserved.
//
#ifndef ALLOC_HPP_
#define ALLOC_HPP_
#include "top.hpp"
namespace amd {
class AlignedMemory : public AllStatic
{
public:
static void* allocate(size_t size, size_t alignment);
static void deallocate(void* ptr);
};
class GuardedMemory : public AllStatic
{
public:
static void* allocate(size_t size, size_t alignment, size_t guardSize);
static void deallocate(void* ptr);
};
} // namespace amd
#endif /*ALLOC_HPP_*/