using thrust-cuda library in reduction data from huge input files