merge Hasegawa-san's opencl_gpupreagg.h code