view src/synchronizedQueue/allocate.h @ 283:2b41bd298fe8

add openCL test files
author mir3636
date Sun, 05 Feb 2017 18:30:30 +0900
parents a870c84acd0e
children
line wrap: on
line source

void allocator(struct Context* context) { 
    context->data[++context->dataNum] = context->heap; 
    context->heap += context->data[0]->allocate.size; 
    return;
}