Files
rocm-systems/projects/hip/bin/finduncodep.sh
T
Evgeny Mankov d883d24616 [HIPIFY][bash] Make 'find' sorted by extension (#1231)
+ Source files are the first to go. It is needed for in-place hipification in order to avoid errors with included but already hipified header files.
+ More extensions support for batch processing.

[ROCm/hip commit: b1fad7915b]
2019-07-17 07:28:54 +00:00

6 righe
322 B
Bash
Executable File

#!/bin/bash
SEARCH_DIR=$1
find $SEARCH_DIR -not -name '*.cu' -and -not -name '*.cpp' -and -not -name '*.cxx' -and -not -name '*.c' -and -not -name '*.cc' -and -not -name '*.cuh' -and -not -name '*.h' -and -not -name '*.hpp' -and -not -name '*.inc' -and -not -name '*.inl' -and -not -name '*.hxx' -and -not -name '*.hdl'