Complexity / 2021 / Article / Alg 6

Research Article

An Adaptive Parallel Method for Indexing Transportation Moving Objects

Algorithm 6

GPU-based counting algorithm GPU_count.
Input: object movement information list update_info_list
Output: update each node counter value
(1)for each (item in update_info_list)
(2)  node_in = get_location (item.new_pos)
(3)   (node_in.x/m) == threadIdx.x and
(4)   node_out.y/n = = threadIdx.y
(5)   increase (count[node_in.x%threadIdx.x] [node_in.y%threadIdx.y]);