Skip to content

Commit

Permalink
Save the converted artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
pfxuan committed Mar 6, 2024
1 parent cfdcaac commit 53d7fd7
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/hip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,39 @@ jobs:
clang --version
find /opt/rocm -name __clang_cuda_runtime_wrapper.h
ls /opt/rocm/llvm/lib/clang
sudo ln -s /opt/rocm/llvm/lib/clang/16.0.0 /opt/rocm/llvm/lib/clang/16
sudo ln -s -f /opt/rocm/llvm/lib/clang/16.0.0 /opt/rocm/llvm/lib/clang/16
hipify-clang -v ./vendor/gsplat/backward.cu ./vendor/gsplat/bindings.cu ./vendor/gsplat/forward.cu \
hipify-clang -v \
./vendor/gsplat/backward.cu \
./vendor/gsplat/backward.cuh \
./vendor/gsplat/bindings.cu \
./vendor/gsplat/bindings.h \
./vendor/gsplat/config.h \
./vendor/gsplat/forward.cu \
./vendor/gsplat/forward.cuh \
./vendor/gsplat/helpers.cuh \
./vendor/gsplat/sh.cuh \
--cuda-path=${CUDA_HOME} \
-I /opt/rocm/hip/include \
-I /mnt/deps/libtorch/include \
-I /mnt/deps/libtorch/include/torch/csrc/api/include \
-I ${CUDA_HOME}/include \
-I ${CUDA_HOME}/targets/x86_64-linux/include \
-I ./vendor/gsplat \
--print-stats -- -include ./vendor/gsplat/noinline.h -std=c++17
ls -l ./
ls -l ./vendor/gsplat
- name: Save Converted Artifacts
uses: actions/upload-artifact@v4
with:
path: |
vendor/gsplat
!vendor/gsplat/*.cu
!vendor/gsplat/*.cuh
!vendor/gsplat/*.h
!vendor/gsplat/*.txt
- name: Clean Compiler Cache
run: |
Expand Down

0 comments on commit 53d7fd7

Please sign in to comment.