forked from RadeonOpenCompute/ROCm_Documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_doxygen.sh
executable file
·34 lines (22 loc) · 2.29 KB
/
run_doxygen.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
doxygen Doxyfile
sed -e 's/ROCBLAS_EXPORT //g' ROCm_Libraries/rocBLAS/src/include/rocblas.h > ROCm_Libraries/rocBLAS/src/rocblas.h
sed -e 's/ROCBLAS_EXPORT //g' ROCm_Libraries/rocBLAS/src/include/rocblas-functions.h > ROCm_Libraries/rocBLAS/src/rocblas-functions.h
sed -e 's/ROCBLAS_EXPORT //g' ROCm_Libraries/rocBLAS/src/include/rocblas-types.h > ROCm_Libraries/rocBLAS/src/rocblas-types.h
sed -e 's/ROCBLAS_EXPORT //g' ROCm_Libraries/rocBLAS/src/include/rocblas-auxiliary.h > ROCm_Libraries/rocBLAS/src/rocblas-auxiliary.h
doxygen ROCm_Libraries/rocBLAS/Doxyfile
doxygen ROCm_Libraries/rocALUTION/Doxyfile
sed -e 's/ROCFFT_EXPORT //g' ROCm_Libraries/rocFFT/src/rocfft.h > ROCm_Libraries/rocFFT/src/rocfft_sed.h
doxygen ROCm_Libraries/rocFFT/Doxyfile
sed -e 's/ROCSPARSE_EXPORT//g' ROCm_Libraries/rocSPARSE/src/rocsparse-functions.h > ROCm_Libraries/rocSPARSE/src/rocsparse-functions_sed1.h
sed -e 's/\\text{if trans == rocsparse_operation_none}/if\\: trans == rocsparse\\_operation\\_none/g; s/\\text{if trans == rocsparse_operation_transpose}/if\\: trans == rocsparse\\_operation\\_transpose/g; s/\\text{if trans == rocsparse_operation_conjugate_transpose}/if\\: trans == rocsparse\\_operation\\_conjugate\\_transpose/g' ROCm_Libraries/rocSPARSE/src/rocsparse-functions_sed1.h > ROCm_Libraries/rocSPARSE/src/rocsparse-functions_sed.h
sed -e 's/ROCSPARSE_EXPORT//g' ROCm_Libraries/rocSPARSE/src/rocsparse-auxiliary.h > ROCm_Libraries/rocSPARSE/src/rocsparse-auxiliary_sed.h
sed -i 's/#include "rocsparse-export.h"//g' rocsparse-functions_sed.h
sed -i 's/#include "rocsparse-export.h"//g' rocsparse-auxiliary_sed.h
doxygen ROCm_Libraries/rocSPARSE/Doxyfile
sed -e 's/ROCSOLVER_EXPORT //g' ROCm_Libraries/rocSOLVER/library/include/rocsolver.h > ROCm_Libraries/rocSOLVER/src/rocsolver.h
sed -e 's/ROCSOLVER_EXPORT //g' ROCm_Libraries/rocSOLVER/library/include/rocsolver-functions.h > ROCm_Libraries/rocSOLVER/src/rocsolver-functions.h
sed -e 's/ROCSOLVER_EXPORT //g' ROCm_Libraries/rocSOLVER/library/include/rocsolver-types.h > ROCm_Libraries/rocSOLVER/src/rocsolver-types.h
sed -e 's/ROCSOLVER_EXPORT //g' -e 's/__inline //g' ROCm_Libraries/rocSOLVER/library/include/rocsolver-auxiliary.h > ROCm_Libraries/rocSOLVER/src/rocsolver-auxiliary.h
doxygen ROCm_Libraries/rocSOLVER/Doxyfile
doxygen ROCm_Libraries/rocr/Doxyfile