Commit de753167 authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

update dyn starpu block

parent fbbe1fb7
......@@ -117,12 +117,12 @@ public:
// Allocate
allocatedMemoryInByteSymb = memoryToAllocSymb;
memoryBuffer = (unsigned char*)FAlignedMemory::AllocateBytes<MemoryAlignementBytes>(memoryToAllocSymb);
FAssertLF(memoryBuffer || !totalSymb);
memset(memoryBuffer, 0, memoryToAllocSymb);
allocatedMemoryInByteDown = totalDown;
downPart = (unsigned char*)FAlignedMemory::AllocateBytes<MemoryAlignementBytes>(allocatedMemoryInByteDown);
FAssertLF(downPart || !totalDown);
memset(downPart, 0, allocatedMemoryInByteDown);
// Move the pointers to the correct position
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment