|
| 1 | +# HIP.gitignore |
| 2 | +# GitHub gitignore template for AMD HIP (ROCm) projects |
| 3 | +# |
| 4 | +# Reference: |
| 5 | +# Official AMD ROCm HIP .gitignore: https://github.com/ROCm/hip/blob/amd-staging/.gitignore |
| 6 | + |
| 7 | +# 1. Build directories and files |
| 8 | +/build/ # common build directory |
| 9 | +/CMakeFiles/ # CMake internal files |
| 10 | +/CMakeCache.txt # CMake cache file |
| 11 | +/Makefile # autogenerated Makefile |
| 12 | +/cmake_install.cmake # install script |
| 13 | +/install_manifest.txt # install manifest list |
| 14 | +*.ninja-dep # Ninja dependency files |
| 15 | +*.ninja_log # Ninja log files |
| 16 | +meson-logs/ # Meson log directory |
| 17 | + |
| 18 | +# 2. Compilation outputs and intermediates |
| 19 | +*.o # object files |
| 20 | +*.obj # Windows object files |
| 21 | +*.so # shared libraries |
| 22 | +*.a # static librarie |
| 23 | +*.d # dependency files |
| 24 | +*.gch # precompiled headers |
| 25 | +*.ii # preprocessed output |
| 26 | +*.ii.cpp # C++ preprocessed output |
| 27 | +*.out # generic executable outputs |
| 28 | +*.exe # Windows executables |
| 29 | + |
| 30 | +# 3. HIP/ROCm specific binaries and intermediates |
| 31 | +*.hsaco # ROCm compiled binary |
| 32 | +*.s # assembly output |
| 33 | +*.kernels.cpp # autogenerated kernel sources |
| 34 | +*.hip.cpp.* # hipcc intermediate outputs |
| 35 | + |
| 36 | +# 4. Official sample binaries and tutorial outputs |
| 37 | +bin/hipInfo # sample binary |
| 38 | +bin/hipBusBandwidth # sample binary |
| 39 | +bin/hipDispatchLatency # sample binary |
| 40 | +bin/hipify-clang # sample tool |
| 41 | +samples/**/*.out # tutorial outputs |
| 42 | +samples/**/*.code # ISA/code dumps |
| 43 | +samples/**/*.hsaco # compiled binaries |
| 44 | +samples/**/*.co # kernel code outputs |
| 45 | + |
| 46 | +# 5. Tags, logs and test outputs |
| 47 | +tags # ctags index |
| 48 | +*.log # log files |
| 49 | +/tests_output/ # custom test output directory |
| 50 | +/samples_output/ # custom sample output directory |
0 commit comments