From e26f4996280d46fd0b8aad66b9c361fc5457f829 Mon Sep 17 00:00:00 2001 From: Pengfei Xuan Date: Wed, 6 Mar 2024 17:42:28 -0500 Subject: [PATCH] Save the converted artifacts --- .github/workflows/hip.yml | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index 3876248..a83fb5a 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -157,16 +157,38 @@ 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 + --inplace --print-stats -- -include ./vendor/gsplat/noinline.h -std=c++17 + + 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: |