[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.
이 커밋은 다음에 포함됨:
Evgeny Mankov
2019-07-17 10:28:54 +03:00
커밋한 사람 Maneesh Gupta
부모 8a28afeb84
커밋 b1fad7915b
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
+4 -1
파일 보기
@@ -2,4 +2,7 @@
SEARCH_DIRS=$@
find $SEARCH_DIRS -name '*.cpp' -o -name '*.h' -o -name '*.cu' -o -name '*.cuh' -o -name '*.c' -o -name '*.hpp' -o -name '*.inl'
find $SEARCH_DIRS -name '*.cu'
find $SEARCH_DIRS -name '*.cpp' -o -name '*.cxx' -o -name '*.c' -o -name '*.cc'
find $SEARCH_DIRS -name '*.cuh'
find $SEARCH_DIRS -name '*.h' -o -name '*.hpp' -o -name '*.inc' -o -name '*.inl' -o -name '*.hxx' -o -name '*.hdl'