more flexible memory flags for SGE adaptor