From 53d7fd7b0647e165369f9bf8be59d54d11762cae Mon Sep 17 00:00:00 2001 From: Pengfei Xuan Date: Wed, 6 Mar 2024 17:57:57 -0500 Subject: [PATCH] Save the converted artifacts --- .github/workflows/hip.yml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index 3876248..086300c 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -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: |