update GPU insert algorithm, add file macros.h