Mercurial > hg > Members > innparusu > Gears
view src/parallel_execution/allocate.c @ 98:d400948dbbab
add Cuda infomation to context
author | ikkun |
---|---|
date | Mon, 01 Feb 2016 18:03:43 +0900 |
parents | 9e139a340bd1 |
children | 135472238fb7 |
line wrap: on
line source
#include "context.h" void allocator(struct Context* context) { context->data[++context->dataNum] = context->heap; context->heap += context->data[Allocate]->allocate.size; }