memory allocation refactoring

Change-Id: Ic63b4f5ea44f2dc5e009e3e58652a661e957b7d6
Este commit está contenido en:
Evgeny
2018-04-27 20:00:20 -05:00
padre 0d286e5efa
commit c9c0ecc976
Se han modificado 14 ficheros con 194 adiciones y 175 borrados
+4 -1
Ver fichero
@@ -36,6 +36,9 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
// Class implements SimpleConvolution kernel parameters
class SimpleConvolution : public TestKernel {
public:
// Kernel buffers IDs
enum { INPUT_BUF_ID, LOCAL_BUF_ID, MASK_BUF_ID, KERNARG_BUF_ID, REFOUT_BUF_ID };
// Constructor
SimpleConvolution();
@@ -46,7 +49,7 @@ class SimpleConvolution : public TestKernel {
uint32_t GetGridSize() const { return width_ * height_; }
// Print output
void PrintOutput() const;
void PrintOutput(const void* ptr) const;
// Return name
std::string Name() const { return std::string("SimpleConvolution"); }