-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5481181
Showing
243 changed files
with
108,731 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build_linux: | ||
name: Build on linux systems | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
include: | ||
- os: ubuntu-20.04 | ||
cuda: "11.3" | ||
arch: 86 | ||
- os: ubuntu-18.04 | ||
cuda: "10.2" | ||
arch: 75 | ||
- os: ubuntu-18.04 | ||
cuda: "10.2" | ||
arch: 70 | ||
- os: ubuntu-18.04 | ||
cuda: "10.2" | ||
arch: 61 | ||
- os: ubuntu-18.04 | ||
cuda: "10.2" | ||
arch: 53 | ||
- os: ubuntu-18.04 | ||
cuda: "10.2" | ||
arch: 37 | ||
env: | ||
build_dir: "build" | ||
config: "Release" | ||
TCNN_CUDA_ARCHITECTURES: ${{ matrix.arch }} | ||
steps: | ||
- name: Install dependencies | ||
run: sudo apt-get update && sudo apt-get install build-essential python3-dev libglfw3-dev libglew-dev libxinerama-dev libxcursor-dev libxi-dev | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Install CUDA | ||
env: | ||
cuda: ${{ matrix.cuda }} | ||
run: ./dependencies/cuda-cmake-github-actions/scripts/actions/install_cuda_ubuntu.sh | ||
shell: bash | ||
- name: CMake | ||
run: cmake . -B ${{ env.build_dir }} -DCMAKE_BUILD_TYPE=${{ env.config }} | ||
- name: Build | ||
working-directory: ${{ env.build_dir }} | ||
run: cmake --build . --target all --verbose -j `nproc` | ||
|
||
|
||
build_windows: | ||
name: Build on Windows | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
include: | ||
- os: windows-2019 | ||
visual_studio: "Visual Studio 16 2019" | ||
cuda: "11.5.1" | ||
arch: 86 | ||
- os: windows-2019 | ||
visual_studio: "Visual Studio 16 2019" | ||
cuda: "11.5.1" | ||
arch: 75 | ||
- os: windows-2019 | ||
visual_studio: "Visual Studio 16 2019" | ||
cuda: "11.5.1" | ||
arch: 70 | ||
- os: windows-2019 | ||
visual_studio: "Visual Studio 16 2019" | ||
cuda: "11.5.1" | ||
arch: 61 | ||
- os: windows-2019 | ||
visual_studio: "Visual Studio 16 2019" | ||
cuda: "11.5.1" | ||
arch: 53 | ||
- os: windows-2019 | ||
visual_studio: "Visual Studio 16 2019" | ||
cuda: "11.5.1" | ||
arch: 37 | ||
env: | ||
build_dir: "build" | ||
config: "Release" | ||
TCNN_CUDA_ARCHITECTURES: ${{ matrix.arch }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Install CUDA | ||
env: | ||
cuda: ${{ matrix.cuda }} | ||
visual_studio: ${{ matrix.visual_studio }} | ||
shell: powershell | ||
run: .\dependencies\cuda-cmake-github-actions\scripts\actions\install_cuda_windows.ps1 | ||
- name: CMake | ||
run: cmake . -B ${{ env.build_dir }} -G "${{ matrix.visual_studio }}" -A x64 | ||
- name: Build | ||
working-directory: ${{ env.build_dir }} | ||
run: cmake --build . --config ${{ env.config }} --target ALL_BUILD --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/.vscode | ||
/.vs | ||
/build* | ||
/figures | ||
/out | ||
/results | ||
/tmp | ||
/venv | ||
/video | ||
/*.json | ||
*.msgpack | ||
*.training | ||
__pycache__ | ||
.DS_Store | ||
imgui.ini | ||
/data | ||
/.idea | ||
.run/ | ||
.devcontainer/ | ||
.editorconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[submodule "dependencies/pybind11"] | ||
path = dependencies/pybind11 | ||
url = https://github.com/Tom94/pybind11 | ||
[submodule "dependencies/eigen"] | ||
path = dependencies/eigen | ||
url = https://github.com/Tom94/eigen | ||
[submodule "dependencies/glfw"] | ||
path = dependencies/glfw | ||
url = https://github.com/Tom94/glfw | ||
[submodule "dependencies/args"] | ||
path = dependencies/args | ||
url = https://github.com/Taywee/args | ||
[submodule "dependencies/tinylogger"] | ||
path = dependencies/tinylogger | ||
url = https://github.com/Tom94/tinylogger | ||
[submodule "dependencies/tiny-cuda-nn"] | ||
path = dependencies/tiny-cuda-nn | ||
url = https://github.com/NVlabs/tiny-cuda-nn | ||
[submodule "dependencies/imgui"] | ||
path = dependencies/imgui | ||
url = https://github.com/ocornut/imgui.git | ||
[submodule "dependencies/dlss"] | ||
path = dependencies/dlss | ||
url = https://github.com/NVIDIA/DLSS |
Oops, something went wrong.