+created overloaded new/delete

This commit is contained in:
Evghenii
2014-01-05 16:20:56 +01:00
parent cd929b17a7
commit 2198d8ba51
11 changed files with 66 additions and 540 deletions

View File

@@ -103,8 +103,7 @@ int main(int argc, char *argv[]) {
int maxIterations = 512;
int *buf;
ispc_malloc((void**)&buf, sizeof(int)*width*height);
int *buf = new int[width*height];
for (unsigned int i = 0; i < width * height; ++i)
buf[i] = 0;