[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.
이 커밋은 다음에 포함됨:
+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'
|
||||
|
||||
새 이슈에서 참조
사용자 차단