From: Erik S. <esc...@pe...> - 2011-12-14 18:50:55
|
I'm finding that many of the object allocation/deallocation routines are not careful about allocation and freeing memory. I think that some reference counting may be necessary, but this doesn't seem to be employed consistently. Should we add "magic markers" into the objects, which would help identify routines accessing objects that have been freed? I am thinking in particular of program, kernel, and mem objects, i.e. adding such markers to their declarations in pocl_cl.h, and checking them in various places. -erik -- Erik Schnetter <esc...@pe...> http://www.cct.lsu.edu/~eschnett/ AIM: eschnett247, Skype: eschnett, Google Talk: sch...@gm... |