Open simon-riou opened 3 weeks ago
Todo list of CUDA files
You can delete:
frame_reshape.cc
and frame_reshape.hh
reduce
functions: reduce_min
, reduce_max
, gpu_reduce
and delete duplicate functions that are in reduce.cc
and in reduce.cuhxx
(you can basically delete reduce.cc
)map
functions: map_divide
shift_corners
functions that have 6 paramètres (only the 5 parameters one are called)https://developer.nvidia.com/blog/using-cuda-warp-level-primitives/
I use it in kernel_apply_mapped_zone_sum in chart.cu to avoid too many calls of atomic op
Structure might not always be the best Useless includes Dead code Unused function Bad comments ...