first uncomplete implementation for GpuJoin.c_code