instant-ngp build
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .devcontainer/Dockerfile +92 -0
- .devcontainer/README.md +18 -0
- .devcontainer/devcontainer.json +14 -0
- .devcontainer/docker-compose.yml +26 -0
- .editorconfig +11 -0
- .gitattributes +64 -34
- .github/workflows/main.yml +153 -0
- .gitignore +15 -0
- .gitmodules +24 -0
- CMakeLists.txt +325 -0
- LICENSE.txt +97 -0
- README.md +346 -0
- build/CMakeCache.txt +686 -0
- build/CMakeFiles/3.25.0/CMakeCCompiler.cmake +72 -0
- build/CMakeFiles/3.25.0/CMakeCUDACompiler.cmake +75 -0
- build/CMakeFiles/3.25.0/CMakeCXXCompiler.cmake +83 -0
- build/CMakeFiles/3.25.0/CMakeDetermineCompilerABI_C.bin +3 -0
- build/CMakeFiles/3.25.0/CMakeDetermineCompilerABI_CUDA.bin +3 -0
- build/CMakeFiles/3.25.0/CMakeDetermineCompilerABI_CXX.bin +3 -0
- build/CMakeFiles/3.25.0/CMakeSystem.cmake +15 -0
- build/CMakeFiles/3.25.0/CompilerIdC/CMakeCCompilerId.c +868 -0
- build/CMakeFiles/3.25.0/CompilerIdC/a.out +0 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/CMakeCUDACompilerId.cu +468 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/a.out +0 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cpp1.ii +0 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cpp4.ii +0 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cudafe1.c +35 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cudafe1.cpp +0 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cudafe1.gpu +101 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cudafe1.stub.c +15 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.fatbin +0 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.fatbin.c +61 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.module_id +1 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.o +0 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.ptx +14 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.sm_52.cubin +0 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/a_dlink.fatbin +0 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/a_dlink.fatbin.c +57 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/a_dlink.o +0 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/a_dlink.reg.c +1 -0
- build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/a_dlink.sm_52.cubin +0 -0
- build/CMakeFiles/3.25.0/CompilerIdCXX/CMakeCXXCompilerId.cpp +857 -0
- build/CMakeFiles/3.25.0/CompilerIdCXX/a.out +0 -0
- build/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- build/CMakeFiles/CMakeOutput.log +0 -0
- build/CMakeFiles/CMakeRuleHashes.txt +2 -0
- build/CMakeFiles/FindOpenMP/ompver_C.bin +3 -0
- build/CMakeFiles/FindOpenMP/ompver_CXX.bin +3 -0
- build/CMakeFiles/Makefile.cmake +168 -0
- build/CMakeFiles/Makefile2 +306 -0
.devcontainer/Dockerfile
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM nvidia/cuda:10.2-devel-ubuntu18.04
|
2 |
+
|
3 |
+
ENV COLMAP_VERSION=3.7
|
4 |
+
ENV CMAKE_VERSION=3.21.0
|
5 |
+
ENV PYTHON_VERSION=3.7.0
|
6 |
+
ENV OPENCV_VERSION=4.5.5.62
|
7 |
+
ENV CERES_SOLVER_VERSION=2.0.0
|
8 |
+
|
9 |
+
RUN echo "Installing apt packages..." \
|
10 |
+
&& export DEBIAN_FRONTEND=noninteractive \
|
11 |
+
&& apt -y update --no-install-recommends \
|
12 |
+
&& apt -y install --no-install-recommends \
|
13 |
+
git \
|
14 |
+
wget \
|
15 |
+
ffmpeg \
|
16 |
+
tk-dev \
|
17 |
+
libxi-dev \
|
18 |
+
libc6-dev \
|
19 |
+
libbz2-dev \
|
20 |
+
libffi-dev \
|
21 |
+
libomp-dev \
|
22 |
+
libssl-dev \
|
23 |
+
zlib1g-dev \
|
24 |
+
libcgal-dev \
|
25 |
+
libgdbm-dev \
|
26 |
+
libglew-dev \
|
27 |
+
python3-dev \
|
28 |
+
python3-pip \
|
29 |
+
qtbase5-dev \
|
30 |
+
checkinstall \
|
31 |
+
libglfw3-dev \
|
32 |
+
libeigen3-dev \
|
33 |
+
libgflags-dev \
|
34 |
+
libxrandr-dev \
|
35 |
+
libopenexr-dev \
|
36 |
+
libsqlite3-dev \
|
37 |
+
libxcursor-dev \
|
38 |
+
build-essential \
|
39 |
+
libcgal-qt5-dev \
|
40 |
+
libxinerama-dev \
|
41 |
+
libboost-all-dev \
|
42 |
+
libfreeimage-dev \
|
43 |
+
libncursesw5-dev \
|
44 |
+
libatlas-base-dev \
|
45 |
+
libqt5opengl5-dev \
|
46 |
+
libgoogle-glog-dev \
|
47 |
+
libsuitesparse-dev \
|
48 |
+
python3-setuptools \
|
49 |
+
libreadline-gplv2-dev \
|
50 |
+
&& apt autoremove -y \
|
51 |
+
&& apt clean -y \
|
52 |
+
&& export DEBIAN_FRONTEND=dialog
|
53 |
+
|
54 |
+
RUN echo "Installing Python ver. ${PYTHON_VERSION}..." \
|
55 |
+
&& cd /opt \
|
56 |
+
&& wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz \
|
57 |
+
&& tar xzf Python-${PYTHON_VERSION}.tgz \
|
58 |
+
&& cd ./Python-${PYTHON_VERSION} \
|
59 |
+
&& ./configure --enable-optimizations \
|
60 |
+
&& make \
|
61 |
+
&& checkinstall
|
62 |
+
|
63 |
+
COPY ./requirements.txt ./
|
64 |
+
|
65 |
+
RUN echo "Installing pip packages..." \
|
66 |
+
&& python3 -m pip install -U pip \
|
67 |
+
&& pip3 --no-cache-dir install -r ./requirements.txt \
|
68 |
+
&& pip3 --no-cache-dir install cmake==${CMAKE_VERSION} opencv-python==${OPENCV_VERSION} \
|
69 |
+
&& rm ./requirements.txt
|
70 |
+
|
71 |
+
RUN echo "Installing Ceres Solver ver. ${CERES_SOLVER_VERSION}..." \
|
72 |
+
&& cd /opt \
|
73 |
+
&& git clone https://github.com/ceres-solver/ceres-solver \
|
74 |
+
&& cd ./ceres-solver \
|
75 |
+
&& git checkout ${CERES_SOLVER_VERSION} \
|
76 |
+
&& mkdir ./build \
|
77 |
+
&& cd ./build \
|
78 |
+
&& cmake ../ -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF \
|
79 |
+
&& make -j \
|
80 |
+
&& make install
|
81 |
+
|
82 |
+
RUN echo "Installing COLMAP ver. ${COLMAP_VERSION}..." \
|
83 |
+
&& cd /opt \
|
84 |
+
&& git clone https://github.com/colmap/colmap \
|
85 |
+
&& cd ./colmap \
|
86 |
+
&& git checkout ${COLMAP_VERSION} \
|
87 |
+
&& mkdir ./build \
|
88 |
+
&& cd ./build \
|
89 |
+
&& cmake ../ \
|
90 |
+
&& make -j \
|
91 |
+
&& make install \
|
92 |
+
&& colmap -h
|
.devcontainer/README.md
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
## VS Code Dev Container
|
2 |
+
|
3 |
+
> Basic dev container for running Instant Neural Graphics Primitives without GUI.
|
4 |
+
|
5 |
+
### Requirements
|
6 |
+
|
7 |
+
- #### **[Docker](https://www.docker.com/get-started)**
|
8 |
+
|
9 |
+
- #### **[VS Code](https://code.visualstudio.com/Download)**
|
10 |
+
|
11 |
+
- #### **[Docker VS Code Extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker)**
|
12 |
+
|
13 |
+
### How to build
|
14 |
+
|
15 |
+
```sh
|
16 |
+
cmake -DNGP_BUILD_WITH_GUI=off ./ -B ./build
|
17 |
+
cmake --build build --config RelWithDebInfo -j 16
|
18 |
+
```
|
.devcontainer/devcontainer.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "Instant NGP Dev Container",
|
3 |
+
"dockerComposeFile": "docker-compose.yml",
|
4 |
+
"service": "instant-ngp",
|
5 |
+
"workspaceFolder": "/volume",
|
6 |
+
"shutdownAction": "stopCompose",
|
7 |
+
"extensions": [
|
8 |
+
"ms-vscode.cpptools",
|
9 |
+
"ms-vscode.cmake-tools",
|
10 |
+
"mutantdino.resourcemonitor",
|
11 |
+
"ms-azuretools.vscode-docker",
|
12 |
+
"nvidia.nsight-vscode-edition"
|
13 |
+
]
|
14 |
+
}
|
.devcontainer/docker-compose.yml
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
version: "3.8"
|
2 |
+
|
3 |
+
services:
|
4 |
+
instant-ngp:
|
5 |
+
image: instantngp:latest
|
6 |
+
build:
|
7 |
+
context: ..
|
8 |
+
dockerfile: ./.devcontainer/Dockerfile
|
9 |
+
stdin_open: true
|
10 |
+
tty: true
|
11 |
+
environment:
|
12 |
+
NVIDIA_DRIVER_CAPABILITIES: compute,utility,graphics
|
13 |
+
DISPLAY: $DISPLAY
|
14 |
+
volumes:
|
15 |
+
- ../:/volume
|
16 |
+
- /tmp/.X11-unix:/tmp/.X11-unix
|
17 |
+
working_dir: /volume
|
18 |
+
command: /bin/bash
|
19 |
+
deploy:
|
20 |
+
resources:
|
21 |
+
reservations:
|
22 |
+
devices:
|
23 |
+
- driver: nvidia
|
24 |
+
count: 1
|
25 |
+
capabilities: [gpu]
|
26 |
+
|
.editorconfig
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
root = true
|
2 |
+
|
3 |
+
[*]
|
4 |
+
end_of_line = lf
|
5 |
+
insert_final_newline = true
|
6 |
+
indent_style = tab
|
7 |
+
indent_size = 4
|
8 |
+
trim_trailing_whitespace = true
|
9 |
+
|
10 |
+
[*.md]
|
11 |
+
trim_trailing_whitespace = false
|
.gitattributes
CHANGED
@@ -1,34 +1,64 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/notebooks/* linguist-vendored
|
2 |
+
docs/assets_readme/fox.gif filter=lfs diff=lfs merge=lfs -text
|
3 |
+
docs/assets_readme/robot5.gif filter=lfs diff=lfs merge=lfs -text
|
4 |
+
docs/assets_readme/testbed.png filter=lfs diff=lfs merge=lfs -text
|
5 |
+
docs/assets/mueller2022instant.mp4 filter=lfs diff=lfs merge=lfs -text
|
6 |
+
docs/assets/modsynth.mp4 filter=lfs diff=lfs merge=lfs -text
|
7 |
+
docs/assets/cloud_training.mp4 filter=lfs diff=lfs merge=lfs -text
|
8 |
+
docs/assets/nerf_grid_lq.mp4 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
docs/assets/robot.mp4 filter=lfs diff=lfs merge=lfs -text
|
10 |
+
docs/assets/teaser.mp4 filter=lfs diff=lfs merge=lfs -text
|
11 |
+
docs/assets/mueller2022instant.pdf filter=lfs diff=lfs merge=lfs -text
|
12 |
+
docs/assets/tokyo_online_training_counter.mp4 filter=lfs diff=lfs merge=lfs -text
|
13 |
+
docs/assets/nrc_new_vs_old.mp4 filter=lfs diff=lfs merge=lfs -text
|
14 |
+
docs/assets/sdf_grid_lq.mp4 filter=lfs diff=lfs merge=lfs -text
|
15 |
+
build/libngp.a filter=lfs diff=lfs merge=lfs -text
|
16 |
+
build/pyngp.cpython-38-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
17 |
+
build/instant-ngp filter=lfs diff=lfs merge=lfs -text
|
18 |
+
build/dependencies/tiny-cuda-nn/libtiny-cuda-nn.a filter=lfs diff=lfs merge=lfs -text
|
19 |
+
build/dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o filter=lfs diff=lfs merge=lfs -text
|
20 |
+
build/dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/cutlass_mlp.cu.o filter=lfs diff=lfs merge=lfs -text
|
21 |
+
build/dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/src/optimizer.cu.o filter=lfs diff=lfs merge=lfs -text
|
22 |
+
build/CMakeFiles/FindOpenMP/ompver_C.bin filter=lfs diff=lfs merge=lfs -text
|
23 |
+
build/CMakeFiles/FindOpenMP/ompver_CXX.bin filter=lfs diff=lfs merge=lfs -text
|
24 |
+
build/CMakeFiles/3.25.0/CMakeDetermineCompilerABI_CUDA.bin filter=lfs diff=lfs merge=lfs -text
|
25 |
+
build/CMakeFiles/3.25.0/CMakeDetermineCompilerABI_CXX.bin filter=lfs diff=lfs merge=lfs -text
|
26 |
+
build/CMakeFiles/3.25.0/CMakeDetermineCompilerABI_C.bin filter=lfs diff=lfs merge=lfs -text
|
27 |
+
build/CMakeFiles/ngp.dir/cmake_device_link.o filter=lfs diff=lfs merge=lfs -text
|
28 |
+
build/CMakeFiles/ngp.dir/src/testbed.cu.o filter=lfs diff=lfs merge=lfs -text
|
29 |
+
build/CMakeFiles/pyngp.dir/src/python_api.cu.o filter=lfs diff=lfs merge=lfs -text
|
30 |
+
data/image/albert.exr filter=lfs diff=lfs merge=lfs -text
|
31 |
+
dependencies/dlss/lib/Windows_x86_64/vs2013/nvsdk_ngx_s.lib filter=lfs diff=lfs merge=lfs -text
|
32 |
+
dependencies/dlss/lib/Windows_x86_64/vs2013/nvsdk_ngx_d.lib filter=lfs diff=lfs merge=lfs -text
|
33 |
+
dependencies/dlss/lib/Windows_x86_64/vs2013/nvsdk_ngx_s_dbg.lib filter=lfs diff=lfs merge=lfs -text
|
34 |
+
dependencies/dlss/lib/Windows_x86_64/vs2013/nvsdk_ngx_d_dbg.lib filter=lfs diff=lfs merge=lfs -text
|
35 |
+
dependencies/dlss/lib/Windows_x86_64/x86_64/nvsdk_ngx_s_dbg_iterator0.lib filter=lfs diff=lfs merge=lfs -text
|
36 |
+
dependencies/dlss/lib/Windows_x86_64/x86_64/nvsdk_ngx_s.lib filter=lfs diff=lfs merge=lfs -text
|
37 |
+
dependencies/dlss/lib/Windows_x86_64/x86_64/nvsdk_ngx_d.lib filter=lfs diff=lfs merge=lfs -text
|
38 |
+
dependencies/dlss/lib/Windows_x86_64/x86_64/nvsdk_ngx_s_dbg.lib filter=lfs diff=lfs merge=lfs -text
|
39 |
+
dependencies/dlss/lib/Windows_x86_64/x86_64/nvsdk_ngx_d_dbg_iterator0.lib filter=lfs diff=lfs merge=lfs -text
|
40 |
+
dependencies/dlss/lib/Windows_x86_64/x86_64/nvsdk_ngx_s_dbg_iterator1.lib filter=lfs diff=lfs merge=lfs -text
|
41 |
+
dependencies/dlss/lib/Windows_x86_64/x86_64/nvsdk_ngx_d_dbg_iterator1.lib filter=lfs diff=lfs merge=lfs -text
|
42 |
+
dependencies/dlss/lib/Windows_x86_64/x86_64/nvsdk_ngx_d_iterator1.lib filter=lfs diff=lfs merge=lfs -text
|
43 |
+
dependencies/dlss/lib/Windows_x86_64/x86_64/nvsdk_ngx_d_dbg.lib filter=lfs diff=lfs merge=lfs -text
|
44 |
+
dependencies/dlss/lib/Windows_x86_64/x86_64/nvsdk_ngx_s_iterator1.lib filter=lfs diff=lfs merge=lfs -text
|
45 |
+
dependencies/dlss/lib/Windows_x86_64/rel/nvngx_dlss.dll filter=lfs diff=lfs merge=lfs -text
|
46 |
+
dependencies/dlss/lib/Windows_x86_64/vs2012/nvsdk_ngx_s.lib filter=lfs diff=lfs merge=lfs -text
|
47 |
+
dependencies/dlss/lib/Windows_x86_64/vs2012/nvsdk_ngx_d.lib filter=lfs diff=lfs merge=lfs -text
|
48 |
+
dependencies/dlss/lib/Windows_x86_64/vs2012/nvsdk_ngx_s_dbg.lib filter=lfs diff=lfs merge=lfs -text
|
49 |
+
dependencies/dlss/lib/Windows_x86_64/vs2012/nvsdk_ngx_d_dbg.lib filter=lfs diff=lfs merge=lfs -text
|
50 |
+
dependencies/dlss/lib/Windows_x86_64/dev/nvngx_dlss.dll filter=lfs diff=lfs merge=lfs -text
|
51 |
+
dependencies/dlss/lib/Linux_x86_64/rel/libnvidia-ngx-dlss.so.2.4.0 filter=lfs diff=lfs merge=lfs -text
|
52 |
+
dependencies/dlss/lib/Linux_x86_64/dev/libnvidia-ngx-dlss.so.2.4.0 filter=lfs diff=lfs merge=lfs -text
|
53 |
+
dependencies/dlss/doc/DLSS_Programming_Guide_Release.pdf filter=lfs diff=lfs merge=lfs -text
|
54 |
+
dependencies/dlss/doc/RTX[[:space:]]Developer[[:space:]]Localization[[:space:]]Strings[[:space:]]-[[:space:]]073021.zip filter=lfs diff=lfs merge=lfs -text
|
55 |
+
dependencies/dlss/NVIDIAImageScaling/samples/third_party/DXC/bin/x64/dxcompiler.dll filter=lfs diff=lfs merge=lfs -text
|
56 |
+
dependencies/dlss/NVIDIAImageScaling/samples/third_party/DXC/bin/x64/dxil.dll filter=lfs diff=lfs merge=lfs -text
|
57 |
+
dependencies/dlss/NVIDIAImageScaling/samples/media/images/1440.png filter=lfs diff=lfs merge=lfs -text
|
58 |
+
dependencies/dlss/NVIDIAImageScaling/samples/media/images/1080.png filter=lfs diff=lfs merge=lfs -text
|
59 |
+
dependencies/tiny-cuda-nn/data/readme/100.jpg filter=lfs diff=lfs merge=lfs -text
|
60 |
+
dependencies/tiny-cuda-nn/data/readme/10.jpg filter=lfs diff=lfs merge=lfs -text
|
61 |
+
dependencies/tiny-cuda-nn/data/readme/1000.jpg filter=lfs diff=lfs merge=lfs -text
|
62 |
+
dependencies/tiny-cuda-nn/data/images/albert.jpg filter=lfs diff=lfs merge=lfs -text
|
63 |
+
dependencies/tiny-cuda-nn/dependencies/cutlass/media/images/cutlass-2.9-implicit-gemm-performance.png filter=lfs diff=lfs merge=lfs -text
|
64 |
+
dependencies/tiny-cuda-nn/dependencies/cutlass/media/images/ldmatrix-tensorop-32x32x32.png filter=lfs diff=lfs merge=lfs -text
|
.github/workflows/main.yml
ADDED
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: CI
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches:
|
6 |
+
- master
|
7 |
+
pull_request:
|
8 |
+
branches:
|
9 |
+
- master
|
10 |
+
|
11 |
+
jobs:
|
12 |
+
build_linux:
|
13 |
+
name: Build on linux systems
|
14 |
+
runs-on: ${{ matrix.os }}
|
15 |
+
strategy:
|
16 |
+
matrix:
|
17 |
+
include:
|
18 |
+
- os: ubuntu-22.04
|
19 |
+
cuda: "11.7"
|
20 |
+
arch: 86
|
21 |
+
python: "3.11"
|
22 |
+
- os: ubuntu-18.04
|
23 |
+
cuda: "10.2"
|
24 |
+
arch: 75
|
25 |
+
python: "3.10"
|
26 |
+
- os: ubuntu-18.04
|
27 |
+
cuda: "10.2"
|
28 |
+
arch: 70
|
29 |
+
python: "3.9"
|
30 |
+
- os: ubuntu-18.04
|
31 |
+
cuda: "10.2"
|
32 |
+
arch: 61
|
33 |
+
python: "3.8"
|
34 |
+
- os: ubuntu-18.04
|
35 |
+
cuda: "10.2"
|
36 |
+
arch: 53
|
37 |
+
python: "3.7"
|
38 |
+
- os: ubuntu-18.04
|
39 |
+
cuda: "10.2"
|
40 |
+
arch: 37
|
41 |
+
python: "3.6"
|
42 |
+
env:
|
43 |
+
build_dir: "build"
|
44 |
+
config: "Release"
|
45 |
+
TCNN_CUDA_ARCHITECTURES: ${{ matrix.arch }}
|
46 |
+
steps:
|
47 |
+
- name: Install dependencies
|
48 |
+
run: sudo apt-get update && sudo apt-get install build-essential python3-dev libglfw3-dev libglew-dev libxinerama-dev libxcursor-dev libxi-dev
|
49 |
+
- uses: actions/checkout@v3
|
50 |
+
with:
|
51 |
+
submodules: recursive
|
52 |
+
- uses: actions/setup-python@v4
|
53 |
+
with:
|
54 |
+
python-version: ${{ matrix.python }}
|
55 |
+
- run: pip install -r requirements.txt
|
56 |
+
- name: Install CUDA
|
57 |
+
env:
|
58 |
+
cuda: ${{ matrix.cuda }}
|
59 |
+
run: ./dependencies/cuda-cmake-github-actions/scripts/actions/install_cuda_ubuntu.sh
|
60 |
+
shell: bash
|
61 |
+
- name: Prepare Vulkan SDK
|
62 |
+
uses: humbletim/setup-vulkan-sdk@v1.2.0
|
63 |
+
with:
|
64 |
+
vulkan-query-version: latest
|
65 |
+
vulkan-components: Vulkan-Headers, Vulkan-Loader
|
66 |
+
- name: CMake
|
67 |
+
run: cmake . -B ${{ env.build_dir }} -DCMAKE_BUILD_TYPE=${{ env.config }}
|
68 |
+
- name: Build
|
69 |
+
working-directory: ${{ env.build_dir }}
|
70 |
+
run: cmake --build . --target all --verbose -j `nproc`
|
71 |
+
|
72 |
+
|
73 |
+
build_windows:
|
74 |
+
name: Build on Windows
|
75 |
+
runs-on: ${{ matrix.os }}
|
76 |
+
strategy:
|
77 |
+
matrix:
|
78 |
+
include:
|
79 |
+
- os: windows-2019
|
80 |
+
visual_studio: "Visual Studio 16 2019"
|
81 |
+
cuda: "11.5.1"
|
82 |
+
arch: 86
|
83 |
+
python: "3.11"
|
84 |
+
recommended_gpus: "RTX 3000 & 4000 (Ampere & Ada)"
|
85 |
+
- os: windows-2019
|
86 |
+
visual_studio: "Visual Studio 16 2019"
|
87 |
+
cuda: "11.5.1"
|
88 |
+
arch: 75
|
89 |
+
python: "3.10"
|
90 |
+
recommended_gpus: "RTX 2000 (Turing)"
|
91 |
+
- os: windows-2019
|
92 |
+
visual_studio: "Visual Studio 16 2019"
|
93 |
+
cuda: "11.5.1"
|
94 |
+
arch: 70
|
95 |
+
python: "3.9"
|
96 |
+
recommended_gpus: "GTX 1000 (Pascal)"
|
97 |
+
- os: windows-2019
|
98 |
+
visual_studio: "Visual Studio 16 2019"
|
99 |
+
cuda: "11.5.1"
|
100 |
+
arch: 61
|
101 |
+
python: "3.8"
|
102 |
+
- os: windows-2019
|
103 |
+
visual_studio: "Visual Studio 16 2019"
|
104 |
+
cuda: "11.5.1"
|
105 |
+
arch: 53
|
106 |
+
python: "3.7"
|
107 |
+
- os: windows-2019
|
108 |
+
visual_studio: "Visual Studio 16 2019"
|
109 |
+
cuda: "11.5.1"
|
110 |
+
arch: 37
|
111 |
+
python: "3.6"
|
112 |
+
env:
|
113 |
+
build_dir: "build"
|
114 |
+
config: "Release"
|
115 |
+
TCNN_CUDA_ARCHITECTURES: ${{ matrix.arch }}
|
116 |
+
steps:
|
117 |
+
- uses: actions/checkout@v3
|
118 |
+
with:
|
119 |
+
submodules: recursive
|
120 |
+
- uses: actions/setup-python@v4
|
121 |
+
with:
|
122 |
+
python-version: ${{ matrix.python }}
|
123 |
+
- run: pip install -r requirements.txt
|
124 |
+
- name: Install CUDA
|
125 |
+
env:
|
126 |
+
cuda: ${{ matrix.cuda }}
|
127 |
+
visual_studio: ${{ matrix.visual_studio }}
|
128 |
+
shell: powershell
|
129 |
+
run: .\dependencies\cuda-cmake-github-actions\scripts\actions\install_cuda_windows.ps1
|
130 |
+
- name: Prepare Vulkan SDK
|
131 |
+
uses: humbletim/setup-vulkan-sdk@v1.2.0
|
132 |
+
with:
|
133 |
+
vulkan-query-version: latest
|
134 |
+
vulkan-components: Vulkan-Headers, Vulkan-Loader
|
135 |
+
- name: CMake
|
136 |
+
run: cmake . -B ${{ env.build_dir }} -G "${{ matrix.visual_studio }}" -A x64
|
137 |
+
- name: Build
|
138 |
+
working-directory: ${{ env.build_dir }}
|
139 |
+
run: cmake --build . --config ${{ env.config }} --target ALL_BUILD --verbose
|
140 |
+
- name: Upload release
|
141 |
+
if: ${{ matrix.recommended_gpus }}
|
142 |
+
uses: actions/upload-artifact@v3
|
143 |
+
with:
|
144 |
+
name: Instant NGP for ${{ matrix.recommended_gpus }}
|
145 |
+
path: |
|
146 |
+
README.md
|
147 |
+
LICENSE.txt
|
148 |
+
${{ env.build_dir }}/instant-ngp.exe
|
149 |
+
${{ env.build_dir }}/nvngx_dlss.dll
|
150 |
+
configs/
|
151 |
+
docs/nerf_dataset_tips.md
|
152 |
+
docs/assets_readme/
|
153 |
+
data/
|
.gitignore
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/.vscode
|
2 |
+
/.vs
|
3 |
+
/build*
|
4 |
+
/figures
|
5 |
+
/out
|
6 |
+
/results
|
7 |
+
/tmp
|
8 |
+
/venv
|
9 |
+
/video
|
10 |
+
/*.json
|
11 |
+
*.msgpack
|
12 |
+
*.training
|
13 |
+
__pycache__
|
14 |
+
.DS_Store
|
15 |
+
imgui.ini
|
.gitmodules
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[submodule "dependencies/pybind11"]
|
2 |
+
path = dependencies/pybind11
|
3 |
+
url = https://github.com/Tom94/pybind11
|
4 |
+
[submodule "dependencies/eigen"]
|
5 |
+
path = dependencies/eigen
|
6 |
+
url = https://github.com/Tom94/eigen
|
7 |
+
[submodule "dependencies/glfw"]
|
8 |
+
path = dependencies/glfw
|
9 |
+
url = https://github.com/Tom94/glfw
|
10 |
+
[submodule "dependencies/args"]
|
11 |
+
path = dependencies/args
|
12 |
+
url = https://github.com/Taywee/args
|
13 |
+
[submodule "dependencies/tinylogger"]
|
14 |
+
path = dependencies/tinylogger
|
15 |
+
url = https://github.com/Tom94/tinylogger
|
16 |
+
[submodule "dependencies/tiny-cuda-nn"]
|
17 |
+
path = dependencies/tiny-cuda-nn
|
18 |
+
url = https://github.com/NVlabs/tiny-cuda-nn
|
19 |
+
[submodule "dependencies/imgui"]
|
20 |
+
path = dependencies/imgui
|
21 |
+
url = https://github.com/ocornut/imgui.git
|
22 |
+
[submodule "dependencies/dlss"]
|
23 |
+
path = dependencies/dlss
|
24 |
+
url = https://github.com/NVIDIA/DLSS
|
CMakeLists.txt
ADDED
@@ -0,0 +1,325 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved.
|
2 |
+
#
|
3 |
+
# NVIDIA CORPORATION and its licensors retain all intellectual property
|
4 |
+
# and proprietary rights in and to this software, related documentation
|
5 |
+
# and any modifications thereto. Any use, reproduction, disclosure or
|
6 |
+
# distribution of this software and related documentation without an express
|
7 |
+
# license agreement from NVIDIA CORPORATION is strictly prohibited.
|
8 |
+
|
9 |
+
cmake_minimum_required(VERSION 3.18)
|
10 |
+
|
11 |
+
project(instant-ngp
|
12 |
+
VERSION 1.0
|
13 |
+
DESCRIPTION "Instant Neural Graphics Primitives"
|
14 |
+
LANGUAGES C CXX CUDA
|
15 |
+
)
|
16 |
+
set(NGP_VERSION "${CMAKE_PROJECT_VERSION}")
|
17 |
+
|
18 |
+
if (NOT NGP_DEPLOY)
|
19 |
+
set(NGP_VERSION "${NGP_VERSION}dev")
|
20 |
+
endif()
|
21 |
+
|
22 |
+
option(NGP_BUILD_WITH_GUI "Build with GUI support (requires GLFW and GLEW)?" ON)
|
23 |
+
option(NGP_BUILD_WITH_VULKAN "Build with Vulkan to enable DLSS support?" ON)
|
24 |
+
option(NGP_BUILD_WITH_OPTIX "Build with OptiX to enable hardware ray tracing?" ON)
|
25 |
+
|
26 |
+
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
27 |
+
|
28 |
+
###############################################################################
|
29 |
+
# Build type and C++ compiler setup
|
30 |
+
###############################################################################
|
31 |
+
|
32 |
+
# Set a default configuration if none was specified
|
33 |
+
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
34 |
+
message(STATUS "No release type specified. Setting to 'Release'.")
|
35 |
+
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
|
36 |
+
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "RelWithDebInfo")
|
37 |
+
endif()
|
38 |
+
|
39 |
+
if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/dependencies/glfw/CMakeLists.txt")
|
40 |
+
message(FATAL_ERROR
|
41 |
+
"Some instant-ngp dependencies are missing. "
|
42 |
+
"If you forgot the \"--recursive\" flag when cloning this project, "
|
43 |
+
"this can be fixed by calling \"git submodule update --init --recursive\"."
|
44 |
+
)
|
45 |
+
endif()
|
46 |
+
|
47 |
+
if (APPLE)
|
48 |
+
set(CMAKE_MACOSX_RPATH ON)
|
49 |
+
endif()
|
50 |
+
|
51 |
+
if (MSVC)
|
52 |
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /D_CRT_SECURE_NO_WARNINGS")
|
53 |
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP24")
|
54 |
+
else()
|
55 |
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
56 |
+
endif()
|
57 |
+
|
58 |
+
set(CMAKE_CXX_STANDARD 14)
|
59 |
+
set(CMAKE_CXX_EXTENSIONS OFF)
|
60 |
+
|
61 |
+
###############################################################################
|
62 |
+
# CUDA compiler setup
|
63 |
+
###############################################################################
|
64 |
+
|
65 |
+
set(CMAKE_CUDA_STANDARD 14)
|
66 |
+
set(CMAKE_CUDA_STANDARD_REQUIRED ON)
|
67 |
+
set(CMAKE_CUDA_EXTENSIONS OFF)
|
68 |
+
set(CUDA_LINK_LIBRARIES_KEYWORD PUBLIC)
|
69 |
+
set(CMAKE_CUDA_RUNTIME_LIBRARY Shared)
|
70 |
+
|
71 |
+
if (MSVC)
|
72 |
+
list(APPEND CUDA_NVCC_FLAGS "-Xcompiler=/bigobj")
|
73 |
+
else()
|
74 |
+
list(APPEND CUDA_NVCC_FLAGS "-Xcompiler=-mf16c")
|
75 |
+
list(APPEND CUDA_NVCC_FLAGS "-Xcompiler=-Wno-float-conversion")
|
76 |
+
list(APPEND CUDA_NVCC_FLAGS "-Xcompiler=-fno-strict-aliasing")
|
77 |
+
list(APPEND CUDA_NVCC_FLAGS "-Xcompiler=-fPIC")
|
78 |
+
endif()
|
79 |
+
list(APPEND CUDA_NVCC_FLAGS "--extended-lambda")
|
80 |
+
list(APPEND CUDA_NVCC_FLAGS "--expt-relaxed-constexpr")
|
81 |
+
|
82 |
+
###############################################################################
|
83 |
+
# Dependencies
|
84 |
+
###############################################################################
|
85 |
+
|
86 |
+
set(TCNN_BUILD_BENCHMARK OFF)
|
87 |
+
set(TCNN_BUILD_EXAMPLES OFF)
|
88 |
+
add_subdirectory(dependencies/tiny-cuda-nn)
|
89 |
+
|
90 |
+
set(CMAKE_CUDA_ARCHITECTURES ${TCNN_CUDA_ARCHITECTURES})
|
91 |
+
|
92 |
+
if (NGP_BUILD_WITH_GUI)
|
93 |
+
find_package(Vulkan)
|
94 |
+
if (Vulkan_FOUND AND NGP_BUILD_WITH_VULKAN)
|
95 |
+
set(NGP_VULKAN ON)
|
96 |
+
list(APPEND NGP_DEFINITIONS -DNGP_VULKAN -DGLFW_INCLUDE_VULKAN)
|
97 |
+
list(APPEND NGP_INCLUDE_DIRECTORIES "${Vulkan_INCLUDE_DIRS}")
|
98 |
+
list(APPEND NGP_LIBRARIES ${Vulkan_LIBRARIES})
|
99 |
+
|
100 |
+
list(APPEND GUI_SOURCES src/dlss.cu)
|
101 |
+
|
102 |
+
# DLSS depends on vulkan, so appears here
|
103 |
+
list(APPEND NGP_INCLUDE_DIRECTORIES "dependencies/dlss/include")
|
104 |
+
if (MSVC)
|
105 |
+
list(APPEND NGP_LINK_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/dependencies/dlss/lib/Windows_x86_64/x86_64")
|
106 |
+
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
107 |
+
list(APPEND NGP_LIBRARIES nvsdk_ngx_d_dbg)
|
108 |
+
else()
|
109 |
+
list(APPEND NGP_LIBRARIES nvsdk_ngx_d)
|
110 |
+
endif()
|
111 |
+
else()
|
112 |
+
list(APPEND NGP_LINK_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/dependencies/dlss/lib/Linux_x86_64")
|
113 |
+
list(APPEND NGP_LIBRARIES nvsdk_ngx)
|
114 |
+
endif()
|
115 |
+
else()
|
116 |
+
set(NGP_VULKAN OFF)
|
117 |
+
if (NGP_BUILD_WITH_VULKAN)
|
118 |
+
message(WARNING
|
119 |
+
"Vulkan was not found. Instant neural graphics primitives will still "
|
120 |
+
"compile and run correctly, but DLSS will not be supported."
|
121 |
+
)
|
122 |
+
endif()
|
123 |
+
endif()
|
124 |
+
|
125 |
+
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL " " FORCE)
|
126 |
+
set(GLFW_BUILD_TESTS OFF CACHE BOOL " " FORCE)
|
127 |
+
set(GLFW_BUILD_DOCS OFF CACHE BOOL " " FORCE)
|
128 |
+
set(GLFW_BUILD_INSTALL OFF CACHE BOOL " " FORCE)
|
129 |
+
set(GLFW_INSTALL OFF CACHE BOOL " " FORCE)
|
130 |
+
set(GLFW_USE_CHDIR OFF CACHE BOOL " " FORCE)
|
131 |
+
set(GLFW_VULKAN_STATIC OFF CACHE BOOL " " FORCE)
|
132 |
+
set(BUILD_SHARED_LIBS ON CACHE BOOL " " FORCE)
|
133 |
+
|
134 |
+
add_subdirectory(dependencies/glfw)
|
135 |
+
|
136 |
+
set_target_properties(glfw PROPERTIES EXCLUDE_FROM_ALL 1 EXCLUDE_FROM_DEFAULT_BUILD 1)
|
137 |
+
|
138 |
+
mark_as_advanced(
|
139 |
+
GLFW_BUILD_DOCS GLFW_BUILD_EXAMPLES GLFW_BUILD_INSTALL GLFW_BUILD_TESTS
|
140 |
+
GLFW_DOCUMENT_INTERNALS GLFW_INSTALL GLFW_USE_CHDIR GLFW_USE_MENUBAR
|
141 |
+
GLFW_USE_OSMESA GLFW_VULKAN_STATIC GLFW_USE_RETINA GLFW_USE_MIR
|
142 |
+
BUILD_SHARED_LIBS USE_MSVC_RUNTIME_LIBRARY_DLL
|
143 |
+
)
|
144 |
+
|
145 |
+
list(APPEND NGP_INCLUDE_DIRECTORIES "dependencies/glfw/include" "dependencies/imgui")
|
146 |
+
|
147 |
+
if (MSVC)
|
148 |
+
list(APPEND NGP_INCLUDE_DIRECTORIES "dependencies/gl3w")
|
149 |
+
list(APPEND GUI_SOURCES "dependencies/gl3w/GL/gl3w.c")
|
150 |
+
list(APPEND NGP_LIBRARIES opengl32 $<TARGET_OBJECTS:glfw_objects>)
|
151 |
+
else()
|
152 |
+
find_package(GLEW REQUIRED)
|
153 |
+
list(APPEND NGP_INCLUDE_DIRECTORIES ${GLEW_INCLUDE_DIRS})
|
154 |
+
list(APPEND NGP_LIBRARIES GL ${GLEW_LIBRARIES} $<TARGET_OBJECTS:glfw_objects>)
|
155 |
+
endif()
|
156 |
+
|
157 |
+
list(APPEND GUI_SOURCES
|
158 |
+
dependencies/imguizmo/ImGuizmo.cpp
|
159 |
+
dependencies/imgui/imgui.cpp
|
160 |
+
dependencies/imgui/backends/imgui_impl_glfw.cpp
|
161 |
+
dependencies/imgui/backends/imgui_impl_opengl3.cpp
|
162 |
+
dependencies/imgui/imgui_draw.cpp
|
163 |
+
dependencies/imgui/imgui_tables.cpp
|
164 |
+
dependencies/imgui/imgui_widgets.cpp
|
165 |
+
)
|
166 |
+
|
167 |
+
list(APPEND NGP_DEFINITIONS -DNGP_GUI)
|
168 |
+
endif(NGP_BUILD_WITH_GUI)
|
169 |
+
|
170 |
+
list(APPEND NGP_INCLUDE_DIRECTORIES
|
171 |
+
"dependencies"
|
172 |
+
"dependencies/eigen"
|
173 |
+
"dependencies/filesystem"
|
174 |
+
"dependencies/nanovdb"
|
175 |
+
"dependencies/tinylogger"
|
176 |
+
)
|
177 |
+
|
178 |
+
find_package(OpenMP)
|
179 |
+
if (OPENMP_FOUND)
|
180 |
+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
|
181 |
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
|
182 |
+
endif()
|
183 |
+
|
184 |
+
if (NGP_BUILD_WITH_OPTIX)
|
185 |
+
set(NGP_OPTIX ON)
|
186 |
+
list(APPEND NGP_INCLUDE_DIRECTORIES "dependencies/optix")
|
187 |
+
list(APPEND NGP_DEFINITIONS -DNGP_OPTIX)
|
188 |
+
endif()
|
189 |
+
|
190 |
+
find_package(Python 3.7 COMPONENTS Interpreter Development)
|
191 |
+
if (Python_FOUND)
|
192 |
+
add_subdirectory("dependencies/pybind11")
|
193 |
+
endif()
|
194 |
+
|
195 |
+
|
196 |
+
###############################################################################
|
197 |
+
# Program
|
198 |
+
###############################################################################
|
199 |
+
|
200 |
+
list(APPEND NGP_DEFINITIONS -DNGP_VERSION="${NGP_VERSION}")
|
201 |
+
list(APPEND NGP_INCLUDE_DIRECTORIES "include")
|
202 |
+
if (NOT MSVC)
|
203 |
+
list(APPEND NGP_LIBRARIES ${CMAKE_DL_LIBS})
|
204 |
+
endif()
|
205 |
+
list(APPEND NGP_SOURCES
|
206 |
+
${GUI_SOURCES}
|
207 |
+
src/camera_path.cu
|
208 |
+
src/common_device.cu
|
209 |
+
src/marching_cubes.cu
|
210 |
+
src/nerf_loader.cu
|
211 |
+
src/render_buffer.cu
|
212 |
+
src/testbed.cu
|
213 |
+
src/testbed_image.cu
|
214 |
+
src/testbed_nerf.cu
|
215 |
+
src/testbed_sdf.cu
|
216 |
+
src/testbed_volume.cu
|
217 |
+
src/thread_pool.cpp
|
218 |
+
src/tinyexr_wrapper.cu
|
219 |
+
src/tinyobj_loader_wrapper.cpp
|
220 |
+
src/triangle_bvh.cu
|
221 |
+
)
|
222 |
+
|
223 |
+
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
224 |
+
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR})
|
225 |
+
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO ${CMAKE_BINARY_DIR})
|
226 |
+
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_MINSIZEREL ${CMAKE_BINARY_DIR})
|
227 |
+
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR})
|
228 |
+
|
229 |
+
get_filename_component(CUDA_COMPILER_BIN "${CMAKE_CUDA_COMPILER}" DIRECTORY)
|
230 |
+
|
231 |
+
if (NGP_OPTIX)
|
232 |
+
add_library(optix_program OBJECT
|
233 |
+
src/optix/pathescape.cu
|
234 |
+
src/optix/raystab.cu
|
235 |
+
src/optix/raytrace.cu
|
236 |
+
)
|
237 |
+
|
238 |
+
set_target_properties(optix_program PROPERTIES CUDA_PTX_COMPILATION ON CUDA_ARCHITECTURES OFF)
|
239 |
+
target_compile_definitions(optix_program PUBLIC ${NGP_DEFINITIONS} -DTCNN_MIN_GPU_ARCH=0)
|
240 |
+
target_compile_options(optix_program PUBLIC "--expt-relaxed-constexpr")
|
241 |
+
|
242 |
+
get_target_property(TCNN_INCLUDE_DIRECTORIES tiny-cuda-nn INCLUDE_DIRECTORIES)
|
243 |
+
target_include_directories(optix_program PUBLIC ${NGP_INCLUDE_DIRECTORIES} ${TCNN_INCLUDE_DIRECTORIES})
|
244 |
+
|
245 |
+
# OptiX programs will be compiled as PTX and packaged
|
246 |
+
# as headers to be included from the binary dir.
|
247 |
+
list(APPEND NGP_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_BINARY_DIR}")
|
248 |
+
set(OPTIX_PTX_HEADER ${CMAKE_CURRENT_BINARY_DIR}/optix_ptx.h)
|
249 |
+
|
250 |
+
find_program(bin_to_c NAMES bin2c PATHS ${CUDA_COMPILER_BIN})
|
251 |
+
if (NOT bin_to_c)
|
252 |
+
message(FATAL_ERROR
|
253 |
+
"bin2c not found:\n"
|
254 |
+
" CMAKE_CUDA_COMPILER='${CMAKE_CUDA_COMPILER}'\n"
|
255 |
+
" CUDA_COMPILER_BIN='${CUDA_COMPILER_BIN}'\n"
|
256 |
+
)
|
257 |
+
endif()
|
258 |
+
|
259 |
+
add_custom_command(
|
260 |
+
OUTPUT "${OPTIX_PTX_HEADER}"
|
261 |
+
COMMAND ${CMAKE_COMMAND}
|
262 |
+
"-DBIN_TO_C_COMMAND=${bin_to_c}"
|
263 |
+
"-DOBJECTS=$<TARGET_OBJECTS:optix_program>"
|
264 |
+
"-DOUTPUT=${OPTIX_PTX_HEADER}"
|
265 |
+
-P ${PROJECT_SOURCE_DIR}/cmake/bin2c_wrapper.cmake
|
266 |
+
VERBATIM
|
267 |
+
DEPENDS optix_program
|
268 |
+
COMMENT "Converting PTX files to a C header"
|
269 |
+
)
|
270 |
+
|
271 |
+
list(APPEND NGP_SOURCES ${OPTIX_PTX_HEADER})
|
272 |
+
endif()
|
273 |
+
|
274 |
+
add_library(ngp STATIC ${NGP_SOURCES})
|
275 |
+
set_target_properties(ngp PROPERTIES CUDA_RESOLVE_DEVICE_SYMBOLS ON CUDA_SEPARABLE_COMPILATION ON)
|
276 |
+
target_compile_definitions(ngp PUBLIC ${NGP_DEFINITIONS})
|
277 |
+
target_compile_options(ngp PUBLIC $<$<COMPILE_LANGUAGE:CUDA>:${CUDA_NVCC_FLAGS}>)
|
278 |
+
target_include_directories(ngp PUBLIC ${NGP_INCLUDE_DIRECTORIES})
|
279 |
+
target_link_directories(ngp PUBLIC ${NGP_LINK_DIRECTORIES})
|
280 |
+
target_link_libraries(ngp PUBLIC ${NGP_LIBRARIES} tiny-cuda-nn)
|
281 |
+
|
282 |
+
add_executable(instant-ngp src/main.cu)
|
283 |
+
target_link_libraries(instant-ngp PRIVATE ngp)
|
284 |
+
|
285 |
+
# Copy DLSS shared libraries
|
286 |
+
if (NGP_VULKAN)
|
287 |
+
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
288 |
+
set(NGX_BUILD_DIR "dev")
|
289 |
+
else()
|
290 |
+
set(NGX_BUILD_DIR "rel")
|
291 |
+
endif()
|
292 |
+
|
293 |
+
if (MSVC)
|
294 |
+
add_custom_command(TARGET instant-ngp POST_BUILD
|
295 |
+
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/dependencies/dlss/lib/Windows_x86_64/${NGX_BUILD_DIR}/nvngx_dlss.dll" $<TARGET_FILE_DIR:instant-ngp>
|
296 |
+
COMMAND_EXPAND_LISTS
|
297 |
+
)
|
298 |
+
else()
|
299 |
+
file(GLOB DLSS_SOS "${CMAKE_CURRENT_SOURCE_DIR}/dependencies/dlss/lib/Linux_x86_64/${NGX_BUILD_DIR}/libnvidia-ngx-dlss.so.*")
|
300 |
+
add_custom_command(TARGET instant-ngp POST_BUILD
|
301 |
+
COMMAND ${CMAKE_COMMAND} -E copy ${DLSS_SOS} $<TARGET_FILE_DIR:instant-ngp>
|
302 |
+
COMMAND_EXPAND_LISTS
|
303 |
+
)
|
304 |
+
endif()
|
305 |
+
endif()
|
306 |
+
|
307 |
+
|
308 |
+
if (Python_FOUND)
|
309 |
+
add_library(pyngp SHARED src/python_api.cu)
|
310 |
+
set_target_properties(pyngp PROPERTIES CXX_VISIBILITY_PRESET "hidden" CUDA_VISIBILITY_PRESET "hidden")
|
311 |
+
target_link_libraries(pyngp PRIVATE ngp PUBLIC ${PYTHON_LIBRARIES} pybind11::module)
|
312 |
+
target_compile_definitions(pyngp PUBLIC -DNGP_PYTHON)
|
313 |
+
pybind11_extension(pyngp)
|
314 |
+
|
315 |
+
if (MSVC)
|
316 |
+
# Copy dlls needed at runtime
|
317 |
+
file(GLOB CUDA_DLLS "${CUDA_COMPILER_BIN}/cublas*.dll" "${CUDA_COMPILER_BIN}/cudart64*.dll" "${CUDA_COMPILER_BIN}/cusolver64*.dll")
|
318 |
+
if (CUDA_DLLS)
|
319 |
+
add_custom_command(TARGET pyngp POST_BUILD
|
320 |
+
COMMAND ${CMAKE_COMMAND} -E copy ${CUDA_DLLS} $<TARGET_FILE_DIR:pyngp>
|
321 |
+
COMMAND_EXPAND_LISTS
|
322 |
+
)
|
323 |
+
endif()
|
324 |
+
endif()
|
325 |
+
endif()
|
LICENSE.txt
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright (c) 2022, NVIDIA Corporation & affiliates. All rights reserved.
|
2 |
+
|
3 |
+
|
4 |
+
NVIDIA Source Code License for instant neural graphics primitives
|
5 |
+
|
6 |
+
|
7 |
+
=======================================================================
|
8 |
+
|
9 |
+
1. Definitions
|
10 |
+
|
11 |
+
"Licensor" means any person or entity that distributes its Work.
|
12 |
+
|
13 |
+
"Software" means the original work of authorship made available under
|
14 |
+
this License.
|
15 |
+
|
16 |
+
"Work" means the Software and any additions to or derivative works of
|
17 |
+
the Software that are made available under this License.
|
18 |
+
|
19 |
+
The terms "reproduce," "reproduction," "derivative works," and
|
20 |
+
"distribution" have the meaning as provided under U.S. copyright law;
|
21 |
+
provided, however, that for the purposes of this License, derivative
|
22 |
+
works shall not include works that remain separable from, or merely
|
23 |
+
link (or bind by name) to the interfaces of, the Work.
|
24 |
+
|
25 |
+
Works, including the Software, are "made available" under this License
|
26 |
+
by including in or with the Work either (a) a copyright notice
|
27 |
+
referencing the applicability of this License to the Work, or (b) a
|
28 |
+
copy of this License.
|
29 |
+
|
30 |
+
2. License Grants
|
31 |
+
|
32 |
+
2.1 Copyright Grant. Subject to the terms and conditions of this
|
33 |
+
License, each Licensor grants to you a perpetual, worldwide,
|
34 |
+
non-exclusive, royalty-free, copyright license to reproduce,
|
35 |
+
prepare derivative works of, publicly display, publicly perform,
|
36 |
+
sublicense and distribute its Work and any resulting derivative
|
37 |
+
works in any form.
|
38 |
+
|
39 |
+
3. Limitations
|
40 |
+
|
41 |
+
3.1 Redistribution. You may reproduce or distribute the Work only
|
42 |
+
if (a) you do so under this License, (b) you include a complete
|
43 |
+
copy of this License with your distribution, and (c) you retain
|
44 |
+
without modification any copyright, patent, trademark, or
|
45 |
+
attribution notices that are present in the Work.
|
46 |
+
|
47 |
+
3.2 Derivative Works. You may specify that additional or different
|
48 |
+
terms apply to the use, reproduction, and distribution of your
|
49 |
+
derivative works of the Work ("Your Terms") only if (a) Your Terms
|
50 |
+
provide that the use limitation in Section 3.3 applies to your
|
51 |
+
derivative works, and (b) you identify the specific derivative
|
52 |
+
works that are subject to Your Terms. Notwithstanding Your Terms,
|
53 |
+
this License (including the redistribution requirements in Section
|
54 |
+
3.1) will continue to apply to the Work itself.
|
55 |
+
|
56 |
+
3.3 Use Limitation. The Work and any derivative works thereof only
|
57 |
+
may be used or intended for use non-commercially. Notwithstanding
|
58 |
+
the foregoing, NVIDIA and its affiliates may use the Work and any
|
59 |
+
derivative works commercially. As used herein, "non-commercially"
|
60 |
+
means for research or evaluation purposes only.
|
61 |
+
|
62 |
+
3.4 Patent Claims. If you bring or threaten to bring a patent claim
|
63 |
+
against any Licensor (including any claim, cross-claim or
|
64 |
+
counterclaim in a lawsuit) to enforce any patents that you allege
|
65 |
+
are infringed by any Work, then your rights under this License from
|
66 |
+
such Licensor (including the grant in Section 2.1) will terminate
|
67 |
+
immediately.
|
68 |
+
|
69 |
+
3.5 Trademarks. This License does not grant any rights to use any
|
70 |
+
Licensor�s or its affiliates� names, logos, or trademarks, except
|
71 |
+
as necessary to reproduce the notices described in this License.
|
72 |
+
|
73 |
+
3.6 Termination. If you violate any term of this License, then your
|
74 |
+
rights under this License (including the grant in Section 2.1) will
|
75 |
+
terminate immediately.
|
76 |
+
|
77 |
+
4. Disclaimer of Warranty.
|
78 |
+
|
79 |
+
THE WORK IS PROVIDED "AS IS" WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
80 |
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WARRANTIES OR CONDITIONS OF
|
81 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR
|
82 |
+
NON-INFRINGEMENT. YOU BEAR THE RISK OF UNDERTAKING ANY ACTIVITIES UNDER
|
83 |
+
THIS LICENSE.
|
84 |
+
|
85 |
+
5. Limitation of Liability.
|
86 |
+
|
87 |
+
EXCEPT AS PROHIBITED BY APPLICABLE LAW, IN NO EVENT AND UNDER NO LEGAL
|
88 |
+
THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE
|
89 |
+
SHALL ANY LICENSOR BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT,
|
90 |
+
INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF
|
91 |
+
OR RELATED TO THIS LICENSE, THE USE OR INABILITY TO USE THE WORK
|
92 |
+
(INCLUDING BUT NOT LIMITED TO LOSS OF GOODWILL, BUSINESS INTERRUPTION,
|
93 |
+
LOST PROFITS OR DATA, COMPUTER FAILURE OR MALFUNCTION, OR ANY OTHER
|
94 |
+
COMMERCIAL DAMAGES OR LOSSES), EVEN IF THE LICENSOR HAS BEEN ADVISED OF
|
95 |
+
THE POSSIBILITY OF SUCH DAMAGES.
|
96 |
+
|
97 |
+
=======================================================================
|
README.md
ADDED
@@ -0,0 +1,346 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Instant Neural Graphics Primitives ![](https://github.com/NVlabs/instant-ngp/workflows/CI/badge.svg)
|
2 |
+
|
3 |
+
<img src="docs/assets_readme/fox.gif" height="342"/> <img src="docs/assets_readme/robot5.gif" height="342"/>
|
4 |
+
|
5 |
+
Ever wanted to train a NeRF model of a fox in under 5 seconds? Or fly around a scene captured from photos of a factory robot? Of course you have!
|
6 |
+
|
7 |
+
Here you will find an implementation of four __neural graphics primitives__, being neural radiance fields (NeRF), signed distance functions (SDFs), neural images, and neural volumes.
|
8 |
+
In each case, we train and render a MLP with multiresolution hash input encoding using the [tiny-cuda-nn](https://github.com/NVlabs/tiny-cuda-nn) framework.
|
9 |
+
|
10 |
+
> __Instant Neural Graphics Primitives with a Multiresolution Hash Encoding__
|
11 |
+
> [Thomas Müller](https://tom94.net), [Alex Evans](https://research.nvidia.com/person/alex-evans), [Christoph Schied](https://research.nvidia.com/person/christoph-schied), [Alexander Keller](https://research.nvidia.com/person/alex-keller)
|
12 |
+
> _ACM Transactions on Graphics (__SIGGRAPH__), July 2022_
|
13 |
+
> __[Project page](https://nvlabs.github.io/instant-ngp) / [Paper](https://nvlabs.github.io/instant-ngp/assets/mueller2022instant.pdf) / [Video](https://nvlabs.github.io/instant-ngp/assets/mueller2022instant.mp4) / [Presentation](https://tom94.net/data/publications/mueller22instant/mueller22instant-gtc.mp4) / [Real-Time Live](https://tom94.net/data/publications/mueller22instant/mueller22instant-rtl.mp4) / [BibTeX](https://nvlabs.github.io/instant-ngp/assets/mueller2022instant.bib)__
|
14 |
+
|
15 |
+
To get started with NVIDIA Instant NeRF, check out the [blog post](https://developer.nvidia.com/blog/getting-started-with-nvidia-instant-nerfs/) and [SIGGRAPH tutorial](https://www.nvidia.com/en-us/on-demand/session/siggraph2022-sigg22-s-16/).
|
16 |
+
|
17 |
+
For business inquiries, please submit the [NVIDIA research licensing form](https://www.nvidia.com/en-us/research/inquiries/).
|
18 |
+
|
19 |
+
## Windows binary release
|
20 |
+
|
21 |
+
If you have Windows and if you do not need Python bindings, you can download one of the following binary releases and then jump directly to the [usage instructions](https://github.com/NVlabs/instant-ngp#interactive-training-and-rendering). These releases are automatically regenerated whenever the code gets updated, so you can be sure that they have the latest features.
|
22 |
+
|
23 |
+
- [**RTX 3000 & 4000 series, RTX A4000–A6000**, and other Ampere & Ada cards](https://nightly.link/NVlabs/instant-ngp/workflows/main/master/Instant%20NGP%20for%20RTX%203000%20%26%204000%20%28Ampere%20%26%20Ada%29.zip)
|
24 |
+
- [**RTX 2000 series, Titan RTX, Quadro RTX 4000–8000**, and other Turing cards](https://nightly.link/NVlabs/instant-ngp/workflows/main/master/Instant%20NGP%20for%20RTX%202000%20%28Turing%29.zip)
|
25 |
+
- [**GTX 1000 series, Titan Xp, Quadro P1000–P6000**, and other Pascal cards](https://nightly.link/NVlabs/instant-ngp/workflows/main/master/Instant%20NGP%20for%20GTX%201000%20%28Pascal%29.zip)
|
26 |
+
|
27 |
+
If you use Linux, or want the Python bindings, or if your GPU is not listed above (e.g. Hopper, Volta, or Maxwell generations), use the following step-by-step instructions to compile __instant-ngp__ yourself.
|
28 |
+
|
29 |
+
## Requirements
|
30 |
+
|
31 |
+
- An __NVIDIA GPU__; tensor cores increase performance when available. All shown results come from an RTX 3090.
|
32 |
+
- A __C++14__ capable compiler. The following choices are recommended and have been tested:
|
33 |
+
- __Windows:__ Visual Studio 2019 or 2022
|
34 |
+
- __Linux:__ GCC/G++ 8 or higher
|
35 |
+
- A recent version of __[CUDA](https://developer.nvidia.com/cuda-toolkit)__. The following choices are recommended and have been tested:
|
36 |
+
- __Windows:__ CUDA 11.5 or higher
|
37 |
+
- __Linux:__ CUDA 10.2 or higher
|
38 |
+
- __[CMake](https://cmake.org/) v3.21 or higher__.
|
39 |
+
- __(optional) [Python](https://www.python.org/) 3.7 or higher__ for interactive bindings. Also, run `pip install -r requirements.txt`.
|
40 |
+
- __(optional) [OptiX](https://developer.nvidia.com/optix) 7.3 or higher__ for faster mesh SDF training.
|
41 |
+
- __(optional) [Vulkan SDK](https://vulkan.lunarg.com/)__ for DLSS support.
|
42 |
+
|
43 |
+
|
44 |
+
If you are using Debian based Linux distribution, install the following packages
|
45 |
+
```sh
|
46 |
+
sudo apt-get install build-essential git python3-dev python3-pip libopenexr-dev libxi-dev \
|
47 |
+
libglfw3-dev libglew-dev libomp-dev libxinerama-dev libxcursor-dev
|
48 |
+
```
|
49 |
+
|
50 |
+
Alternatively, if you are using Arch or Arch derivatives, install the following packages
|
51 |
+
```sh
|
52 |
+
sudo pacman -S base-devel cmake openexr libxi glfw openmp libxinerama libxcursor
|
53 |
+
```
|
54 |
+
|
55 |
+
We also recommend installing [CUDA](https://developer.nvidia.com/cuda-toolkit) and [OptiX](https://developer.nvidia.com/optix) in `/usr/local/` and adding the CUDA installation to your PATH.
|
56 |
+
|
57 |
+
For example, if you have CUDA 11.4, add the following to your `~/.bashrc`
|
58 |
+
```sh
|
59 |
+
export PATH="/usr/local/cuda-11.4/bin:$PATH"
|
60 |
+
export LD_LIBRARY_PATH="/usr/local/cuda-11.4/lib64:$LD_LIBRARY_PATH"
|
61 |
+
```
|
62 |
+
|
63 |
+
For Arch and derivatives,
|
64 |
+
```sh
|
65 |
+
sudo pacman -S cuda
|
66 |
+
```
|
67 |
+
|
68 |
+
|
69 |
+
## Compilation (Windows & Linux)
|
70 |
+
|
71 |
+
Begin by cloning this repository and all its submodules using the following command:
|
72 |
+
```sh
|
73 |
+
$ git clone --recursive https://github.com/nvlabs/instant-ngp
|
74 |
+
$ cd instant-ngp
|
75 |
+
```
|
76 |
+
|
77 |
+
Then, use CMake to build the project: (on Windows, this must be in a [developer command prompt](https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-160#developer_command_prompt))
|
78 |
+
```sh
|
79 |
+
instant-ngp$ cmake . -B build
|
80 |
+
instant-ngp$ cmake --build build --config RelWithDebInfo -j
|
81 |
+
```
|
82 |
+
|
83 |
+
If compilation fails inexplicably or takes longer than an hour, you might be running out of memory. Try running the above command without `-j` in that case.
|
84 |
+
If this does not help, please consult [this list of possible fixes](https://github.com/NVlabs/instant-ngp#troubleshooting-compile-errors) before opening an issue.
|
85 |
+
|
86 |
+
If the build succeeds, you can now run the code via the `build/instant-ngp` executable or the `scripts/run.py` script described below.
|
87 |
+
|
88 |
+
If automatic GPU architecture detection fails, (as can happen if you have multiple GPUs installed), set the `TCNN_CUDA_ARCHITECTURES` environment variable for the GPU you would like to use. The following table lists the values for common GPUs. If your GPU is not listed, consult [this exhaustive list](https://developer.nvidia.com/cuda-gpus).
|
89 |
+
|
90 |
+
| H100 | 40X0 | 30X0 | A100 | 20X0 | TITAN V / V100 | 10X0 / TITAN Xp | 9X0 | K80 |
|
91 |
+
|:----:|:----:|:----:|:----:|:----:|:--------------:|:---------------:|:---:|:---:|
|
92 |
+
| 90 | 89 | 86 | 80 | 75 | 70 | 61 | 52 | 37 |
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
## Interactive training and rendering
|
97 |
+
|
98 |
+
<img src="docs/assets_readme/testbed.png" width="100%"/>
|
99 |
+
|
100 |
+
This codebase comes with an interactive GUI that includes many features beyond our academic publication:
|
101 |
+
- Additional training features, such as extrinsics and intrinsics optimization.
|
102 |
+
- Marching cubes for `NeRF->Mesh` and `SDF->Mesh` conversion.
|
103 |
+
- A spline-based camera path editor to create videos.
|
104 |
+
- Debug visualizations of the activations of every neuron input and output.
|
105 |
+
- And many more task-specific settings.
|
106 |
+
- See also our [one minute demonstration video of the tool](https://nvlabs.github.io/instant-ngp/assets/mueller2022instant.mp4).
|
107 |
+
|
108 |
+
Let's start using __instant-ngp__; more information about the GUI and other scripts follow these test scenes.
|
109 |
+
|
110 |
+
### NeRF fox
|
111 |
+
|
112 |
+
One test scene is provided in this repository, using a small number of frames from a casually captured phone video:
|
113 |
+
|
114 |
+
```sh
|
115 |
+
instant-ngp$ ./build/instant-ngp --scene data/nerf/fox
|
116 |
+
```
|
117 |
+
|
118 |
+
On Windows you need to reverse the slashes here (and below), i.e.:
|
119 |
+
|
120 |
+
```sh
|
121 |
+
instant-ngp> .\build\instant-ngp --scene data\nerf\fox
|
122 |
+
```
|
123 |
+
|
124 |
+
<img src="docs/assets_readme/fox.png"/>
|
125 |
+
|
126 |
+
Alternatively, download any NeRF-compatible scene (e.g. from the [NeRF authors' drive](https://drive.google.com/drive/folders/1JDdLGDruGNXWnM1eqY1FNL9PlStjaKWi), the [SILVR dataset](https://github.com/IDLabMedia/large-lightfields-dataset), or the [DroneDeploy dataset](https://github.com/nickponline/dd-nerf-dataset)).
|
127 |
+
Now you can run:
|
128 |
+
|
129 |
+
```sh
|
130 |
+
instant-ngp$ ./build/instant-ngp --scene data/nerf_synthetic/lego/transforms_train.json
|
131 |
+
```
|
132 |
+
|
133 |
+
**[To prepare your own dataset for use with our NeRF implementation, click here.](docs/nerf_dataset_tips.md)** See also [this video](https://www.youtube.com/watch?v=8GbENSmdVeE) for a guided walkthrough.
|
134 |
+
|
135 |
+
### SDF armadillo
|
136 |
+
|
137 |
+
```sh
|
138 |
+
instant-ngp$ ./build/instant-ngp --scene data/sdf/armadillo.obj
|
139 |
+
```
|
140 |
+
|
141 |
+
<img src="docs/assets_readme/armadillo.png"/>
|
142 |
+
|
143 |
+
### Image of Einstein
|
144 |
+
|
145 |
+
```sh
|
146 |
+
instant-ngp$ ./build/instant-ngp --scene data/image/albert.exr
|
147 |
+
```
|
148 |
+
|
149 |
+
<img src="docs/assets_readme/albert.png"/>
|
150 |
+
|
151 |
+
To reproduce the gigapixel results, download, for example, [the Tokyo image](https://www.flickr.com/photos/trevor_dobson_inefekt69/29314390837) and convert it to `.bin` using the `scripts/convert_image.py` script. This custom format improves compatibility and loading speed when resolution is high. Now you can run:
|
152 |
+
|
153 |
+
```sh
|
154 |
+
instant-ngp$ ./build/instant-ngp --scene data/image/tokyo.bin
|
155 |
+
```
|
156 |
+
|
157 |
+
|
158 |
+
### Volume renderer
|
159 |
+
|
160 |
+
Download the [nanovdb volume for the Disney cloud](https://drive.google.com/drive/folders/1SuycSAOSG64k2KLV7oWgyNWyCvZAkafK?usp=sharing), which is derived [from here](https://disneyanimation.com/data-sets/?drawer=/resources/clouds/) ([CC BY-SA 3.0](https://media.disneyanimation.com/uploads/production/data_set_asset/6/asset/License_Cloud.pdf)).
|
161 |
+
|
162 |
+
```sh
|
163 |
+
instant-ngp$ ./build/instant-ngp --mode volume --scene data/volume/wdas_cloud_quarter.nvdb
|
164 |
+
```
|
165 |
+
<img src="docs/assets_readme/cloud.png"/>
|
166 |
+
|
167 |
+
|
168 |
+
### GUI controls
|
169 |
+
|
170 |
+
Here are the main keyboard controls for the __instant-ngp__ application.
|
171 |
+
|
172 |
+
| Key | Meaning |
|
173 |
+
| :-------------: | ------------- |
|
174 |
+
| WASD | Forward / pan left / backward / pan right. |
|
175 |
+
| Spacebar / C | Move up / down. |
|
176 |
+
| = or + / - or _ | Increase / decrease camera velocity. |
|
177 |
+
| E / Shift+E | Increase / decrease exposure. |
|
178 |
+
| T | Toggle training. After around two minutes training tends to settle down, so can be toggled off. |
|
179 |
+
| R | Reload network from file. |
|
180 |
+
| Shift+R | Reset camera. |
|
181 |
+
| O | Toggle visualization or accumulated error map. |
|
182 |
+
| G | Toggle visualization of the ground truth. |
|
183 |
+
| M | Toggle multi-view visualization of layers of the neural model. See the paper's video for a little more explanation. |
|
184 |
+
| , / . | Shows the previous / next visualized layer; hit M to escape. |
|
185 |
+
| 1-8 | Switches among various render modes, with 2 being the standard one. You can see the list of render mode names in the control interface. |
|
186 |
+
|
187 |
+
There are many controls in the __instant-ngp__ GUI.
|
188 |
+
First, note that this GUI can be moved and resized, as can the "Camera path" GUI (which first must be expanded to be used).
|
189 |
+
|
190 |
+
Some popular user controls in __instant-ngp__ are:
|
191 |
+
|
192 |
+
* __Snapshot:__ use Save to save the NeRF solution generated, Load to reload. Necessary if you want to make an animation.
|
193 |
+
* __Rendering -> DLSS:__ toggling this on and setting "DLSS sharpening" below it to 1.0 can often improve rendering quality.
|
194 |
+
* __Rendering -> Crop size:__ trim back the surrounding environment to focus on the model. "Crop aabb" lets you move the center of the volume of interest and fine tune. See more about this feature in [our NeRF training & dataset tips](https://github.com/NVlabs/instant-ngp/blob/master/docs/nerf_dataset_tips.md).
|
195 |
+
|
196 |
+
The "Camera path" GUI lets you set frames along a path. "Add from cam" is the main button you'll want to push, then saving out the camera keyframes using "Save" to create a `base_cam.json` file. There is a bit more information about the GUI [in this post](https://developer.nvidia.com/blog/getting-started-with-nvidia-instant-nerfs/) and [in this (bit dated) video](https://www.youtube.com/watch?v=z3-fjYzd0BA).
|
197 |
+
|
198 |
+
|
199 |
+
## Python bindings
|
200 |
+
|
201 |
+
To conduct controlled experiments in an automated fashion, all features from the interactive GUI (and more!) have Python bindings that can be easily instrumented.
|
202 |
+
For an example of how the `./build/instant-ngp` application can be implemented and extended from within Python, see `./scripts/run.py`, which supports a superset of the command line arguments that `./build/instant-ngp` does.
|
203 |
+
|
204 |
+
Here is a typical command line using `scripts/run.py` to generate a 5-second flythrough of the fox dataset to the (default) file `video.mp4`, after using the GUI to save a (default) NeRF snapshot `base.msgpack` and a set of camera key frames: (see [this video](https://www.youtube.com/watch?v=8GbENSmdVeE) for a guided walkthrough)
|
205 |
+
|
206 |
+
```sh
|
207 |
+
instant-ngp$ python scripts/run.py --mode nerf --scene data/nerf/fox --load_snapshot data/nerf/fox/base.msgpack --video_camera_path data/nerf/fox/base_cam.json --video_n_seconds 5 --video_fps 60 --width 1920 --height 1080
|
208 |
+
```
|
209 |
+
|
210 |
+
If you'd rather build new models from the hash encoding and fast neural networks, consider the [__tiny-cuda-nn__'s PyTorch extension](https://github.com/nvlabs/tiny-cuda-nn#pytorch-extension).
|
211 |
+
|
212 |
+
Happy hacking!
|
213 |
+
|
214 |
+
|
215 |
+
## Frequently asked questions (FAQ)
|
216 |
+
|
217 |
+
__Q:__ How can I run __instant-ngp__ in headless mode?
|
218 |
+
|
219 |
+
__A:__ Use `./build/instant-ngp --no-gui` or `python scripts/run.py`. You can also compile without GUI via `cmake -DNGP_BUILD_WITH_GUI=off ...`
|
220 |
+
|
221 |
+
##
|
222 |
+
__Q:__ Does this codebase run on [Google Colab](https://colab.research.google.com/)?
|
223 |
+
|
224 |
+
__A:__ Yes. See [this example](./notebooks/instant_ngp.ipynb) inspired on the notebook created by user [@myagues](https://github.com/NVlabs/instant-ngp/issues/6#issuecomment-1016397579). Caveat: this codebase requires large amounts of GPU RAM and might not fit on your assigned GPU. It will also run slower on older GPUs.
|
225 |
+
|
226 |
+
##
|
227 |
+
__Q:__ Is there a [Docker container](https://www.docker.com/)?
|
228 |
+
|
229 |
+
__A:__ Yes. We bundle a [Visual Studio Code development container](https://code.visualstudio.com/docs/remote/containers), the `.devcontainer/Dockerfile` of which you can also use stand-alone.
|
230 |
+
|
231 |
+
If you want to run the container without using VSCode:
|
232 |
+
```
|
233 |
+
docker-compose -f .devcontainer/docker-compose.yml build instant-ngp
|
234 |
+
xhost local:root
|
235 |
+
docker-compose -f .devcontainer/docker-compose.yml run instant-ngp /bin/bash
|
236 |
+
```
|
237 |
+
Then run the build commands above as normal.
|
238 |
+
|
239 |
+
##
|
240 |
+
__Q:__ How can I edit and train the underlying hash encoding or neural network on a new task?
|
241 |
+
|
242 |
+
__A:__ Use [__tiny-cuda-nn__'s PyTorch extension](https://github.com/nvlabs/tiny-cuda-nn#pytorch-extension).
|
243 |
+
|
244 |
+
##
|
245 |
+
__Q:__ How can I save the trained model and load it again later?
|
246 |
+
|
247 |
+
__A:__ Two options:
|
248 |
+
1. Use the GUI's "Snapshot" section.
|
249 |
+
2. Use the Python bindings `load_snapshot` / `save_snapshot` (see `scripts/run.py` for example usage).
|
250 |
+
|
251 |
+
##
|
252 |
+
__Q:__ Can this codebase use multiple GPUs at the same time?
|
253 |
+
|
254 |
+
__A:__ No. To select a specific GPU to run on, use the [CUDA_VISIBLE_DEVICES](https://stackoverflow.com/questions/39649102/how-do-i-select-which-gpu-to-run-a-job-on) environment variable. To optimize the _compilation_ for that specific GPU use the [TCNN_CUDA_ARCHITECTURES](https://github.com/NVlabs/instant-ngp#compilation-windows--linux) environment variable.
|
255 |
+
|
256 |
+
##
|
257 |
+
__Q:__ What is the coordinate system convention?
|
258 |
+
|
259 |
+
__A:__ See [this helpful diagram](https://github.com/NVlabs/instant-ngp/discussions/153?converting=1#discussioncomment-2187652) by user @jc211.
|
260 |
+
|
261 |
+
##
|
262 |
+
__Q:__ The NeRF reconstruction of my custom dataset looks bad; what can I do?
|
263 |
+
|
264 |
+
__A:__ There could be multiple issues:
|
265 |
+
- COLMAP might have been unable to reconstruct camera poses.
|
266 |
+
- There might have been movement or blur during capture. Don't treat capture as an artistic task; treat it as photogrammetry. You want _\*as little blur as possible\*_ in your dataset (motion, defocus, or otherwise) and all objects must be _\*static\*_ during the entire capture. Bonus points if you are using a wide-angle lens (iPhone wide angle works well), because it covers more space than narrow lenses.
|
267 |
+
- The dataset parameters (in particular `aabb_scale`) might have been tuned suboptimally. We recommend starting with `aabb_scale=16` and then increasing or decreasing it by factors of two until you get optimal quality.
|
268 |
+
- Carefully read [our NeRF training & dataset tips](https://github.com/NVlabs/instant-ngp/blob/master/docs/nerf_dataset_tips.md).
|
269 |
+
|
270 |
+
##
|
271 |
+
__Q:__ Why are background colors randomized during NeRF training?
|
272 |
+
|
273 |
+
__A:__ Transparency in the training data indicates a desire for transparency in the learned model. Using a solid background color, the model can minimize its loss by simply predicting that background color, rather than transparency (zero density). By randomizing the background colors, the model is _forced_ to learn zero density to let the randomized colors "shine through".
|
274 |
+
|
275 |
+
|
276 |
+
##
|
277 |
+
__Q:__ How to mask away NeRF training pixels (e.g. for dynamic object removal)?
|
278 |
+
|
279 |
+
__A:__ For any training image `xyz.*` with dynamic objects, you can provide a `dynamic_mask_xyz.png` in the same folder. This file must be in PNG format, where _non-zero_ pixel values indicate masked-away regions.
|
280 |
+
|
281 |
+
## Troubleshooting compile errors
|
282 |
+
|
283 |
+
Before investigating further, make sure all submodules are up-to-date and try compiling again.
|
284 |
+
```sh
|
285 |
+
instant-ngp$ git submodule sync --recursive
|
286 |
+
instant-ngp$ git submodule update --init --recursive
|
287 |
+
```
|
288 |
+
If __instant-ngp__ still fails to compile, update CUDA as well as your compiler to the latest versions you can install on your system. It is crucial that you update _both_, as newer CUDA versions are not always compatible with earlier compilers and vice versa.
|
289 |
+
If your problem persists, consult the following table of known issues.
|
290 |
+
|
291 |
+
**\*After each step, delete the `build` folder and let CMake regenerate it before trying again.\***
|
292 |
+
|
293 |
+
| Problem | Resolution |
|
294 |
+
|---------|------------|
|
295 |
+
| __CMake error:__ No CUDA toolset found / CUDA_ARCHITECTURES is empty for target "cmTC_0c70f" | __Windows:__ the Visual Studio CUDA integration was not installed correctly. Follow [these instructions](https://github.com/mitsuba-renderer/mitsuba2/issues/103#issuecomment-618378963) to fix the problem without re-installing CUDA. ([#18](https://github.com/NVlabs/instant-ngp/issues/18)) |
|
296 |
+
| | __Linux:__ Environment variables for your CUDA installation are probably incorrectly set. You may work around the issue using ```cmake . -B build -DCMAKE_CUDA_COMPILER=/usr/local/cuda-<your cuda version>/bin/nvcc``` ([#28](https://github.com/NVlabs/instant-ngp/issues/28)) |
|
297 |
+
| __CMake error:__ No known features for CXX compiler "MSVC" | Reinstall Visual Studio & make sure you run CMake from a developer shell. Make sure you delete the build folder before building again. ([#21](https://github.com/NVlabs/instant-ngp/issues/21)) |
|
298 |
+
| __Compile error:__ A single input file is required for a non-link phase when an outputfile is specified | Ensure there no spaces in the path to __instant-ngp__. Some build systems seem to have trouble with those. ([#39](https://github.com/NVlabs/instant-ngp/issues/39) [#198](https://github.com/NVlabs/instant-ngp/issues/198)) |
|
299 |
+
| __Compile error:__ undefined references to "cudaGraphExecUpdate" / identifier "cublasSetWorkspace" is undefined | Update your CUDA installation (which is likely 11.0) to 11.3 or higher. ([#34](https://github.com/NVlabs/instant-ngp/issues/34) [#41](https://github.com/NVlabs/instant-ngp/issues/41) [#42](https://github.com/NVlabs/instant-ngp/issues/42)) |
|
300 |
+
| __Compile error:__ too few arguments in function call | Update submodules with the above two `git` commands. ([#37](https://github.com/NVlabs/instant-ngp/issues/37) [#52](https://github.com/NVlabs/instant-ngp/issues/52)) |
|
301 |
+
| __Python error:__ No module named 'pyngp' | It is likely that CMake did not detect your Python installation and therefore did not build `pyngp`. Check CMake logs to verify this. If `pyngp` was built in a different folder than `instant-ngp/build`, Python will be unable to detect it and you have to supply the full path to the import statement. ([#43](https://github.com/NVlabs/instant-ngp/issues/43)) |
|
302 |
+
|
303 |
+
If you cannot find your problem in the table, try searching [the discussions board](https://github.com/NVlabs/instant-ngp/discussions) and [the issues area](https://github.com/NVlabs/instant-ngp/issues?q=is%3Aissue) for help. If you are still stuck, please [open an issue](https://github.com/NVlabs/instant-ngp/issues/new) and ask for help.
|
304 |
+
|
305 |
+
## Thanks
|
306 |
+
|
307 |
+
Many thanks to [Jonathan Tremblay](https://research.nvidia.com/person/jonathan-tremblay) and [Andrew Tao](https://developer.nvidia.com/blog/author/atao/) for testing early versions of this codebase and to Arman Toorians and Saurabh Jain for the factory robot dataset.
|
308 |
+
We also thank [Andrew Webb](https://github.com/grey-area) for noticing that one of the prime numbers in the spatial hash was not actually prime; this has been fixed since.
|
309 |
+
|
310 |
+
This project makes use of a number of awesome open source libraries, including:
|
311 |
+
* [tiny-cuda-nn](https://github.com/NVlabs/tiny-cuda-nn) for fast CUDA networks and input encodings
|
312 |
+
* [tinyexr](https://github.com/syoyo/tinyexr) for EXR format support
|
313 |
+
* [tinyobjloader](https://github.com/tinyobjloader/tinyobjloader) for OBJ format support
|
314 |
+
* [stb_image](https://github.com/nothings/stb) for PNG and JPEG support
|
315 |
+
* [Dear ImGui](https://github.com/ocornut/imgui) an excellent immediate mode GUI library
|
316 |
+
* [Eigen](https://eigen.tuxfamily.org/index.php?title=Main_Page) a C++ template library for linear algebra
|
317 |
+
* [pybind11](https://github.com/pybind/pybind11) for seamless C++ / Python interop
|
318 |
+
* and others! See the `dependencies` folder.
|
319 |
+
|
320 |
+
Many thanks to the authors of these brilliant projects!
|
321 |
+
|
322 |
+
## License and Citation
|
323 |
+
|
324 |
+
```bibtex
|
325 |
+
@article{mueller2022instant,
|
326 |
+
author = {Thomas M\"uller and Alex Evans and Christoph Schied and Alexander Keller},
|
327 |
+
title = {Instant Neural Graphics Primitives with a Multiresolution Hash Encoding},
|
328 |
+
journal = {ACM Trans. Graph.},
|
329 |
+
issue_date = {July 2022},
|
330 |
+
volume = {41},
|
331 |
+
number = {4},
|
332 |
+
month = jul,
|
333 |
+
year = {2022},
|
334 |
+
pages = {102:1--102:15},
|
335 |
+
articleno = {102},
|
336 |
+
numpages = {15},
|
337 |
+
url = {https://doi.org/10.1145/3528223.3530127},
|
338 |
+
doi = {10.1145/3528223.3530127},
|
339 |
+
publisher = {ACM},
|
340 |
+
address = {New York, NY, USA},
|
341 |
+
}
|
342 |
+
```
|
343 |
+
|
344 |
+
Copyright © 2022, NVIDIA Corporation. All rights reserved.
|
345 |
+
|
346 |
+
This work is made available under the Nvidia Source Code License-NC. Click [here](LICENSE.txt) to view a copy of this license.
|
build/CMakeCache.txt
ADDED
@@ -0,0 +1,686 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This is the CMakeCache file.
|
2 |
+
# For build in directory: /content/instant-ngp/build
|
3 |
+
# It was generated by CMake: /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake
|
4 |
+
# You can edit this file to change values found and used by cmake.
|
5 |
+
# If you do not want to change any of the values, simply exit the editor.
|
6 |
+
# If you do want to change a value, simply edit, save, and exit the editor.
|
7 |
+
# The syntax for the file is as follows:
|
8 |
+
# KEY:TYPE=VALUE
|
9 |
+
# KEY is the name of a variable in the cache.
|
10 |
+
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
11 |
+
# VALUE is the current value for the KEY.
|
12 |
+
|
13 |
+
########################
|
14 |
+
# EXTERNAL cache entries
|
15 |
+
########################
|
16 |
+
|
17 |
+
//Path to a program.
|
18 |
+
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
|
19 |
+
|
20 |
+
//Path to a program.
|
21 |
+
CMAKE_AR:FILEPATH=/usr/bin/ar
|
22 |
+
|
23 |
+
//Choose the type of build.
|
24 |
+
CMAKE_BUILD_TYPE:STRING=Release
|
25 |
+
|
26 |
+
//Enable/Disable color output during build.
|
27 |
+
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
28 |
+
|
29 |
+
//CUDA architectures
|
30 |
+
CMAKE_CUDA_ARCHITECTURES:STRING=52
|
31 |
+
|
32 |
+
//CUDA compiler
|
33 |
+
CMAKE_CUDA_COMPILER:FILEPATH=/usr/local/cuda/bin/nvcc
|
34 |
+
|
35 |
+
//Flags used by the CUDA compiler during all build types.
|
36 |
+
CMAKE_CUDA_FLAGS:STRING=
|
37 |
+
|
38 |
+
//Flags used by the CUDA compiler during DEBUG builds.
|
39 |
+
CMAKE_CUDA_FLAGS_DEBUG:STRING=-g
|
40 |
+
|
41 |
+
//Flags used by the CUDA compiler during MINSIZEREL builds.
|
42 |
+
CMAKE_CUDA_FLAGS_MINSIZEREL:STRING=-O1 -DNDEBUG
|
43 |
+
|
44 |
+
//Flags used by the CUDA compiler during RELEASE builds.
|
45 |
+
CMAKE_CUDA_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
46 |
+
|
47 |
+
//Flags used by the CUDA compiler during RELWITHDEBINFO builds.
|
48 |
+
CMAKE_CUDA_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
49 |
+
|
50 |
+
//CXX compiler
|
51 |
+
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
|
52 |
+
|
53 |
+
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
54 |
+
// for the GCC compiler
|
55 |
+
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-7
|
56 |
+
|
57 |
+
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
58 |
+
// for the GCC compiler
|
59 |
+
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7
|
60 |
+
|
61 |
+
//Flags used by the CXX compiler during all build types.
|
62 |
+
CMAKE_CXX_FLAGS:STRING=
|
63 |
+
|
64 |
+
//Flags used by the CXX compiler during DEBUG builds.
|
65 |
+
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
66 |
+
|
67 |
+
//Flags used by the CXX compiler during MINSIZEREL builds.
|
68 |
+
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
69 |
+
|
70 |
+
//Flags used by the CXX compiler during RELEASE builds.
|
71 |
+
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
72 |
+
|
73 |
+
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
74 |
+
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
75 |
+
|
76 |
+
//C compiler
|
77 |
+
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
|
78 |
+
|
79 |
+
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
80 |
+
// for the GCC compiler
|
81 |
+
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-7
|
82 |
+
|
83 |
+
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
84 |
+
// for the GCC compiler
|
85 |
+
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7
|
86 |
+
|
87 |
+
//Flags used by the C compiler during all build types.
|
88 |
+
CMAKE_C_FLAGS:STRING=
|
89 |
+
|
90 |
+
//Flags used by the C compiler during DEBUG builds.
|
91 |
+
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
92 |
+
|
93 |
+
//Flags used by the C compiler during MINSIZEREL builds.
|
94 |
+
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
95 |
+
|
96 |
+
//Flags used by the C compiler during RELEASE builds.
|
97 |
+
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
98 |
+
|
99 |
+
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
100 |
+
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
101 |
+
|
102 |
+
//Path to a program.
|
103 |
+
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
|
104 |
+
|
105 |
+
//Flags used by the linker during all build types.
|
106 |
+
CMAKE_EXE_LINKER_FLAGS:STRING=
|
107 |
+
|
108 |
+
//Flags used by the linker during DEBUG builds.
|
109 |
+
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
110 |
+
|
111 |
+
//Flags used by the linker during MINSIZEREL builds.
|
112 |
+
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
113 |
+
|
114 |
+
//Flags used by the linker during RELEASE builds.
|
115 |
+
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
116 |
+
|
117 |
+
//Flags used by the linker during RELWITHDEBINFO builds.
|
118 |
+
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
119 |
+
|
120 |
+
//Enable/Disable output of compile commands during generation.
|
121 |
+
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
122 |
+
|
123 |
+
//Value Computed by CMake.
|
124 |
+
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/content/instant-ngp/build/CMakeFiles/pkgRedirects
|
125 |
+
|
126 |
+
//User executables (bin)
|
127 |
+
CMAKE_INSTALL_BINDIR:PATH=bin
|
128 |
+
|
129 |
+
//Read-only architecture-independent data (DATAROOTDIR)
|
130 |
+
CMAKE_INSTALL_DATADIR:PATH=
|
131 |
+
|
132 |
+
//Read-only architecture-independent data root (share)
|
133 |
+
CMAKE_INSTALL_DATAROOTDIR:PATH=share
|
134 |
+
|
135 |
+
//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
|
136 |
+
CMAKE_INSTALL_DOCDIR:PATH=
|
137 |
+
|
138 |
+
//C header files (include)
|
139 |
+
CMAKE_INSTALL_INCLUDEDIR:PATH=include
|
140 |
+
|
141 |
+
//Info documentation (DATAROOTDIR/info)
|
142 |
+
CMAKE_INSTALL_INFODIR:PATH=
|
143 |
+
|
144 |
+
//Object code libraries (lib)
|
145 |
+
CMAKE_INSTALL_LIBDIR:PATH=lib
|
146 |
+
|
147 |
+
//Program executables (libexec)
|
148 |
+
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec
|
149 |
+
|
150 |
+
//Locale-dependent data (DATAROOTDIR/locale)
|
151 |
+
CMAKE_INSTALL_LOCALEDIR:PATH=
|
152 |
+
|
153 |
+
//Modifiable single-machine data (var)
|
154 |
+
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var
|
155 |
+
|
156 |
+
//Man documentation (DATAROOTDIR/man)
|
157 |
+
CMAKE_INSTALL_MANDIR:PATH=
|
158 |
+
|
159 |
+
//C header files for non-gcc (/usr/include)
|
160 |
+
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include
|
161 |
+
|
162 |
+
//Install path prefix, prepended onto install directories.
|
163 |
+
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
164 |
+
|
165 |
+
//Run-time variable data (LOCALSTATEDIR/run)
|
166 |
+
CMAKE_INSTALL_RUNSTATEDIR:PATH=
|
167 |
+
|
168 |
+
//System admin executables (sbin)
|
169 |
+
CMAKE_INSTALL_SBINDIR:PATH=sbin
|
170 |
+
|
171 |
+
//Modifiable architecture-independent data (com)
|
172 |
+
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com
|
173 |
+
|
174 |
+
//Read-only single-machine data (etc)
|
175 |
+
CMAKE_INSTALL_SYSCONFDIR:PATH=etc
|
176 |
+
|
177 |
+
//Path to a program.
|
178 |
+
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
179 |
+
|
180 |
+
//Path to a program.
|
181 |
+
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
|
182 |
+
|
183 |
+
//Flags used by the linker during the creation of modules during
|
184 |
+
// all build types.
|
185 |
+
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
186 |
+
|
187 |
+
//Flags used by the linker during the creation of modules during
|
188 |
+
// DEBUG builds.
|
189 |
+
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
190 |
+
|
191 |
+
//Flags used by the linker during the creation of modules during
|
192 |
+
// MINSIZEREL builds.
|
193 |
+
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
194 |
+
|
195 |
+
//Flags used by the linker during the creation of modules during
|
196 |
+
// RELEASE builds.
|
197 |
+
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
198 |
+
|
199 |
+
//Flags used by the linker during the creation of modules during
|
200 |
+
// RELWITHDEBINFO builds.
|
201 |
+
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
202 |
+
|
203 |
+
//Path to a program.
|
204 |
+
CMAKE_NM:FILEPATH=/usr/bin/nm
|
205 |
+
|
206 |
+
//Path to a program.
|
207 |
+
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
208 |
+
|
209 |
+
//Path to a program.
|
210 |
+
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
211 |
+
|
212 |
+
//Value Computed by CMake
|
213 |
+
CMAKE_PROJECT_DESCRIPTION:STATIC=Instant Neural Graphics Primitives
|
214 |
+
|
215 |
+
//Value Computed by CMake
|
216 |
+
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
217 |
+
|
218 |
+
//Value Computed by CMake
|
219 |
+
CMAKE_PROJECT_NAME:STATIC=instant-ngp
|
220 |
+
|
221 |
+
//Value Computed by CMake
|
222 |
+
CMAKE_PROJECT_VERSION:STATIC=1.0
|
223 |
+
|
224 |
+
//Value Computed by CMake
|
225 |
+
CMAKE_PROJECT_VERSION_MAJOR:STATIC=1
|
226 |
+
|
227 |
+
//Value Computed by CMake
|
228 |
+
CMAKE_PROJECT_VERSION_MINOR:STATIC=0
|
229 |
+
|
230 |
+
//Value Computed by CMake
|
231 |
+
CMAKE_PROJECT_VERSION_PATCH:STATIC=
|
232 |
+
|
233 |
+
//Value Computed by CMake
|
234 |
+
CMAKE_PROJECT_VERSION_TWEAK:STATIC=
|
235 |
+
|
236 |
+
//Path to a program.
|
237 |
+
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
238 |
+
|
239 |
+
//Path to a program.
|
240 |
+
CMAKE_READELF:FILEPATH=/usr/bin/readelf
|
241 |
+
|
242 |
+
//Flags used by the linker during the creation of shared libraries
|
243 |
+
// during all build types.
|
244 |
+
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
245 |
+
|
246 |
+
//Flags used by the linker during the creation of shared libraries
|
247 |
+
// during DEBUG builds.
|
248 |
+
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
249 |
+
|
250 |
+
//Flags used by the linker during the creation of shared libraries
|
251 |
+
// during MINSIZEREL builds.
|
252 |
+
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
253 |
+
|
254 |
+
//Flags used by the linker during the creation of shared libraries
|
255 |
+
// during RELEASE builds.
|
256 |
+
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
257 |
+
|
258 |
+
//Flags used by the linker during the creation of shared libraries
|
259 |
+
// during RELWITHDEBINFO builds.
|
260 |
+
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
261 |
+
|
262 |
+
//If set, runtime paths are not added when installing shared libraries,
|
263 |
+
// but are added when building.
|
264 |
+
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
265 |
+
|
266 |
+
//If set, runtime paths are not added when using shared libraries.
|
267 |
+
CMAKE_SKIP_RPATH:BOOL=NO
|
268 |
+
|
269 |
+
//Flags used by the linker during the creation of static libraries
|
270 |
+
// during all build types.
|
271 |
+
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
272 |
+
|
273 |
+
//Flags used by the linker during the creation of static libraries
|
274 |
+
// during DEBUG builds.
|
275 |
+
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
276 |
+
|
277 |
+
//Flags used by the linker during the creation of static libraries
|
278 |
+
// during MINSIZEREL builds.
|
279 |
+
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
280 |
+
|
281 |
+
//Flags used by the linker during the creation of static libraries
|
282 |
+
// during RELEASE builds.
|
283 |
+
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
284 |
+
|
285 |
+
//Flags used by the linker during the creation of static libraries
|
286 |
+
// during RELWITHDEBINFO builds.
|
287 |
+
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
288 |
+
|
289 |
+
//Path to a program.
|
290 |
+
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
291 |
+
|
292 |
+
//If this value is on, makefiles will be generated without the
|
293 |
+
// .SILENT directive, and all commands will be echoed to the console
|
294 |
+
// during the make. This is useful for debugging only. With Visual
|
295 |
+
// Studio IDE projects all commands are done without /nologo.
|
296 |
+
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
297 |
+
|
298 |
+
//Path to a library.
|
299 |
+
CUDA_CUBLASLT_LIBRARY:FILEPATH=CUDA_CUBLASLT_LIBRARY-NOTFOUND
|
300 |
+
|
301 |
+
//Value Computed by CMake
|
302 |
+
FMT_BINARY_DIR:STATIC=/content/instant-ngp/build/dependencies/tiny-cuda-nn/dependencies/fmt
|
303 |
+
|
304 |
+
//Generate the cuda-test target.
|
305 |
+
FMT_CUDA_TEST:BOOL=OFF
|
306 |
+
|
307 |
+
//Debug library postfix.
|
308 |
+
FMT_DEBUG_POSTFIX:STRING=d
|
309 |
+
|
310 |
+
//Generate the doc target.
|
311 |
+
FMT_DOC:BOOL=OFF
|
312 |
+
|
313 |
+
//Generate the fuzz target.
|
314 |
+
FMT_FUZZ:BOOL=OFF
|
315 |
+
|
316 |
+
//Installation directory for include files, a relative path that
|
317 |
+
// will be joined with /usr/local or an absolute path.
|
318 |
+
FMT_INC_DIR:STRING=include
|
319 |
+
|
320 |
+
//Generate the install target.
|
321 |
+
FMT_INSTALL:BOOL=OFF
|
322 |
+
|
323 |
+
//Value Computed by CMake
|
324 |
+
FMT_IS_TOP_LEVEL:STATIC=OFF
|
325 |
+
|
326 |
+
//Build a module instead of a traditional library.
|
327 |
+
FMT_MODULE:BOOL=OFF
|
328 |
+
|
329 |
+
//Include core requiring OS (Windows/Posix)
|
330 |
+
FMT_OS:BOOL=ON
|
331 |
+
|
332 |
+
//Enable extra warnings and expensive tests.
|
333 |
+
FMT_PEDANTIC:BOOL=OFF
|
334 |
+
|
335 |
+
//Value Computed by CMake
|
336 |
+
FMT_SOURCE_DIR:STATIC=/content/instant-ngp/dependencies/tiny-cuda-nn/dependencies/fmt
|
337 |
+
|
338 |
+
//Expose headers with marking them as system.
|
339 |
+
FMT_SYSTEM_HEADERS:BOOL=OFF
|
340 |
+
|
341 |
+
//Generate the test target.
|
342 |
+
FMT_TEST:BOOL=OFF
|
343 |
+
|
344 |
+
//Halt the compilation with an error on compiler warnings.
|
345 |
+
FMT_WERROR:BOOL=OFF
|
346 |
+
|
347 |
+
//Build with GUI support (requires GLFW and GLEW)?
|
348 |
+
NGP_BUILD_WITH_GUI:BOOL=OFF
|
349 |
+
|
350 |
+
//Build with OptiX to enable hardware ray tracing?
|
351 |
+
NGP_BUILD_WITH_OPTIX:BOOL=ON
|
352 |
+
|
353 |
+
//Build with Vulkan to enable DLSS support?
|
354 |
+
NGP_BUILD_WITH_VULKAN:BOOL=ON
|
355 |
+
|
356 |
+
//CXX compiler flags for OpenMP parallelization
|
357 |
+
OpenMP_CXX_FLAGS:STRING=-fopenmp
|
358 |
+
|
359 |
+
//CXX compiler libraries for OpenMP parallelization
|
360 |
+
OpenMP_CXX_LIB_NAMES:STRING=gomp;pthread
|
361 |
+
|
362 |
+
//C compiler flags for OpenMP parallelization
|
363 |
+
OpenMP_C_FLAGS:STRING=-fopenmp
|
364 |
+
|
365 |
+
//C compiler libraries for OpenMP parallelization
|
366 |
+
OpenMP_C_LIB_NAMES:STRING=gomp;pthread
|
367 |
+
|
368 |
+
//Path to the gomp library for OpenMP
|
369 |
+
OpenMP_gomp_LIBRARY:FILEPATH=/usr/lib/gcc/x86_64-linux-gnu/7/libgomp.so
|
370 |
+
|
371 |
+
//Path to the pthread library for OpenMP
|
372 |
+
OpenMP_pthread_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpthread.so
|
373 |
+
|
374 |
+
//Force new FindPython
|
375 |
+
PYBIND11_FINDPYTHON:BOOL=OFF
|
376 |
+
|
377 |
+
//Install pybind11 header files?
|
378 |
+
PYBIND11_INSTALL:BOOL=OFF
|
379 |
+
|
380 |
+
//Override the ABI version, may be used to enable the unstable
|
381 |
+
// ABI.
|
382 |
+
PYBIND11_INTERNALS_VERSION:STRING=
|
383 |
+
|
384 |
+
//Disable search for Python
|
385 |
+
PYBIND11_NOPYTHON:BOOL=OFF
|
386 |
+
|
387 |
+
//Use simpler GIL management logic that does not support disassociation
|
388 |
+
PYBIND11_SIMPLE_GIL_MANAGEMENT:BOOL=OFF
|
389 |
+
|
390 |
+
//Build pybind11 test suite?
|
391 |
+
PYBIND11_TEST:BOOL=OFF
|
392 |
+
|
393 |
+
//Build tiny-cuda-nn for a specific GPU architecture.
|
394 |
+
TCNN_CUDA_ARCHITECTURES:STRING=
|
395 |
+
|
396 |
+
//Path to a program.
|
397 |
+
bin_to_c:FILEPATH=/usr/local/cuda/bin/bin2c
|
398 |
+
|
399 |
+
//Value Computed by CMake
|
400 |
+
instant-ngp_BINARY_DIR:STATIC=/content/instant-ngp/build
|
401 |
+
|
402 |
+
//Value Computed by CMake
|
403 |
+
instant-ngp_IS_TOP_LEVEL:STATIC=ON
|
404 |
+
|
405 |
+
//Value Computed by CMake
|
406 |
+
instant-ngp_SOURCE_DIR:STATIC=/content/instant-ngp
|
407 |
+
|
408 |
+
//Value Computed by CMake
|
409 |
+
pybind11_BINARY_DIR:STATIC=/content/instant-ngp/build/dependencies/pybind11
|
410 |
+
|
411 |
+
//Value Computed by CMake
|
412 |
+
pybind11_IS_TOP_LEVEL:STATIC=OFF
|
413 |
+
|
414 |
+
//Value Computed by CMake
|
415 |
+
pybind11_SOURCE_DIR:STATIC=/content/instant-ngp/dependencies/pybind11
|
416 |
+
|
417 |
+
//Value Computed by CMake
|
418 |
+
tiny-cuda-nn_BINARY_DIR:STATIC=/content/instant-ngp/build/dependencies/tiny-cuda-nn
|
419 |
+
|
420 |
+
//Value Computed by CMake
|
421 |
+
tiny-cuda-nn_IS_TOP_LEVEL:STATIC=OFF
|
422 |
+
|
423 |
+
//Value Computed by CMake
|
424 |
+
tiny-cuda-nn_SOURCE_DIR:STATIC=/content/instant-ngp/dependencies/tiny-cuda-nn
|
425 |
+
|
426 |
+
|
427 |
+
########################
|
428 |
+
# INTERNAL cache entries
|
429 |
+
########################
|
430 |
+
|
431 |
+
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
432 |
+
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
433 |
+
//ADVANCED property for variable: CMAKE_AR
|
434 |
+
CMAKE_AR-ADVANCED:INTERNAL=1
|
435 |
+
//STRINGS property for variable: CMAKE_BUILD_TYPE
|
436 |
+
CMAKE_BUILD_TYPE-STRINGS:INTERNAL=Debug;Release;RelWithDebInfo
|
437 |
+
//This is the directory where this CMakeCache.txt was created
|
438 |
+
CMAKE_CACHEFILE_DIR:INTERNAL=/content/instant-ngp/build
|
439 |
+
//Major version of cmake used to create the current loaded cache
|
440 |
+
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
441 |
+
//Minor version of cmake used to create the current loaded cache
|
442 |
+
CMAKE_CACHE_MINOR_VERSION:INTERNAL=25
|
443 |
+
//Patch version of cmake used to create the current loaded cache
|
444 |
+
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
|
445 |
+
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
446 |
+
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
447 |
+
//Path to CMake executable.
|
448 |
+
CMAKE_COMMAND:INTERNAL=/usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake
|
449 |
+
//Path to cpack program executable.
|
450 |
+
CMAKE_CPACK_COMMAND:INTERNAL=/usr/local/lib/python3.8/dist-packages/cmake/data/bin/cpack
|
451 |
+
//Path to ctest program executable.
|
452 |
+
CMAKE_CTEST_COMMAND:INTERNAL=/usr/local/lib/python3.8/dist-packages/cmake/data/bin/ctest
|
453 |
+
//ADVANCED property for variable: CMAKE_CUDA_COMPILER
|
454 |
+
CMAKE_CUDA_COMPILER-ADVANCED:INTERNAL=1
|
455 |
+
//ADVANCED property for variable: CMAKE_CUDA_FLAGS
|
456 |
+
CMAKE_CUDA_FLAGS-ADVANCED:INTERNAL=1
|
457 |
+
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_DEBUG
|
458 |
+
CMAKE_CUDA_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
459 |
+
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_MINSIZEREL
|
460 |
+
CMAKE_CUDA_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
461 |
+
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_RELEASE
|
462 |
+
CMAKE_CUDA_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
463 |
+
//ADVANCED property for variable: CMAKE_CUDA_FLAGS_RELWITHDEBINFO
|
464 |
+
CMAKE_CUDA_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
465 |
+
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
466 |
+
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
467 |
+
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
|
468 |
+
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
|
469 |
+
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
|
470 |
+
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
471 |
+
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
472 |
+
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
473 |
+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
474 |
+
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
475 |
+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
476 |
+
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
477 |
+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
478 |
+
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
479 |
+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
480 |
+
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
481 |
+
//ADVANCED property for variable: CMAKE_C_COMPILER
|
482 |
+
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
483 |
+
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
|
484 |
+
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
|
485 |
+
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
|
486 |
+
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
487 |
+
//ADVANCED property for variable: CMAKE_C_FLAGS
|
488 |
+
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
489 |
+
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
490 |
+
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
491 |
+
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
492 |
+
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
493 |
+
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
494 |
+
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
495 |
+
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
496 |
+
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
497 |
+
//ADVANCED property for variable: CMAKE_DLLTOOL
|
498 |
+
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
|
499 |
+
//Executable file format
|
500 |
+
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
501 |
+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
502 |
+
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
503 |
+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
504 |
+
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
505 |
+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
506 |
+
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
507 |
+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
508 |
+
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
509 |
+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
510 |
+
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
511 |
+
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
512 |
+
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
513 |
+
//Name of external makefile project generator.
|
514 |
+
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
515 |
+
//Name of generator.
|
516 |
+
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
517 |
+
//Generator instance identifier.
|
518 |
+
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
519 |
+
//Name of generator platform.
|
520 |
+
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
521 |
+
//Name of generator toolset.
|
522 |
+
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
523 |
+
//Source directory with the top level CMakeLists.txt file for this
|
524 |
+
// project
|
525 |
+
CMAKE_HOME_DIRECTORY:INTERNAL=/content/instant-ngp
|
526 |
+
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
|
527 |
+
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
|
528 |
+
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
|
529 |
+
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
|
530 |
+
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
|
531 |
+
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
|
532 |
+
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
|
533 |
+
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
|
534 |
+
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
|
535 |
+
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
|
536 |
+
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
|
537 |
+
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
|
538 |
+
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
|
539 |
+
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
|
540 |
+
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
|
541 |
+
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
|
542 |
+
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
|
543 |
+
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
|
544 |
+
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
|
545 |
+
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
|
546 |
+
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
|
547 |
+
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
|
548 |
+
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
|
549 |
+
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
|
550 |
+
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
|
551 |
+
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
|
552 |
+
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
|
553 |
+
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
|
554 |
+
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
|
555 |
+
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
|
556 |
+
//Install .so files without execute permission.
|
557 |
+
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
558 |
+
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
|
559 |
+
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
|
560 |
+
//ADVANCED property for variable: CMAKE_LINKER
|
561 |
+
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
562 |
+
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
563 |
+
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
564 |
+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
565 |
+
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
566 |
+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
567 |
+
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
568 |
+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
569 |
+
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
570 |
+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
571 |
+
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
572 |
+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
573 |
+
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
574 |
+
//ADVANCED property for variable: CMAKE_NM
|
575 |
+
CMAKE_NM-ADVANCED:INTERNAL=1
|
576 |
+
//number of local generators
|
577 |
+
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=4
|
578 |
+
//ADVANCED property for variable: CMAKE_OBJCOPY
|
579 |
+
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
580 |
+
//ADVANCED property for variable: CMAKE_OBJDUMP
|
581 |
+
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
582 |
+
//Platform information initialized
|
583 |
+
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
584 |
+
//ADVANCED property for variable: CMAKE_RANLIB
|
585 |
+
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
586 |
+
//ADVANCED property for variable: CMAKE_READELF
|
587 |
+
CMAKE_READELF-ADVANCED:INTERNAL=1
|
588 |
+
//Path to CMake installation.
|
589 |
+
CMAKE_ROOT:INTERNAL=/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25
|
590 |
+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
591 |
+
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
592 |
+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
593 |
+
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
594 |
+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
595 |
+
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
596 |
+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
597 |
+
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
598 |
+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
599 |
+
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
600 |
+
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
601 |
+
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
602 |
+
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
603 |
+
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
604 |
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
605 |
+
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
606 |
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
607 |
+
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
608 |
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
609 |
+
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
610 |
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
611 |
+
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
612 |
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
613 |
+
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
614 |
+
//ADVANCED property for variable: CMAKE_STRIP
|
615 |
+
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
616 |
+
//uname command
|
617 |
+
CMAKE_UNAME:INTERNAL=/bin/uname
|
618 |
+
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
619 |
+
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
620 |
+
//Details about finding OpenMP
|
621 |
+
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP:INTERNAL=[TRUE][TRUE][c ][v4.5()]
|
622 |
+
//Details about finding OpenMP_C
|
623 |
+
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP_C:INTERNAL=[-fopenmp][/usr/lib/gcc/x86_64-linux-gnu/7/libgomp.so][/usr/lib/x86_64-linux-gnu/libpthread.so][v4.5()]
|
624 |
+
//Details about finding OpenMP_CXX
|
625 |
+
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP_CXX:INTERNAL=[-fopenmp][/usr/lib/gcc/x86_64-linux-gnu/7/libgomp.so][/usr/lib/x86_64-linux-gnu/libpthread.so][v4.5()]
|
626 |
+
//Details about finding Python
|
627 |
+
FIND_PACKAGE_MESSAGE_DETAILS_Python:INTERNAL=[/usr/local/bin/python][/usr/include/python3.8][/usr/lib/x86_64-linux-gnu/libpython3.8.so][cfound components: Interpreter Development Development.Module Development.Embed ][v3.8.16(3.7)]
|
628 |
+
//Test HAS_FLTO
|
629 |
+
HAS_FLTO:INTERNAL=1
|
630 |
+
//Result of TRY_COMPILE
|
631 |
+
OpenMP_COMPILE_RESULT_CXX_fopenmp:INTERNAL=TRUE
|
632 |
+
//Result of TRY_COMPILE
|
633 |
+
OpenMP_COMPILE_RESULT_C_fopenmp:INTERNAL=TRUE
|
634 |
+
//ADVANCED property for variable: OpenMP_CXX_FLAGS
|
635 |
+
OpenMP_CXX_FLAGS-ADVANCED:INTERNAL=1
|
636 |
+
//ADVANCED property for variable: OpenMP_CXX_LIB_NAMES
|
637 |
+
OpenMP_CXX_LIB_NAMES-ADVANCED:INTERNAL=1
|
638 |
+
//CXX compiler's OpenMP specification date
|
639 |
+
OpenMP_CXX_SPEC_DATE:INTERNAL=201511
|
640 |
+
//ADVANCED property for variable: OpenMP_C_FLAGS
|
641 |
+
OpenMP_C_FLAGS-ADVANCED:INTERNAL=1
|
642 |
+
//ADVANCED property for variable: OpenMP_C_LIB_NAMES
|
643 |
+
OpenMP_C_LIB_NAMES-ADVANCED:INTERNAL=1
|
644 |
+
//C compiler's OpenMP specification date
|
645 |
+
OpenMP_C_SPEC_DATE:INTERNAL=201511
|
646 |
+
//Result of TRY_COMPILE
|
647 |
+
OpenMP_SPECTEST_CXX_:INTERNAL=TRUE
|
648 |
+
//Result of TRY_COMPILE
|
649 |
+
OpenMP_SPECTEST_C_:INTERNAL=TRUE
|
650 |
+
//ADVANCED property for variable: OpenMP_gomp_LIBRARY
|
651 |
+
OpenMP_gomp_LIBRARY-ADVANCED:INTERNAL=1
|
652 |
+
//ADVANCED property for variable: OpenMP_pthread_LIBRARY
|
653 |
+
OpenMP_pthread_LIBRARY-ADVANCED:INTERNAL=1
|
654 |
+
PYBIND11_INCLUDE_DIR:INTERNAL=/content/instant-ngp/dependencies/pybind11/include
|
655 |
+
//Python executable during the last CMake run
|
656 |
+
PYBIND11_PYTHON_EXECUTABLE_LAST:INTERNAL=/usr/local/bin/python
|
657 |
+
//Python debug status
|
658 |
+
PYTHON_IS_DEBUG:INTERNAL=0
|
659 |
+
PYTHON_MODULE_EXTENSION:INTERNAL=.cpython-38-x86_64-linux-gnu.so
|
660 |
+
//linker supports push/pop state
|
661 |
+
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
|
662 |
+
//CMAKE_INSTALL_PREFIX during last run
|
663 |
+
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/usr/local
|
664 |
+
_Python:INTERNAL=Python
|
665 |
+
//Compiler reason failure
|
666 |
+
_Python_Compiler_REASON_FAILURE:INTERNAL=
|
667 |
+
_Python_DEVELOPMENT_EMBED_SIGNATURE:INTERNAL=ff6392da5e04076195b02b6264a9b28c
|
668 |
+
_Python_DEVELOPMENT_MODULE_SIGNATURE:INTERNAL=19c9ee89e84136d89c504cd3eb9f0838
|
669 |
+
//Path to a program.
|
670 |
+
_Python_EXECUTABLE:INTERNAL=/usr/local/bin/python
|
671 |
+
//Path to a file.
|
672 |
+
_Python_INCLUDE_DIR:INTERNAL=/usr/include/python3.8
|
673 |
+
//Python Properties
|
674 |
+
_Python_INTERPRETER_PROPERTIES:INTERNAL=Python;3;8;16;64;;cpython-38-x86_64-linux-gnu;/usr/lib/python3.8;/usr/lib/python3.8;/usr/lib/python3/dist-packages;/usr/lib/python3/dist-packages
|
675 |
+
_Python_INTERPRETER_SIGNATURE:INTERNAL=2cae0f3eb99e403db1f2b027636555d4
|
676 |
+
//Path to a library.
|
677 |
+
_Python_LIBRARY_RELEASE:INTERNAL=/usr/lib/x86_64-linux-gnu/libpython3.8.so
|
678 |
+
//NumPy reason failure
|
679 |
+
_Python_NumPy_REASON_FAILURE:INTERNAL=
|
680 |
+
//True if pybind11 and all required components found on the system
|
681 |
+
pybind11_FOUND:INTERNAL=TRUE
|
682 |
+
//Directory where pybind11 headers are located
|
683 |
+
pybind11_INCLUDE_DIR:INTERNAL=/content/instant-ngp/dependencies/pybind11/include
|
684 |
+
//Directories where pybind11 and possibly Python headers are located
|
685 |
+
pybind11_INCLUDE_DIRS:INTERNAL=/content/instant-ngp/dependencies/pybind11/include;/usr/include/python3.8
|
686 |
+
|
build/CMakeFiles/3.25.0/CMakeCCompiler.cmake
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(CMAKE_C_COMPILER "/usr/bin/cc")
|
2 |
+
set(CMAKE_C_COMPILER_ARG1 "")
|
3 |
+
set(CMAKE_C_COMPILER_ID "GNU")
|
4 |
+
set(CMAKE_C_COMPILER_VERSION "7.5.0")
|
5 |
+
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
6 |
+
set(CMAKE_C_COMPILER_WRAPPER "")
|
7 |
+
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
|
8 |
+
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
9 |
+
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
|
10 |
+
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
|
11 |
+
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
|
12 |
+
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
|
13 |
+
set(CMAKE_C17_COMPILE_FEATURES "")
|
14 |
+
set(CMAKE_C23_COMPILE_FEATURES "")
|
15 |
+
|
16 |
+
set(CMAKE_C_PLATFORM_ID "Linux")
|
17 |
+
set(CMAKE_C_SIMULATE_ID "")
|
18 |
+
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
|
19 |
+
set(CMAKE_C_SIMULATE_VERSION "")
|
20 |
+
|
21 |
+
|
22 |
+
|
23 |
+
|
24 |
+
set(CMAKE_AR "/usr/bin/ar")
|
25 |
+
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-7")
|
26 |
+
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
27 |
+
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7")
|
28 |
+
set(CMAKE_LINKER "/usr/bin/ld")
|
29 |
+
set(CMAKE_MT "")
|
30 |
+
set(CMAKE_COMPILER_IS_GNUCC 1)
|
31 |
+
set(CMAKE_C_COMPILER_LOADED 1)
|
32 |
+
set(CMAKE_C_COMPILER_WORKS TRUE)
|
33 |
+
set(CMAKE_C_ABI_COMPILED TRUE)
|
34 |
+
|
35 |
+
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
36 |
+
|
37 |
+
set(CMAKE_C_COMPILER_ID_RUN 1)
|
38 |
+
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
39 |
+
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
40 |
+
set(CMAKE_C_LINKER_PREFERENCE 10)
|
41 |
+
|
42 |
+
# Save compiler ABI information.
|
43 |
+
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
44 |
+
set(CMAKE_C_COMPILER_ABI "ELF")
|
45 |
+
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
|
46 |
+
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
47 |
+
|
48 |
+
if(CMAKE_C_SIZEOF_DATA_PTR)
|
49 |
+
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
50 |
+
endif()
|
51 |
+
|
52 |
+
if(CMAKE_C_COMPILER_ABI)
|
53 |
+
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
54 |
+
endif()
|
55 |
+
|
56 |
+
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
57 |
+
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
58 |
+
endif()
|
59 |
+
|
60 |
+
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
61 |
+
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
62 |
+
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
63 |
+
endif()
|
64 |
+
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include")
|
70 |
+
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
|
71 |
+
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib;/usr/local/cuda/lib64/stubs")
|
72 |
+
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
build/CMakeFiles/3.25.0/CMakeCUDACompiler.cmake
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(CMAKE_CUDA_COMPILER "/usr/local/cuda/bin/nvcc")
|
2 |
+
set(CMAKE_CUDA_HOST_COMPILER "")
|
3 |
+
set(CMAKE_CUDA_HOST_LINK_LAUNCHER "/usr/bin/g++")
|
4 |
+
set(CMAKE_CUDA_COMPILER_ID "NVIDIA")
|
5 |
+
set(CMAKE_CUDA_COMPILER_VERSION "11.2.152")
|
6 |
+
set(CMAKE_CUDA_DEVICE_LINKER "/usr/local/cuda/bin/nvlink")
|
7 |
+
set(CMAKE_CUDA_FATBINARY "/usr/local/cuda/bin/fatbinary")
|
8 |
+
set(CMAKE_CUDA_STANDARD_COMPUTED_DEFAULT "14")
|
9 |
+
set(CMAKE_CUDA_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
10 |
+
set(CMAKE_CUDA_COMPILE_FEATURES "cuda_std_03;cuda_std_11;cuda_std_14;cuda_std_17")
|
11 |
+
set(CMAKE_CUDA03_COMPILE_FEATURES "cuda_std_03")
|
12 |
+
set(CMAKE_CUDA11_COMPILE_FEATURES "cuda_std_11")
|
13 |
+
set(CMAKE_CUDA14_COMPILE_FEATURES "cuda_std_14")
|
14 |
+
set(CMAKE_CUDA17_COMPILE_FEATURES "cuda_std_17")
|
15 |
+
set(CMAKE_CUDA20_COMPILE_FEATURES "")
|
16 |
+
set(CMAKE_CUDA23_COMPILE_FEATURES "")
|
17 |
+
|
18 |
+
set(CMAKE_CUDA_PLATFORM_ID "Linux")
|
19 |
+
set(CMAKE_CUDA_SIMULATE_ID "GNU")
|
20 |
+
set(CMAKE_CUDA_COMPILER_FRONTEND_VARIANT "")
|
21 |
+
set(CMAKE_CUDA_SIMULATE_VERSION "7.5")
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
+
set(CMAKE_CUDA_COMPILER_ENV_VAR "CUDACXX")
|
26 |
+
set(CMAKE_CUDA_HOST_COMPILER_ENV_VAR "CUDAHOSTCXX")
|
27 |
+
|
28 |
+
set(CMAKE_CUDA_COMPILER_LOADED 1)
|
29 |
+
set(CMAKE_CUDA_COMPILER_ID_RUN 1)
|
30 |
+
set(CMAKE_CUDA_SOURCE_FILE_EXTENSIONS cu)
|
31 |
+
set(CMAKE_CUDA_LINKER_PREFERENCE 15)
|
32 |
+
set(CMAKE_CUDA_LINKER_PREFERENCE_PROPAGATES 1)
|
33 |
+
|
34 |
+
set(CMAKE_CUDA_SIZEOF_DATA_PTR "8")
|
35 |
+
set(CMAKE_CUDA_COMPILER_ABI "ELF")
|
36 |
+
set(CMAKE_CUDA_BYTE_ORDER "LITTLE_ENDIAN")
|
37 |
+
set(CMAKE_CUDA_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
38 |
+
|
39 |
+
if(CMAKE_CUDA_SIZEOF_DATA_PTR)
|
40 |
+
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CUDA_SIZEOF_DATA_PTR}")
|
41 |
+
endif()
|
42 |
+
|
43 |
+
if(CMAKE_CUDA_COMPILER_ABI)
|
44 |
+
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CUDA_COMPILER_ABI}")
|
45 |
+
endif()
|
46 |
+
|
47 |
+
if(CMAKE_CUDA_LIBRARY_ARCHITECTURE)
|
48 |
+
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
49 |
+
endif()
|
50 |
+
|
51 |
+
set(CMAKE_CUDA_COMPILER_TOOLKIT_ROOT "/usr/local/cuda")
|
52 |
+
set(CMAKE_CUDA_COMPILER_TOOLKIT_LIBRARY_ROOT "/usr/local/cuda")
|
53 |
+
set(CMAKE_CUDA_COMPILER_TOOLKIT_VERSION "11.2.152")
|
54 |
+
set(CMAKE_CUDA_COMPILER_LIBRARY_ROOT "/usr/local/cuda")
|
55 |
+
|
56 |
+
set(CMAKE_CUDA_ARCHITECTURES_ALL "35-real;37-real;50-real;52-real;53-real;60-real;61-real;62-real;70-real;72-real;75-real;80-real;86")
|
57 |
+
set(CMAKE_CUDA_ARCHITECTURES_ALL_MAJOR "35-real;50-real;60-real;70-real;80")
|
58 |
+
set(CMAKE_CUDA_ARCHITECTURES_NATIVE "75-real")
|
59 |
+
|
60 |
+
set(CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES "/usr/local/cuda/targets/x86_64-linux/include")
|
61 |
+
|
62 |
+
set(CMAKE_CUDA_HOST_IMPLICIT_LINK_LIBRARIES "")
|
63 |
+
set(CMAKE_CUDA_HOST_IMPLICIT_LINK_DIRECTORIES "/usr/local/cuda/targets/x86_64-linux/lib/stubs;/usr/local/cuda/targets/x86_64-linux/lib")
|
64 |
+
set(CMAKE_CUDA_HOST_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
65 |
+
|
66 |
+
set(CMAKE_CUDA_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/7;/usr/include/x86_64-linux-gnu/c++/7;/usr/include/c++/7/backward;/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include")
|
67 |
+
set(CMAKE_CUDA_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
|
68 |
+
set(CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES "/usr/local/cuda/targets/x86_64-linux/lib/stubs;/usr/local/cuda/targets/x86_64-linux/lib;/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib;/usr/local/cuda/lib64/stubs")
|
69 |
+
set(CMAKE_CUDA_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
70 |
+
|
71 |
+
set(CMAKE_CUDA_RUNTIME_LIBRARY_DEFAULT "STATIC")
|
72 |
+
|
73 |
+
set(CMAKE_LINKER "/usr/bin/ld")
|
74 |
+
set(CMAKE_AR "/usr/bin/ar")
|
75 |
+
set(CMAKE_MT "")
|
build/CMakeFiles/3.25.0/CMakeCXXCompiler.cmake
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
|
2 |
+
set(CMAKE_CXX_COMPILER_ARG1 "")
|
3 |
+
set(CMAKE_CXX_COMPILER_ID "GNU")
|
4 |
+
set(CMAKE_CXX_COMPILER_VERSION "7.5.0")
|
5 |
+
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
6 |
+
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
7 |
+
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
|
8 |
+
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
9 |
+
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17")
|
10 |
+
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
|
11 |
+
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
12 |
+
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
13 |
+
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
|
14 |
+
set(CMAKE_CXX20_COMPILE_FEATURES "")
|
15 |
+
set(CMAKE_CXX23_COMPILE_FEATURES "")
|
16 |
+
|
17 |
+
set(CMAKE_CXX_PLATFORM_ID "Linux")
|
18 |
+
set(CMAKE_CXX_SIMULATE_ID "")
|
19 |
+
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
|
20 |
+
set(CMAKE_CXX_SIMULATE_VERSION "")
|
21 |
+
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
+
set(CMAKE_AR "/usr/bin/ar")
|
26 |
+
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-7")
|
27 |
+
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
28 |
+
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7")
|
29 |
+
set(CMAKE_LINKER "/usr/bin/ld")
|
30 |
+
set(CMAKE_MT "")
|
31 |
+
set(CMAKE_COMPILER_IS_GNUCXX 1)
|
32 |
+
set(CMAKE_CXX_COMPILER_LOADED 1)
|
33 |
+
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
34 |
+
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
35 |
+
|
36 |
+
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
37 |
+
|
38 |
+
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
39 |
+
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm)
|
40 |
+
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
41 |
+
|
42 |
+
foreach (lang C OBJC OBJCXX)
|
43 |
+
if (CMAKE_${lang}_COMPILER_ID_RUN)
|
44 |
+
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
|
45 |
+
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
|
46 |
+
endforeach()
|
47 |
+
endif()
|
48 |
+
endforeach()
|
49 |
+
|
50 |
+
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
51 |
+
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
52 |
+
|
53 |
+
# Save compiler ABI information.
|
54 |
+
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
55 |
+
set(CMAKE_CXX_COMPILER_ABI "ELF")
|
56 |
+
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
|
57 |
+
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
58 |
+
|
59 |
+
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
60 |
+
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
61 |
+
endif()
|
62 |
+
|
63 |
+
if(CMAKE_CXX_COMPILER_ABI)
|
64 |
+
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
65 |
+
endif()
|
66 |
+
|
67 |
+
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
68 |
+
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
69 |
+
endif()
|
70 |
+
|
71 |
+
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
72 |
+
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
73 |
+
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
74 |
+
endif()
|
75 |
+
|
76 |
+
|
77 |
+
|
78 |
+
|
79 |
+
|
80 |
+
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/7;/usr/include/x86_64-linux-gnu/c++/7;/usr/include/c++/7/backward;/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include")
|
81 |
+
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
|
82 |
+
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib;/usr/local/cuda/lib64/stubs")
|
83 |
+
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
build/CMakeFiles/3.25.0/CMakeDetermineCompilerABI_C.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:142beb1b73ef99e29a5daaa4e8e75dda502bdff2abd0d306166ac4dc55754a09
|
3 |
+
size 8360
|
build/CMakeFiles/3.25.0/CMakeDetermineCompilerABI_CUDA.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df9156fec6e238024982f482f8e984cc2506298561856caa0a9294ed3199b755
|
3 |
+
size 690552
|
build/CMakeFiles/3.25.0/CMakeDetermineCompilerABI_CXX.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82c23c01496297f505ffaa759cbbfddb2400b9a5d820004ba251296b76001c5c
|
3 |
+
size 8376
|
build/CMakeFiles/3.25.0/CMakeSystem.cmake
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(CMAKE_HOST_SYSTEM "Linux-5.10.133+")
|
2 |
+
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
3 |
+
set(CMAKE_HOST_SYSTEM_VERSION "5.10.133+")
|
4 |
+
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
set(CMAKE_SYSTEM "Linux-5.10.133+")
|
9 |
+
set(CMAKE_SYSTEM_NAME "Linux")
|
10 |
+
set(CMAKE_SYSTEM_VERSION "5.10.133+")
|
11 |
+
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
12 |
+
|
13 |
+
set(CMAKE_CROSSCOMPILING "FALSE")
|
14 |
+
|
15 |
+
set(CMAKE_SYSTEM_LOADED 1)
|
build/CMakeFiles/3.25.0/CompilerIdC/CMakeCCompilerId.c
ADDED
@@ -0,0 +1,868 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#ifdef __cplusplus
|
2 |
+
# error "A C++ compiler has been selected for C."
|
3 |
+
#endif
|
4 |
+
|
5 |
+
#if defined(__18CXX)
|
6 |
+
# define ID_VOID_MAIN
|
7 |
+
#endif
|
8 |
+
#if defined(__CLASSIC_C__)
|
9 |
+
/* cv-qualifiers did not exist in K&R C */
|
10 |
+
# define const
|
11 |
+
# define volatile
|
12 |
+
#endif
|
13 |
+
|
14 |
+
#if !defined(__has_include)
|
15 |
+
/* If the compiler does not have __has_include, pretend the answer is
|
16 |
+
always no. */
|
17 |
+
# define __has_include(x) 0
|
18 |
+
#endif
|
19 |
+
|
20 |
+
|
21 |
+
/* Version number components: V=Version, R=Revision, P=Patch
|
22 |
+
Version date components: YYYY=Year, MM=Month, DD=Day */
|
23 |
+
|
24 |
+
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
25 |
+
# define COMPILER_ID "Intel"
|
26 |
+
# if defined(_MSC_VER)
|
27 |
+
# define SIMULATE_ID "MSVC"
|
28 |
+
# endif
|
29 |
+
# if defined(__GNUC__)
|
30 |
+
# define SIMULATE_ID "GNU"
|
31 |
+
# endif
|
32 |
+
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
33 |
+
except that a few beta releases use the old format with V=2021. */
|
34 |
+
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
35 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
36 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
37 |
+
# if defined(__INTEL_COMPILER_UPDATE)
|
38 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
39 |
+
# else
|
40 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
41 |
+
# endif
|
42 |
+
# else
|
43 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
44 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
45 |
+
/* The third version component from --version is an update index,
|
46 |
+
but no macro is provided for it. */
|
47 |
+
# define COMPILER_VERSION_PATCH DEC(0)
|
48 |
+
# endif
|
49 |
+
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
50 |
+
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
51 |
+
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
52 |
+
# endif
|
53 |
+
# if defined(_MSC_VER)
|
54 |
+
/* _MSC_VER = VVRR */
|
55 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
56 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
57 |
+
# endif
|
58 |
+
# if defined(__GNUC__)
|
59 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
60 |
+
# elif defined(__GNUG__)
|
61 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
62 |
+
# endif
|
63 |
+
# if defined(__GNUC_MINOR__)
|
64 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
65 |
+
# endif
|
66 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
67 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
68 |
+
# endif
|
69 |
+
|
70 |
+
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
71 |
+
# define COMPILER_ID "IntelLLVM"
|
72 |
+
#if defined(_MSC_VER)
|
73 |
+
# define SIMULATE_ID "MSVC"
|
74 |
+
#endif
|
75 |
+
#if defined(__GNUC__)
|
76 |
+
# define SIMULATE_ID "GNU"
|
77 |
+
#endif
|
78 |
+
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
79 |
+
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
80 |
+
* VVVV is no smaller than the current year when a version is released.
|
81 |
+
*/
|
82 |
+
#if __INTEL_LLVM_COMPILER < 1000000L
|
83 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
84 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
85 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
86 |
+
#else
|
87 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
88 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
89 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
90 |
+
#endif
|
91 |
+
#if defined(_MSC_VER)
|
92 |
+
/* _MSC_VER = VVRR */
|
93 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
94 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
95 |
+
#endif
|
96 |
+
#if defined(__GNUC__)
|
97 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
98 |
+
#elif defined(__GNUG__)
|
99 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
100 |
+
#endif
|
101 |
+
#if defined(__GNUC_MINOR__)
|
102 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
103 |
+
#endif
|
104 |
+
#if defined(__GNUC_PATCHLEVEL__)
|
105 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
106 |
+
#endif
|
107 |
+
|
108 |
+
#elif defined(__PATHCC__)
|
109 |
+
# define COMPILER_ID "PathScale"
|
110 |
+
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
111 |
+
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
112 |
+
# if defined(__PATHCC_PATCHLEVEL__)
|
113 |
+
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
114 |
+
# endif
|
115 |
+
|
116 |
+
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
117 |
+
# define COMPILER_ID "Embarcadero"
|
118 |
+
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
119 |
+
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
120 |
+
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
121 |
+
|
122 |
+
#elif defined(__BORLANDC__)
|
123 |
+
# define COMPILER_ID "Borland"
|
124 |
+
/* __BORLANDC__ = 0xVRR */
|
125 |
+
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
126 |
+
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
127 |
+
|
128 |
+
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
129 |
+
# define COMPILER_ID "Watcom"
|
130 |
+
/* __WATCOMC__ = VVRR */
|
131 |
+
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
132 |
+
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
133 |
+
# if (__WATCOMC__ % 10) > 0
|
134 |
+
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
135 |
+
# endif
|
136 |
+
|
137 |
+
#elif defined(__WATCOMC__)
|
138 |
+
# define COMPILER_ID "OpenWatcom"
|
139 |
+
/* __WATCOMC__ = VVRP + 1100 */
|
140 |
+
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
141 |
+
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
142 |
+
# if (__WATCOMC__ % 10) > 0
|
143 |
+
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
144 |
+
# endif
|
145 |
+
|
146 |
+
#elif defined(__SUNPRO_C)
|
147 |
+
# define COMPILER_ID "SunPro"
|
148 |
+
# if __SUNPRO_C >= 0x5100
|
149 |
+
/* __SUNPRO_C = 0xVRRP */
|
150 |
+
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
151 |
+
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
152 |
+
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
153 |
+
# else
|
154 |
+
/* __SUNPRO_CC = 0xVRP */
|
155 |
+
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
156 |
+
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
157 |
+
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
158 |
+
# endif
|
159 |
+
|
160 |
+
#elif defined(__HP_cc)
|
161 |
+
# define COMPILER_ID "HP"
|
162 |
+
/* __HP_cc = VVRRPP */
|
163 |
+
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
164 |
+
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
165 |
+
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
166 |
+
|
167 |
+
#elif defined(__DECC)
|
168 |
+
# define COMPILER_ID "Compaq"
|
169 |
+
/* __DECC_VER = VVRRTPPPP */
|
170 |
+
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
171 |
+
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
172 |
+
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
173 |
+
|
174 |
+
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
175 |
+
# define COMPILER_ID "zOS"
|
176 |
+
/* __IBMC__ = VRP */
|
177 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
178 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
179 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
180 |
+
|
181 |
+
#elif defined(__open_xl__) && defined(__clang__)
|
182 |
+
# define COMPILER_ID "IBMClang"
|
183 |
+
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
184 |
+
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
185 |
+
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
186 |
+
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
187 |
+
|
188 |
+
|
189 |
+
#elif defined(__ibmxl__) && defined(__clang__)
|
190 |
+
# define COMPILER_ID "XLClang"
|
191 |
+
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
192 |
+
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
193 |
+
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
194 |
+
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
195 |
+
|
196 |
+
|
197 |
+
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
198 |
+
# define COMPILER_ID "XL"
|
199 |
+
/* __IBMC__ = VRP */
|
200 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
201 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
202 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
203 |
+
|
204 |
+
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
205 |
+
# define COMPILER_ID "VisualAge"
|
206 |
+
/* __IBMC__ = VRP */
|
207 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
208 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
209 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
210 |
+
|
211 |
+
#elif defined(__NVCOMPILER)
|
212 |
+
# define COMPILER_ID "NVHPC"
|
213 |
+
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
214 |
+
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
215 |
+
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
216 |
+
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
217 |
+
# endif
|
218 |
+
|
219 |
+
#elif defined(__PGI)
|
220 |
+
# define COMPILER_ID "PGI"
|
221 |
+
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
222 |
+
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
223 |
+
# if defined(__PGIC_PATCHLEVEL__)
|
224 |
+
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
225 |
+
# endif
|
226 |
+
|
227 |
+
#elif defined(_CRAYC)
|
228 |
+
# define COMPILER_ID "Cray"
|
229 |
+
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
230 |
+
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
231 |
+
|
232 |
+
#elif defined(__TI_COMPILER_VERSION__)
|
233 |
+
# define COMPILER_ID "TI"
|
234 |
+
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
235 |
+
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
236 |
+
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
237 |
+
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
238 |
+
|
239 |
+
#elif defined(__CLANG_FUJITSU)
|
240 |
+
# define COMPILER_ID "FujitsuClang"
|
241 |
+
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
242 |
+
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
243 |
+
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
244 |
+
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
245 |
+
|
246 |
+
|
247 |
+
#elif defined(__FUJITSU)
|
248 |
+
# define COMPILER_ID "Fujitsu"
|
249 |
+
# if defined(__FCC_version__)
|
250 |
+
# define COMPILER_VERSION __FCC_version__
|
251 |
+
# elif defined(__FCC_major__)
|
252 |
+
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
253 |
+
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
254 |
+
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
255 |
+
# endif
|
256 |
+
# if defined(__fcc_version)
|
257 |
+
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
258 |
+
# elif defined(__FCC_VERSION)
|
259 |
+
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
260 |
+
# endif
|
261 |
+
|
262 |
+
|
263 |
+
#elif defined(__ghs__)
|
264 |
+
# define COMPILER_ID "GHS"
|
265 |
+
/* __GHS_VERSION_NUMBER = VVVVRP */
|
266 |
+
# ifdef __GHS_VERSION_NUMBER
|
267 |
+
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
268 |
+
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
269 |
+
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
270 |
+
# endif
|
271 |
+
|
272 |
+
#elif defined(__TASKING__)
|
273 |
+
# define COMPILER_ID "Tasking"
|
274 |
+
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
275 |
+
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
276 |
+
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
277 |
+
|
278 |
+
#elif defined(__TINYC__)
|
279 |
+
# define COMPILER_ID "TinyCC"
|
280 |
+
|
281 |
+
#elif defined(__BCC__)
|
282 |
+
# define COMPILER_ID "Bruce"
|
283 |
+
|
284 |
+
#elif defined(__SCO_VERSION__)
|
285 |
+
# define COMPILER_ID "SCO"
|
286 |
+
|
287 |
+
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
288 |
+
# define COMPILER_ID "ARMCC"
|
289 |
+
#if __ARMCC_VERSION >= 1000000
|
290 |
+
/* __ARMCC_VERSION = VRRPPPP */
|
291 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
292 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
293 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
294 |
+
#else
|
295 |
+
/* __ARMCC_VERSION = VRPPPP */
|
296 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
297 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
298 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
299 |
+
#endif
|
300 |
+
|
301 |
+
|
302 |
+
#elif defined(__clang__) && defined(__apple_build_version__)
|
303 |
+
# define COMPILER_ID "AppleClang"
|
304 |
+
# if defined(_MSC_VER)
|
305 |
+
# define SIMULATE_ID "MSVC"
|
306 |
+
# endif
|
307 |
+
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
308 |
+
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
309 |
+
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
310 |
+
# if defined(_MSC_VER)
|
311 |
+
/* _MSC_VER = VVRR */
|
312 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
313 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
314 |
+
# endif
|
315 |
+
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
316 |
+
|
317 |
+
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
318 |
+
# define COMPILER_ID "ARMClang"
|
319 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
320 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
321 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
|
322 |
+
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
323 |
+
|
324 |
+
#elif defined(__clang__)
|
325 |
+
# define COMPILER_ID "Clang"
|
326 |
+
# if defined(_MSC_VER)
|
327 |
+
# define SIMULATE_ID "MSVC"
|
328 |
+
# endif
|
329 |
+
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
330 |
+
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
331 |
+
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
332 |
+
# if defined(_MSC_VER)
|
333 |
+
/* _MSC_VER = VVRR */
|
334 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
335 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
336 |
+
# endif
|
337 |
+
|
338 |
+
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
339 |
+
# define COMPILER_ID "LCC"
|
340 |
+
# define COMPILER_VERSION_MAJOR DEC(1)
|
341 |
+
# if defined(__LCC__)
|
342 |
+
# define COMPILER_VERSION_MINOR DEC(__LCC__- 100)
|
343 |
+
# endif
|
344 |
+
# if defined(__LCC_MINOR__)
|
345 |
+
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
346 |
+
# endif
|
347 |
+
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
348 |
+
# define SIMULATE_ID "GNU"
|
349 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
350 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
351 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
352 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
353 |
+
# endif
|
354 |
+
# endif
|
355 |
+
|
356 |
+
#elif defined(__GNUC__)
|
357 |
+
# define COMPILER_ID "GNU"
|
358 |
+
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
359 |
+
# if defined(__GNUC_MINOR__)
|
360 |
+
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
361 |
+
# endif
|
362 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
363 |
+
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
364 |
+
# endif
|
365 |
+
|
366 |
+
#elif defined(_MSC_VER)
|
367 |
+
# define COMPILER_ID "MSVC"
|
368 |
+
/* _MSC_VER = VVRR */
|
369 |
+
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
370 |
+
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
371 |
+
# if defined(_MSC_FULL_VER)
|
372 |
+
# if _MSC_VER >= 1400
|
373 |
+
/* _MSC_FULL_VER = VVRRPPPPP */
|
374 |
+
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
375 |
+
# else
|
376 |
+
/* _MSC_FULL_VER = VVRRPPPP */
|
377 |
+
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
378 |
+
# endif
|
379 |
+
# endif
|
380 |
+
# if defined(_MSC_BUILD)
|
381 |
+
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
382 |
+
# endif
|
383 |
+
|
384 |
+
#elif defined(_ADI_COMPILER)
|
385 |
+
# define COMPILER_ID "ADSP"
|
386 |
+
#if defined(__VERSIONNUM__)
|
387 |
+
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
388 |
+
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
389 |
+
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
390 |
+
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
391 |
+
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
392 |
+
#endif
|
393 |
+
|
394 |
+
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
395 |
+
# define COMPILER_ID "IAR"
|
396 |
+
# if defined(__VER__) && defined(__ICCARM__)
|
397 |
+
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
398 |
+
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
399 |
+
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
400 |
+
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
401 |
+
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
402 |
+
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
403 |
+
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
404 |
+
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
405 |
+
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
406 |
+
# endif
|
407 |
+
|
408 |
+
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
409 |
+
# define COMPILER_ID "SDCC"
|
410 |
+
# if defined(__SDCC_VERSION_MAJOR)
|
411 |
+
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
412 |
+
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
413 |
+
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
414 |
+
# else
|
415 |
+
/* SDCC = VRP */
|
416 |
+
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
417 |
+
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
418 |
+
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
419 |
+
# endif
|
420 |
+
|
421 |
+
|
422 |
+
/* These compilers are either not known or too old to define an
|
423 |
+
identification macro. Try to identify the platform and guess that
|
424 |
+
it is the native compiler. */
|
425 |
+
#elif defined(__hpux) || defined(__hpua)
|
426 |
+
# define COMPILER_ID "HP"
|
427 |
+
|
428 |
+
#else /* unknown compiler */
|
429 |
+
# define COMPILER_ID ""
|
430 |
+
#endif
|
431 |
+
|
432 |
+
/* Construct the string literal in pieces to prevent the source from
|
433 |
+
getting matched. Store it in a pointer rather than an array
|
434 |
+
because some compilers will just produce instructions to fill the
|
435 |
+
array rather than assigning a pointer to a static array. */
|
436 |
+
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
437 |
+
#ifdef SIMULATE_ID
|
438 |
+
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
439 |
+
#endif
|
440 |
+
|
441 |
+
#ifdef __QNXNTO__
|
442 |
+
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
443 |
+
#endif
|
444 |
+
|
445 |
+
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
446 |
+
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
447 |
+
#endif
|
448 |
+
|
449 |
+
#define STRINGIFY_HELPER(X) #X
|
450 |
+
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
451 |
+
|
452 |
+
/* Identify known platforms by name. */
|
453 |
+
#if defined(__linux) || defined(__linux__) || defined(linux)
|
454 |
+
# define PLATFORM_ID "Linux"
|
455 |
+
|
456 |
+
#elif defined(__MSYS__)
|
457 |
+
# define PLATFORM_ID "MSYS"
|
458 |
+
|
459 |
+
#elif defined(__CYGWIN__)
|
460 |
+
# define PLATFORM_ID "Cygwin"
|
461 |
+
|
462 |
+
#elif defined(__MINGW32__)
|
463 |
+
# define PLATFORM_ID "MinGW"
|
464 |
+
|
465 |
+
#elif defined(__APPLE__)
|
466 |
+
# define PLATFORM_ID "Darwin"
|
467 |
+
|
468 |
+
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
469 |
+
# define PLATFORM_ID "Windows"
|
470 |
+
|
471 |
+
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
472 |
+
# define PLATFORM_ID "FreeBSD"
|
473 |
+
|
474 |
+
#elif defined(__NetBSD__) || defined(__NetBSD)
|
475 |
+
# define PLATFORM_ID "NetBSD"
|
476 |
+
|
477 |
+
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
478 |
+
# define PLATFORM_ID "OpenBSD"
|
479 |
+
|
480 |
+
#elif defined(__sun) || defined(sun)
|
481 |
+
# define PLATFORM_ID "SunOS"
|
482 |
+
|
483 |
+
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
484 |
+
# define PLATFORM_ID "AIX"
|
485 |
+
|
486 |
+
#elif defined(__hpux) || defined(__hpux__)
|
487 |
+
# define PLATFORM_ID "HP-UX"
|
488 |
+
|
489 |
+
#elif defined(__HAIKU__)
|
490 |
+
# define PLATFORM_ID "Haiku"
|
491 |
+
|
492 |
+
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
493 |
+
# define PLATFORM_ID "BeOS"
|
494 |
+
|
495 |
+
#elif defined(__QNX__) || defined(__QNXNTO__)
|
496 |
+
# define PLATFORM_ID "QNX"
|
497 |
+
|
498 |
+
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
499 |
+
# define PLATFORM_ID "Tru64"
|
500 |
+
|
501 |
+
#elif defined(__riscos) || defined(__riscos__)
|
502 |
+
# define PLATFORM_ID "RISCos"
|
503 |
+
|
504 |
+
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
505 |
+
# define PLATFORM_ID "SINIX"
|
506 |
+
|
507 |
+
#elif defined(__UNIX_SV__)
|
508 |
+
# define PLATFORM_ID "UNIX_SV"
|
509 |
+
|
510 |
+
#elif defined(__bsdos__)
|
511 |
+
# define PLATFORM_ID "BSDOS"
|
512 |
+
|
513 |
+
#elif defined(_MPRAS) || defined(MPRAS)
|
514 |
+
# define PLATFORM_ID "MP-RAS"
|
515 |
+
|
516 |
+
#elif defined(__osf) || defined(__osf__)
|
517 |
+
# define PLATFORM_ID "OSF1"
|
518 |
+
|
519 |
+
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
520 |
+
# define PLATFORM_ID "SCO_SV"
|
521 |
+
|
522 |
+
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
523 |
+
# define PLATFORM_ID "ULTRIX"
|
524 |
+
|
525 |
+
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
526 |
+
# define PLATFORM_ID "Xenix"
|
527 |
+
|
528 |
+
#elif defined(__WATCOMC__)
|
529 |
+
# if defined(__LINUX__)
|
530 |
+
# define PLATFORM_ID "Linux"
|
531 |
+
|
532 |
+
# elif defined(__DOS__)
|
533 |
+
# define PLATFORM_ID "DOS"
|
534 |
+
|
535 |
+
# elif defined(__OS2__)
|
536 |
+
# define PLATFORM_ID "OS2"
|
537 |
+
|
538 |
+
# elif defined(__WINDOWS__)
|
539 |
+
# define PLATFORM_ID "Windows3x"
|
540 |
+
|
541 |
+
# elif defined(__VXWORKS__)
|
542 |
+
# define PLATFORM_ID "VxWorks"
|
543 |
+
|
544 |
+
# else /* unknown platform */
|
545 |
+
# define PLATFORM_ID
|
546 |
+
# endif
|
547 |
+
|
548 |
+
#elif defined(__INTEGRITY)
|
549 |
+
# if defined(INT_178B)
|
550 |
+
# define PLATFORM_ID "Integrity178"
|
551 |
+
|
552 |
+
# else /* regular Integrity */
|
553 |
+
# define PLATFORM_ID "Integrity"
|
554 |
+
# endif
|
555 |
+
|
556 |
+
# elif defined(_ADI_COMPILER)
|
557 |
+
# define PLATFORM_ID "ADSP"
|
558 |
+
|
559 |
+
#else /* unknown platform */
|
560 |
+
# define PLATFORM_ID
|
561 |
+
|
562 |
+
#endif
|
563 |
+
|
564 |
+
/* For windows compilers MSVC and Intel we can determine
|
565 |
+
the architecture of the compiler being used. This is because
|
566 |
+
the compilers do not have flags that can change the architecture,
|
567 |
+
but rather depend on which compiler is being used
|
568 |
+
*/
|
569 |
+
#if defined(_WIN32) && defined(_MSC_VER)
|
570 |
+
# if defined(_M_IA64)
|
571 |
+
# define ARCHITECTURE_ID "IA64"
|
572 |
+
|
573 |
+
# elif defined(_M_ARM64EC)
|
574 |
+
# define ARCHITECTURE_ID "ARM64EC"
|
575 |
+
|
576 |
+
# elif defined(_M_X64) || defined(_M_AMD64)
|
577 |
+
# define ARCHITECTURE_ID "x64"
|
578 |
+
|
579 |
+
# elif defined(_M_IX86)
|
580 |
+
# define ARCHITECTURE_ID "X86"
|
581 |
+
|
582 |
+
# elif defined(_M_ARM64)
|
583 |
+
# define ARCHITECTURE_ID "ARM64"
|
584 |
+
|
585 |
+
# elif defined(_M_ARM)
|
586 |
+
# if _M_ARM == 4
|
587 |
+
# define ARCHITECTURE_ID "ARMV4I"
|
588 |
+
# elif _M_ARM == 5
|
589 |
+
# define ARCHITECTURE_ID "ARMV5I"
|
590 |
+
# else
|
591 |
+
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
592 |
+
# endif
|
593 |
+
|
594 |
+
# elif defined(_M_MIPS)
|
595 |
+
# define ARCHITECTURE_ID "MIPS"
|
596 |
+
|
597 |
+
# elif defined(_M_SH)
|
598 |
+
# define ARCHITECTURE_ID "SHx"
|
599 |
+
|
600 |
+
# else /* unknown architecture */
|
601 |
+
# define ARCHITECTURE_ID ""
|
602 |
+
# endif
|
603 |
+
|
604 |
+
#elif defined(__WATCOMC__)
|
605 |
+
# if defined(_M_I86)
|
606 |
+
# define ARCHITECTURE_ID "I86"
|
607 |
+
|
608 |
+
# elif defined(_M_IX86)
|
609 |
+
# define ARCHITECTURE_ID "X86"
|
610 |
+
|
611 |
+
# else /* unknown architecture */
|
612 |
+
# define ARCHITECTURE_ID ""
|
613 |
+
# endif
|
614 |
+
|
615 |
+
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
616 |
+
# if defined(__ICCARM__)
|
617 |
+
# define ARCHITECTURE_ID "ARM"
|
618 |
+
|
619 |
+
# elif defined(__ICCRX__)
|
620 |
+
# define ARCHITECTURE_ID "RX"
|
621 |
+
|
622 |
+
# elif defined(__ICCRH850__)
|
623 |
+
# define ARCHITECTURE_ID "RH850"
|
624 |
+
|
625 |
+
# elif defined(__ICCRL78__)
|
626 |
+
# define ARCHITECTURE_ID "RL78"
|
627 |
+
|
628 |
+
# elif defined(__ICCRISCV__)
|
629 |
+
# define ARCHITECTURE_ID "RISCV"
|
630 |
+
|
631 |
+
# elif defined(__ICCAVR__)
|
632 |
+
# define ARCHITECTURE_ID "AVR"
|
633 |
+
|
634 |
+
# elif defined(__ICC430__)
|
635 |
+
# define ARCHITECTURE_ID "MSP430"
|
636 |
+
|
637 |
+
# elif defined(__ICCV850__)
|
638 |
+
# define ARCHITECTURE_ID "V850"
|
639 |
+
|
640 |
+
# elif defined(__ICC8051__)
|
641 |
+
# define ARCHITECTURE_ID "8051"
|
642 |
+
|
643 |
+
# elif defined(__ICCSTM8__)
|
644 |
+
# define ARCHITECTURE_ID "STM8"
|
645 |
+
|
646 |
+
# else /* unknown architecture */
|
647 |
+
# define ARCHITECTURE_ID ""
|
648 |
+
# endif
|
649 |
+
|
650 |
+
#elif defined(__ghs__)
|
651 |
+
# if defined(__PPC64__)
|
652 |
+
# define ARCHITECTURE_ID "PPC64"
|
653 |
+
|
654 |
+
# elif defined(__ppc__)
|
655 |
+
# define ARCHITECTURE_ID "PPC"
|
656 |
+
|
657 |
+
# elif defined(__ARM__)
|
658 |
+
# define ARCHITECTURE_ID "ARM"
|
659 |
+
|
660 |
+
# elif defined(__x86_64__)
|
661 |
+
# define ARCHITECTURE_ID "x64"
|
662 |
+
|
663 |
+
# elif defined(__i386__)
|
664 |
+
# define ARCHITECTURE_ID "X86"
|
665 |
+
|
666 |
+
# else /* unknown architecture */
|
667 |
+
# define ARCHITECTURE_ID ""
|
668 |
+
# endif
|
669 |
+
|
670 |
+
#elif defined(__TI_COMPILER_VERSION__)
|
671 |
+
# if defined(__TI_ARM__)
|
672 |
+
# define ARCHITECTURE_ID "ARM"
|
673 |
+
|
674 |
+
# elif defined(__MSP430__)
|
675 |
+
# define ARCHITECTURE_ID "MSP430"
|
676 |
+
|
677 |
+
# elif defined(__TMS320C28XX__)
|
678 |
+
# define ARCHITECTURE_ID "TMS320C28x"
|
679 |
+
|
680 |
+
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
681 |
+
# define ARCHITECTURE_ID "TMS320C6x"
|
682 |
+
|
683 |
+
# else /* unknown architecture */
|
684 |
+
# define ARCHITECTURE_ID ""
|
685 |
+
# endif
|
686 |
+
|
687 |
+
# elif defined(__ADSPSHARC__)
|
688 |
+
# define ARCHITECTURE_ID "SHARC"
|
689 |
+
|
690 |
+
# elif defined(__ADSPBLACKFIN__)
|
691 |
+
# define ARCHITECTURE_ID "Blackfin"
|
692 |
+
|
693 |
+
#elif defined(__TASKING__)
|
694 |
+
|
695 |
+
# if defined(__CTC__) || defined(__CPTC__)
|
696 |
+
# define ARCHITECTURE_ID "TriCore"
|
697 |
+
|
698 |
+
# elif defined(__CMCS__)
|
699 |
+
# define ARCHITECTURE_ID "MCS"
|
700 |
+
|
701 |
+
# elif defined(__CARM__)
|
702 |
+
# define ARCHITECTURE_ID "ARM"
|
703 |
+
|
704 |
+
# elif defined(__CARC__)
|
705 |
+
# define ARCHITECTURE_ID "ARC"
|
706 |
+
|
707 |
+
# elif defined(__C51__)
|
708 |
+
# define ARCHITECTURE_ID "8051"
|
709 |
+
|
710 |
+
# elif defined(__CPCP__)
|
711 |
+
# define ARCHITECTURE_ID "PCP"
|
712 |
+
|
713 |
+
# else
|
714 |
+
# define ARCHITECTURE_ID ""
|
715 |
+
# endif
|
716 |
+
|
717 |
+
#else
|
718 |
+
# define ARCHITECTURE_ID
|
719 |
+
#endif
|
720 |
+
|
721 |
+
/* Convert integer to decimal digit literals. */
|
722 |
+
#define DEC(n) \
|
723 |
+
('0' + (((n) / 10000000)%10)), \
|
724 |
+
('0' + (((n) / 1000000)%10)), \
|
725 |
+
('0' + (((n) / 100000)%10)), \
|
726 |
+
('0' + (((n) / 10000)%10)), \
|
727 |
+
('0' + (((n) / 1000)%10)), \
|
728 |
+
('0' + (((n) / 100)%10)), \
|
729 |
+
('0' + (((n) / 10)%10)), \
|
730 |
+
('0' + ((n) % 10))
|
731 |
+
|
732 |
+
/* Convert integer to hex digit literals. */
|
733 |
+
#define HEX(n) \
|
734 |
+
('0' + ((n)>>28 & 0xF)), \
|
735 |
+
('0' + ((n)>>24 & 0xF)), \
|
736 |
+
('0' + ((n)>>20 & 0xF)), \
|
737 |
+
('0' + ((n)>>16 & 0xF)), \
|
738 |
+
('0' + ((n)>>12 & 0xF)), \
|
739 |
+
('0' + ((n)>>8 & 0xF)), \
|
740 |
+
('0' + ((n)>>4 & 0xF)), \
|
741 |
+
('0' + ((n) & 0xF))
|
742 |
+
|
743 |
+
/* Construct a string literal encoding the version number. */
|
744 |
+
#ifdef COMPILER_VERSION
|
745 |
+
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
746 |
+
|
747 |
+
/* Construct a string literal encoding the version number components. */
|
748 |
+
#elif defined(COMPILER_VERSION_MAJOR)
|
749 |
+
char const info_version[] = {
|
750 |
+
'I', 'N', 'F', 'O', ':',
|
751 |
+
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
752 |
+
COMPILER_VERSION_MAJOR,
|
753 |
+
# ifdef COMPILER_VERSION_MINOR
|
754 |
+
'.', COMPILER_VERSION_MINOR,
|
755 |
+
# ifdef COMPILER_VERSION_PATCH
|
756 |
+
'.', COMPILER_VERSION_PATCH,
|
757 |
+
# ifdef COMPILER_VERSION_TWEAK
|
758 |
+
'.', COMPILER_VERSION_TWEAK,
|
759 |
+
# endif
|
760 |
+
# endif
|
761 |
+
# endif
|
762 |
+
']','\0'};
|
763 |
+
#endif
|
764 |
+
|
765 |
+
/* Construct a string literal encoding the internal version number. */
|
766 |
+
#ifdef COMPILER_VERSION_INTERNAL
|
767 |
+
char const info_version_internal[] = {
|
768 |
+
'I', 'N', 'F', 'O', ':',
|
769 |
+
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
770 |
+
'i','n','t','e','r','n','a','l','[',
|
771 |
+
COMPILER_VERSION_INTERNAL,']','\0'};
|
772 |
+
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
773 |
+
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
774 |
+
#endif
|
775 |
+
|
776 |
+
/* Construct a string literal encoding the version number components. */
|
777 |
+
#ifdef SIMULATE_VERSION_MAJOR
|
778 |
+
char const info_simulate_version[] = {
|
779 |
+
'I', 'N', 'F', 'O', ':',
|
780 |
+
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
781 |
+
SIMULATE_VERSION_MAJOR,
|
782 |
+
# ifdef SIMULATE_VERSION_MINOR
|
783 |
+
'.', SIMULATE_VERSION_MINOR,
|
784 |
+
# ifdef SIMULATE_VERSION_PATCH
|
785 |
+
'.', SIMULATE_VERSION_PATCH,
|
786 |
+
# ifdef SIMULATE_VERSION_TWEAK
|
787 |
+
'.', SIMULATE_VERSION_TWEAK,
|
788 |
+
# endif
|
789 |
+
# endif
|
790 |
+
# endif
|
791 |
+
']','\0'};
|
792 |
+
#endif
|
793 |
+
|
794 |
+
/* Construct the string literal in pieces to prevent the source from
|
795 |
+
getting matched. Store it in a pointer rather than an array
|
796 |
+
because some compilers will just produce instructions to fill the
|
797 |
+
array rather than assigning a pointer to a static array. */
|
798 |
+
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
799 |
+
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
800 |
+
|
801 |
+
|
802 |
+
|
803 |
+
#if !defined(__STDC__) && !defined(__clang__)
|
804 |
+
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
|
805 |
+
# define C_VERSION "90"
|
806 |
+
# else
|
807 |
+
# define C_VERSION
|
808 |
+
# endif
|
809 |
+
#elif __STDC_VERSION__ > 201710L
|
810 |
+
# define C_VERSION "23"
|
811 |
+
#elif __STDC_VERSION__ >= 201710L
|
812 |
+
# define C_VERSION "17"
|
813 |
+
#elif __STDC_VERSION__ >= 201000L
|
814 |
+
# define C_VERSION "11"
|
815 |
+
#elif __STDC_VERSION__ >= 199901L
|
816 |
+
# define C_VERSION "99"
|
817 |
+
#else
|
818 |
+
# define C_VERSION "90"
|
819 |
+
#endif
|
820 |
+
const char* info_language_standard_default =
|
821 |
+
"INFO" ":" "standard_default[" C_VERSION "]";
|
822 |
+
|
823 |
+
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
824 |
+
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
825 |
+
defined(__TI_COMPILER_VERSION__)) && \
|
826 |
+
!defined(__STRICT_ANSI__)
|
827 |
+
"ON"
|
828 |
+
#else
|
829 |
+
"OFF"
|
830 |
+
#endif
|
831 |
+
"]";
|
832 |
+
|
833 |
+
/*--------------------------------------------------------------------------*/
|
834 |
+
|
835 |
+
#ifdef ID_VOID_MAIN
|
836 |
+
void main() {}
|
837 |
+
#else
|
838 |
+
# if defined(__CLASSIC_C__)
|
839 |
+
int main(argc, argv) int argc; char *argv[];
|
840 |
+
# else
|
841 |
+
int main(int argc, char* argv[])
|
842 |
+
# endif
|
843 |
+
{
|
844 |
+
int require = 0;
|
845 |
+
require += info_compiler[argc];
|
846 |
+
require += info_platform[argc];
|
847 |
+
require += info_arch[argc];
|
848 |
+
#ifdef COMPILER_VERSION_MAJOR
|
849 |
+
require += info_version[argc];
|
850 |
+
#endif
|
851 |
+
#ifdef COMPILER_VERSION_INTERNAL
|
852 |
+
require += info_version_internal[argc];
|
853 |
+
#endif
|
854 |
+
#ifdef SIMULATE_ID
|
855 |
+
require += info_simulate[argc];
|
856 |
+
#endif
|
857 |
+
#ifdef SIMULATE_VERSION_MAJOR
|
858 |
+
require += info_simulate_version[argc];
|
859 |
+
#endif
|
860 |
+
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
861 |
+
require += info_cray[argc];
|
862 |
+
#endif
|
863 |
+
require += info_language_standard_default[argc];
|
864 |
+
require += info_language_extensions_default[argc];
|
865 |
+
(void)argv;
|
866 |
+
return require;
|
867 |
+
}
|
868 |
+
#endif
|
build/CMakeFiles/3.25.0/CompilerIdC/a.out
ADDED
Binary file (8.47 kB). View file
|
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/CMakeCUDACompilerId.cu
ADDED
@@ -0,0 +1,468 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#ifndef __CUDACC__
|
2 |
+
# error "A C or C++ compiler has been selected for CUDA"
|
3 |
+
#endif
|
4 |
+
|
5 |
+
|
6 |
+
/* Version number components: V=Version, R=Revision, P=Patch
|
7 |
+
Version date components: YYYY=Year, MM=Month, DD=Day */
|
8 |
+
|
9 |
+
#if defined(__NVCC__)
|
10 |
+
# define COMPILER_ID "NVIDIA"
|
11 |
+
# if defined(_MSC_VER)
|
12 |
+
# define SIMULATE_ID "MSVC"
|
13 |
+
# elif defined(__clang__)
|
14 |
+
# define SIMULATE_ID "Clang"
|
15 |
+
# elif defined(__GNUC__)
|
16 |
+
# define SIMULATE_ID "GNU"
|
17 |
+
# endif
|
18 |
+
# if defined(__CUDACC_VER_MAJOR__)
|
19 |
+
# define COMPILER_VERSION_MAJOR DEC(__CUDACC_VER_MAJOR__)
|
20 |
+
# define COMPILER_VERSION_MINOR DEC(__CUDACC_VER_MINOR__)
|
21 |
+
# define COMPILER_VERSION_PATCH DEC(__CUDACC_VER_BUILD__)
|
22 |
+
# endif
|
23 |
+
# if defined(_MSC_VER)
|
24 |
+
/* _MSC_VER = VVRR */
|
25 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
26 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
27 |
+
# elif defined(__clang__)
|
28 |
+
# define SIMULATE_VERSION_MAJOR DEC(__clang_major__)
|
29 |
+
# define SIMULATE_VERSION_MINOR DEC(__clang_minor__)
|
30 |
+
# elif defined(__GNUC__)
|
31 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
32 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
33 |
+
# endif
|
34 |
+
|
35 |
+
#elif defined(__clang__)
|
36 |
+
# define COMPILER_ID "Clang"
|
37 |
+
# if defined(_MSC_VER)
|
38 |
+
# define SIMULATE_ID "MSVC"
|
39 |
+
# endif
|
40 |
+
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
41 |
+
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
42 |
+
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
43 |
+
# if defined(_MSC_VER)
|
44 |
+
/* _MSC_VER = VVRR */
|
45 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
46 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
47 |
+
# endif
|
48 |
+
|
49 |
+
|
50 |
+
/* These compilers are either not known or too old to define an
|
51 |
+
identification macro. Try to identify the platform and guess that
|
52 |
+
it is the native compiler. */
|
53 |
+
#elif defined(__hpux) || defined(__hpua)
|
54 |
+
# define COMPILER_ID "HP"
|
55 |
+
|
56 |
+
#else /* unknown compiler */
|
57 |
+
# define COMPILER_ID ""
|
58 |
+
#endif
|
59 |
+
|
60 |
+
/* Construct the string literal in pieces to prevent the source from
|
61 |
+
getting matched. Store it in a pointer rather than an array
|
62 |
+
because some compilers will just produce instructions to fill the
|
63 |
+
array rather than assigning a pointer to a static array. */
|
64 |
+
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
65 |
+
#ifdef SIMULATE_ID
|
66 |
+
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
67 |
+
#endif
|
68 |
+
|
69 |
+
#define STRINGIFY_HELPER(X) #X
|
70 |
+
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
71 |
+
|
72 |
+
/* Identify known platforms by name. */
|
73 |
+
#if defined(__linux) || defined(__linux__) || defined(linux)
|
74 |
+
# define PLATFORM_ID "Linux"
|
75 |
+
|
76 |
+
#elif defined(__MSYS__)
|
77 |
+
# define PLATFORM_ID "MSYS"
|
78 |
+
|
79 |
+
#elif defined(__CYGWIN__)
|
80 |
+
# define PLATFORM_ID "Cygwin"
|
81 |
+
|
82 |
+
#elif defined(__MINGW32__)
|
83 |
+
# define PLATFORM_ID "MinGW"
|
84 |
+
|
85 |
+
#elif defined(__APPLE__)
|
86 |
+
# define PLATFORM_ID "Darwin"
|
87 |
+
|
88 |
+
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
89 |
+
# define PLATFORM_ID "Windows"
|
90 |
+
|
91 |
+
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
92 |
+
# define PLATFORM_ID "FreeBSD"
|
93 |
+
|
94 |
+
#elif defined(__NetBSD__) || defined(__NetBSD)
|
95 |
+
# define PLATFORM_ID "NetBSD"
|
96 |
+
|
97 |
+
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
98 |
+
# define PLATFORM_ID "OpenBSD"
|
99 |
+
|
100 |
+
#elif defined(__sun) || defined(sun)
|
101 |
+
# define PLATFORM_ID "SunOS"
|
102 |
+
|
103 |
+
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
104 |
+
# define PLATFORM_ID "AIX"
|
105 |
+
|
106 |
+
#elif defined(__hpux) || defined(__hpux__)
|
107 |
+
# define PLATFORM_ID "HP-UX"
|
108 |
+
|
109 |
+
#elif defined(__HAIKU__)
|
110 |
+
# define PLATFORM_ID "Haiku"
|
111 |
+
|
112 |
+
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
113 |
+
# define PLATFORM_ID "BeOS"
|
114 |
+
|
115 |
+
#elif defined(__QNX__) || defined(__QNXNTO__)
|
116 |
+
# define PLATFORM_ID "QNX"
|
117 |
+
|
118 |
+
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
119 |
+
# define PLATFORM_ID "Tru64"
|
120 |
+
|
121 |
+
#elif defined(__riscos) || defined(__riscos__)
|
122 |
+
# define PLATFORM_ID "RISCos"
|
123 |
+
|
124 |
+
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
125 |
+
# define PLATFORM_ID "SINIX"
|
126 |
+
|
127 |
+
#elif defined(__UNIX_SV__)
|
128 |
+
# define PLATFORM_ID "UNIX_SV"
|
129 |
+
|
130 |
+
#elif defined(__bsdos__)
|
131 |
+
# define PLATFORM_ID "BSDOS"
|
132 |
+
|
133 |
+
#elif defined(_MPRAS) || defined(MPRAS)
|
134 |
+
# define PLATFORM_ID "MP-RAS"
|
135 |
+
|
136 |
+
#elif defined(__osf) || defined(__osf__)
|
137 |
+
# define PLATFORM_ID "OSF1"
|
138 |
+
|
139 |
+
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
140 |
+
# define PLATFORM_ID "SCO_SV"
|
141 |
+
|
142 |
+
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
143 |
+
# define PLATFORM_ID "ULTRIX"
|
144 |
+
|
145 |
+
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
146 |
+
# define PLATFORM_ID "Xenix"
|
147 |
+
|
148 |
+
#elif defined(__WATCOMC__)
|
149 |
+
# if defined(__LINUX__)
|
150 |
+
# define PLATFORM_ID "Linux"
|
151 |
+
|
152 |
+
# elif defined(__DOS__)
|
153 |
+
# define PLATFORM_ID "DOS"
|
154 |
+
|
155 |
+
# elif defined(__OS2__)
|
156 |
+
# define PLATFORM_ID "OS2"
|
157 |
+
|
158 |
+
# elif defined(__WINDOWS__)
|
159 |
+
# define PLATFORM_ID "Windows3x"
|
160 |
+
|
161 |
+
# elif defined(__VXWORKS__)
|
162 |
+
# define PLATFORM_ID "VxWorks"
|
163 |
+
|
164 |
+
# else /* unknown platform */
|
165 |
+
# define PLATFORM_ID
|
166 |
+
# endif
|
167 |
+
|
168 |
+
#elif defined(__INTEGRITY)
|
169 |
+
# if defined(INT_178B)
|
170 |
+
# define PLATFORM_ID "Integrity178"
|
171 |
+
|
172 |
+
# else /* regular Integrity */
|
173 |
+
# define PLATFORM_ID "Integrity"
|
174 |
+
# endif
|
175 |
+
|
176 |
+
# elif defined(_ADI_COMPILER)
|
177 |
+
# define PLATFORM_ID "ADSP"
|
178 |
+
|
179 |
+
#else /* unknown platform */
|
180 |
+
# define PLATFORM_ID
|
181 |
+
|
182 |
+
#endif
|
183 |
+
|
184 |
+
/* For windows compilers MSVC and Intel we can determine
|
185 |
+
the architecture of the compiler being used. This is because
|
186 |
+
the compilers do not have flags that can change the architecture,
|
187 |
+
but rather depend on which compiler is being used
|
188 |
+
*/
|
189 |
+
#if defined(_WIN32) && defined(_MSC_VER)
|
190 |
+
# if defined(_M_IA64)
|
191 |
+
# define ARCHITECTURE_ID "IA64"
|
192 |
+
|
193 |
+
# elif defined(_M_ARM64EC)
|
194 |
+
# define ARCHITECTURE_ID "ARM64EC"
|
195 |
+
|
196 |
+
# elif defined(_M_X64) || defined(_M_AMD64)
|
197 |
+
# define ARCHITECTURE_ID "x64"
|
198 |
+
|
199 |
+
# elif defined(_M_IX86)
|
200 |
+
# define ARCHITECTURE_ID "X86"
|
201 |
+
|
202 |
+
# elif defined(_M_ARM64)
|
203 |
+
# define ARCHITECTURE_ID "ARM64"
|
204 |
+
|
205 |
+
# elif defined(_M_ARM)
|
206 |
+
# if _M_ARM == 4
|
207 |
+
# define ARCHITECTURE_ID "ARMV4I"
|
208 |
+
# elif _M_ARM == 5
|
209 |
+
# define ARCHITECTURE_ID "ARMV5I"
|
210 |
+
# else
|
211 |
+
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
212 |
+
# endif
|
213 |
+
|
214 |
+
# elif defined(_M_MIPS)
|
215 |
+
# define ARCHITECTURE_ID "MIPS"
|
216 |
+
|
217 |
+
# elif defined(_M_SH)
|
218 |
+
# define ARCHITECTURE_ID "SHx"
|
219 |
+
|
220 |
+
# else /* unknown architecture */
|
221 |
+
# define ARCHITECTURE_ID ""
|
222 |
+
# endif
|
223 |
+
|
224 |
+
#elif defined(__WATCOMC__)
|
225 |
+
# if defined(_M_I86)
|
226 |
+
# define ARCHITECTURE_ID "I86"
|
227 |
+
|
228 |
+
# elif defined(_M_IX86)
|
229 |
+
# define ARCHITECTURE_ID "X86"
|
230 |
+
|
231 |
+
# else /* unknown architecture */
|
232 |
+
# define ARCHITECTURE_ID ""
|
233 |
+
# endif
|
234 |
+
|
235 |
+
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
236 |
+
# if defined(__ICCARM__)
|
237 |
+
# define ARCHITECTURE_ID "ARM"
|
238 |
+
|
239 |
+
# elif defined(__ICCRX__)
|
240 |
+
# define ARCHITECTURE_ID "RX"
|
241 |
+
|
242 |
+
# elif defined(__ICCRH850__)
|
243 |
+
# define ARCHITECTURE_ID "RH850"
|
244 |
+
|
245 |
+
# elif defined(__ICCRL78__)
|
246 |
+
# define ARCHITECTURE_ID "RL78"
|
247 |
+
|
248 |
+
# elif defined(__ICCRISCV__)
|
249 |
+
# define ARCHITECTURE_ID "RISCV"
|
250 |
+
|
251 |
+
# elif defined(__ICCAVR__)
|
252 |
+
# define ARCHITECTURE_ID "AVR"
|
253 |
+
|
254 |
+
# elif defined(__ICC430__)
|
255 |
+
# define ARCHITECTURE_ID "MSP430"
|
256 |
+
|
257 |
+
# elif defined(__ICCV850__)
|
258 |
+
# define ARCHITECTURE_ID "V850"
|
259 |
+
|
260 |
+
# elif defined(__ICC8051__)
|
261 |
+
# define ARCHITECTURE_ID "8051"
|
262 |
+
|
263 |
+
# elif defined(__ICCSTM8__)
|
264 |
+
# define ARCHITECTURE_ID "STM8"
|
265 |
+
|
266 |
+
# else /* unknown architecture */
|
267 |
+
# define ARCHITECTURE_ID ""
|
268 |
+
# endif
|
269 |
+
|
270 |
+
#elif defined(__ghs__)
|
271 |
+
# if defined(__PPC64__)
|
272 |
+
# define ARCHITECTURE_ID "PPC64"
|
273 |
+
|
274 |
+
# elif defined(__ppc__)
|
275 |
+
# define ARCHITECTURE_ID "PPC"
|
276 |
+
|
277 |
+
# elif defined(__ARM__)
|
278 |
+
# define ARCHITECTURE_ID "ARM"
|
279 |
+
|
280 |
+
# elif defined(__x86_64__)
|
281 |
+
# define ARCHITECTURE_ID "x64"
|
282 |
+
|
283 |
+
# elif defined(__i386__)
|
284 |
+
# define ARCHITECTURE_ID "X86"
|
285 |
+
|
286 |
+
# else /* unknown architecture */
|
287 |
+
# define ARCHITECTURE_ID ""
|
288 |
+
# endif
|
289 |
+
|
290 |
+
#elif defined(__TI_COMPILER_VERSION__)
|
291 |
+
# if defined(__TI_ARM__)
|
292 |
+
# define ARCHITECTURE_ID "ARM"
|
293 |
+
|
294 |
+
# elif defined(__MSP430__)
|
295 |
+
# define ARCHITECTURE_ID "MSP430"
|
296 |
+
|
297 |
+
# elif defined(__TMS320C28XX__)
|
298 |
+
# define ARCHITECTURE_ID "TMS320C28x"
|
299 |
+
|
300 |
+
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
301 |
+
# define ARCHITECTURE_ID "TMS320C6x"
|
302 |
+
|
303 |
+
# else /* unknown architecture */
|
304 |
+
# define ARCHITECTURE_ID ""
|
305 |
+
# endif
|
306 |
+
|
307 |
+
# elif defined(__ADSPSHARC__)
|
308 |
+
# define ARCHITECTURE_ID "SHARC"
|
309 |
+
|
310 |
+
# elif defined(__ADSPBLACKFIN__)
|
311 |
+
# define ARCHITECTURE_ID "Blackfin"
|
312 |
+
|
313 |
+
#elif defined(__TASKING__)
|
314 |
+
|
315 |
+
# if defined(__CTC__) || defined(__CPTC__)
|
316 |
+
# define ARCHITECTURE_ID "TriCore"
|
317 |
+
|
318 |
+
# elif defined(__CMCS__)
|
319 |
+
# define ARCHITECTURE_ID "MCS"
|
320 |
+
|
321 |
+
# elif defined(__CARM__)
|
322 |
+
# define ARCHITECTURE_ID "ARM"
|
323 |
+
|
324 |
+
# elif defined(__CARC__)
|
325 |
+
# define ARCHITECTURE_ID "ARC"
|
326 |
+
|
327 |
+
# elif defined(__C51__)
|
328 |
+
# define ARCHITECTURE_ID "8051"
|
329 |
+
|
330 |
+
# elif defined(__CPCP__)
|
331 |
+
# define ARCHITECTURE_ID "PCP"
|
332 |
+
|
333 |
+
# else
|
334 |
+
# define ARCHITECTURE_ID ""
|
335 |
+
# endif
|
336 |
+
|
337 |
+
#else
|
338 |
+
# define ARCHITECTURE_ID
|
339 |
+
#endif
|
340 |
+
|
341 |
+
/* Convert integer to decimal digit literals. */
|
342 |
+
#define DEC(n) \
|
343 |
+
('0' + (((n) / 10000000)%10)), \
|
344 |
+
('0' + (((n) / 1000000)%10)), \
|
345 |
+
('0' + (((n) / 100000)%10)), \
|
346 |
+
('0' + (((n) / 10000)%10)), \
|
347 |
+
('0' + (((n) / 1000)%10)), \
|
348 |
+
('0' + (((n) / 100)%10)), \
|
349 |
+
('0' + (((n) / 10)%10)), \
|
350 |
+
('0' + ((n) % 10))
|
351 |
+
|
352 |
+
/* Convert integer to hex digit literals. */
|
353 |
+
#define HEX(n) \
|
354 |
+
('0' + ((n)>>28 & 0xF)), \
|
355 |
+
('0' + ((n)>>24 & 0xF)), \
|
356 |
+
('0' + ((n)>>20 & 0xF)), \
|
357 |
+
('0' + ((n)>>16 & 0xF)), \
|
358 |
+
('0' + ((n)>>12 & 0xF)), \
|
359 |
+
('0' + ((n)>>8 & 0xF)), \
|
360 |
+
('0' + ((n)>>4 & 0xF)), \
|
361 |
+
('0' + ((n) & 0xF))
|
362 |
+
|
363 |
+
/* Construct a string literal encoding the version number. */
|
364 |
+
#ifdef COMPILER_VERSION
|
365 |
+
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
366 |
+
|
367 |
+
/* Construct a string literal encoding the version number components. */
|
368 |
+
#elif defined(COMPILER_VERSION_MAJOR)
|
369 |
+
char const info_version[] = {
|
370 |
+
'I', 'N', 'F', 'O', ':',
|
371 |
+
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
372 |
+
COMPILER_VERSION_MAJOR,
|
373 |
+
# ifdef COMPILER_VERSION_MINOR
|
374 |
+
'.', COMPILER_VERSION_MINOR,
|
375 |
+
# ifdef COMPILER_VERSION_PATCH
|
376 |
+
'.', COMPILER_VERSION_PATCH,
|
377 |
+
# ifdef COMPILER_VERSION_TWEAK
|
378 |
+
'.', COMPILER_VERSION_TWEAK,
|
379 |
+
# endif
|
380 |
+
# endif
|
381 |
+
# endif
|
382 |
+
']','\0'};
|
383 |
+
#endif
|
384 |
+
|
385 |
+
/* Construct a string literal encoding the internal version number. */
|
386 |
+
#ifdef COMPILER_VERSION_INTERNAL
|
387 |
+
char const info_version_internal[] = {
|
388 |
+
'I', 'N', 'F', 'O', ':',
|
389 |
+
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
390 |
+
'i','n','t','e','r','n','a','l','[',
|
391 |
+
COMPILER_VERSION_INTERNAL,']','\0'};
|
392 |
+
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
393 |
+
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
394 |
+
#endif
|
395 |
+
|
396 |
+
/* Construct a string literal encoding the version number components. */
|
397 |
+
#ifdef SIMULATE_VERSION_MAJOR
|
398 |
+
char const info_simulate_version[] = {
|
399 |
+
'I', 'N', 'F', 'O', ':',
|
400 |
+
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
401 |
+
SIMULATE_VERSION_MAJOR,
|
402 |
+
# ifdef SIMULATE_VERSION_MINOR
|
403 |
+
'.', SIMULATE_VERSION_MINOR,
|
404 |
+
# ifdef SIMULATE_VERSION_PATCH
|
405 |
+
'.', SIMULATE_VERSION_PATCH,
|
406 |
+
# ifdef SIMULATE_VERSION_TWEAK
|
407 |
+
'.', SIMULATE_VERSION_TWEAK,
|
408 |
+
# endif
|
409 |
+
# endif
|
410 |
+
# endif
|
411 |
+
']','\0'};
|
412 |
+
#endif
|
413 |
+
|
414 |
+
/* Construct the string literal in pieces to prevent the source from
|
415 |
+
getting matched. Store it in a pointer rather than an array
|
416 |
+
because some compilers will just produce instructions to fill the
|
417 |
+
array rather than assigning a pointer to a static array. */
|
418 |
+
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
419 |
+
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
420 |
+
|
421 |
+
|
422 |
+
|
423 |
+
const char* info_language_standard_default = "INFO" ":" "standard_default["
|
424 |
+
#if __cplusplus > 202002L
|
425 |
+
"23"
|
426 |
+
#elif __cplusplus > 201703L
|
427 |
+
"20"
|
428 |
+
#elif __cplusplus >= 201703L
|
429 |
+
"17"
|
430 |
+
#elif __cplusplus >= 201402L
|
431 |
+
"14"
|
432 |
+
#elif __cplusplus >= 201103L
|
433 |
+
"11"
|
434 |
+
#else
|
435 |
+
"03"
|
436 |
+
#endif
|
437 |
+
"]";
|
438 |
+
|
439 |
+
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
440 |
+
#if (defined(__clang__) || defined(__GNUC__)) && \
|
441 |
+
!defined(__STRICT_ANSI__)
|
442 |
+
"ON"
|
443 |
+
#else
|
444 |
+
"OFF"
|
445 |
+
#endif
|
446 |
+
"]";
|
447 |
+
|
448 |
+
/*--------------------------------------------------------------------------*/
|
449 |
+
|
450 |
+
int main(int argc, char* argv[])
|
451 |
+
{
|
452 |
+
int require = 0;
|
453 |
+
require += info_compiler[argc];
|
454 |
+
require += info_platform[argc];
|
455 |
+
#ifdef COMPILER_VERSION_MAJOR
|
456 |
+
require += info_version[argc];
|
457 |
+
#endif
|
458 |
+
#ifdef SIMULATE_ID
|
459 |
+
require += info_simulate[argc];
|
460 |
+
#endif
|
461 |
+
#ifdef SIMULATE_VERSION_MAJOR
|
462 |
+
require += info_simulate_version[argc];
|
463 |
+
#endif
|
464 |
+
require += info_language_standard_default[argc];
|
465 |
+
require += info_language_extensions_default[argc];
|
466 |
+
(void)argv;
|
467 |
+
return require;
|
468 |
+
}
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/a.out
ADDED
Binary file (691 kB). View file
|
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cpp1.ii
ADDED
The diff for this file is too large to render.
See raw diff
|
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cpp4.ii
ADDED
The diff for this file is too large to render.
See raw diff
|
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cudafe1.c
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# 1 "CMakeCUDACompilerId.cu"
|
2 |
+
# 64 "CMakeCUDACompilerId.cu"
|
3 |
+
extern const char *info_compiler;
|
4 |
+
|
5 |
+
extern const char *info_simulate;
|
6 |
+
# 369 "CMakeCUDACompilerId.cu"
|
7 |
+
static const char info_version[50];
|
8 |
+
# 398 "CMakeCUDACompilerId.cu"
|
9 |
+
static const char info_simulate_version[41];
|
10 |
+
# 418 "CMakeCUDACompilerId.cu"
|
11 |
+
extern const char *info_platform;
|
12 |
+
extern const char *info_arch;
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
extern const char *info_language_standard_default;
|
17 |
+
# 439 "CMakeCUDACompilerId.cu"
|
18 |
+
extern const char *info_language_extensions_default;
|
19 |
+
# 64 "CMakeCUDACompilerId.cu"
|
20 |
+
const char *info_compiler = ((const char *)"INFO:compiler[NVIDIA]");
|
21 |
+
|
22 |
+
const char *info_simulate = ((const char *)"INFO:simulate[GNU]");
|
23 |
+
# 369 "CMakeCUDACompilerId.cu"
|
24 |
+
static const char info_version[50] = {((char)73),((char)78),((char)70),((char)79),((char)58),((char)99),((char)111),((char)109),((char)112),((char)105),((char)108),((char)101),((char)114),((char)95),((char)118),((char)101),((char)114),((char)115),((char)105),((char)111),((char)110),((char)91),((char)48),((char)48),((char)48),((char)48),((char)48),((char)48),((char)49),((char)49),((char)46),((char)48),((char)48),((char)48),((char)48),((char)48),((char)48),((char)48),((char)50),((char)46),((char)48),((char)48),((char)48),((char)48),((char)48),((char)49),((char)53),((char)50),((char)93),((char)0)};
|
25 |
+
# 398 "CMakeCUDACompilerId.cu"
|
26 |
+
static const char info_simulate_version[41] = {((char)73),((char)78),((char)70),((char)79),((char)58),((char)115),((char)105),((char)109),((char)117),((char)108),((char)97),((char)116),((char)101),((char)95),((char)118),((char)101),((char)114),((char)115),((char)105),((char)111),((char)110),((char)91),((char)48),((char)48),((char)48),((char)48),((char)48),((char)48),((char)48),((char)55),((char)46),((char)48),((char)48),((char)48),((char)48),((char)48),((char)48),((char)48),((char)53),((char)93),((char)0)};
|
27 |
+
# 418 "CMakeCUDACompilerId.cu"
|
28 |
+
const char *info_platform = ((const char *)"INFO:platform[Linux]");
|
29 |
+
const char *info_arch = ((const char *)"INFO:arch[]");
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
const char *info_language_standard_default = ((const char *)"INFO:standard_default[14]");
|
34 |
+
# 439 "CMakeCUDACompilerId.cu"
|
35 |
+
const char *info_language_extensions_default = ((const char *)"INFO:extensions_default[ON]");
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cudafe1.cpp
ADDED
The diff for this file is too large to render.
See raw diff
|
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cudafe1.gpu
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
typedef char __nv_bool;
|
2 |
+
# 216 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h" 3
|
3 |
+
typedef unsigned long size_t;
|
4 |
+
#include "crt/device_runtime.h"
|
5 |
+
# 231 "/usr/include/x86_64-linux-gnu/c++/7/bits/c++config.h" 3
|
6 |
+
typedef unsigned long _ZSt6size_t;
|
7 |
+
# 75 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
8 |
+
___device__(static __no_sc__) enum cudaError cudaMalloc(void **, size_t);
|
9 |
+
# 80 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
10 |
+
___device__(static __no_sc__) enum cudaError cudaFuncGetAttributes(struct cudaFuncAttributes *, const void *);
|
11 |
+
# 85 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
12 |
+
___device__(static __no_sc__) enum cudaError cudaDeviceGetAttribute(int *, enum cudaDeviceAttr, int);
|
13 |
+
# 90 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
14 |
+
___device__(static __no_sc__) enum cudaError cudaGetDevice(int *);
|
15 |
+
# 95 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
16 |
+
___device__(static __no_sc__) enum cudaError cudaOccupancyMaxActiveBlocksPerMultiprocessor(int *, const void *, int, size_t);
|
17 |
+
# 100 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
18 |
+
___device__(static __no_sc__) enum cudaError cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(int *, const void *, int, size_t, unsigned);
|
19 |
+
#include "common_functions.h"
|
20 |
+
# 75 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
21 |
+
___device__(static __no_sc__) enum cudaError cudaMalloc(
|
22 |
+
# 75 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
23 |
+
void **p,
|
24 |
+
# 75 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
25 |
+
size_t s){
|
26 |
+
# 76 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
27 |
+
{
|
28 |
+
# 77 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
29 |
+
return cudaErrorUnknown;
|
30 |
+
# 78 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
31 |
+
}}
|
32 |
+
# 80 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
33 |
+
___device__(static __no_sc__) enum cudaError cudaFuncGetAttributes(
|
34 |
+
# 80 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
35 |
+
struct cudaFuncAttributes *p,
|
36 |
+
# 80 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
37 |
+
const void *c){
|
38 |
+
# 81 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
39 |
+
{
|
40 |
+
# 82 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
41 |
+
return cudaErrorUnknown;
|
42 |
+
# 83 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
43 |
+
}}
|
44 |
+
# 85 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
45 |
+
___device__(static __no_sc__) enum cudaError cudaDeviceGetAttribute(
|
46 |
+
# 85 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
47 |
+
int *value,
|
48 |
+
# 85 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
49 |
+
enum cudaDeviceAttr attr,
|
50 |
+
# 85 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
51 |
+
int device){
|
52 |
+
# 86 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
53 |
+
{
|
54 |
+
# 87 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
55 |
+
return cudaErrorUnknown;
|
56 |
+
# 88 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
57 |
+
}}
|
58 |
+
# 90 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
59 |
+
___device__(static __no_sc__) enum cudaError cudaGetDevice(
|
60 |
+
# 90 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
61 |
+
int *device){
|
62 |
+
# 91 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
63 |
+
{
|
64 |
+
# 92 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
65 |
+
return cudaErrorUnknown;
|
66 |
+
# 93 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
67 |
+
}}
|
68 |
+
# 95 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
69 |
+
___device__(static __no_sc__) enum cudaError cudaOccupancyMaxActiveBlocksPerMultiprocessor(
|
70 |
+
# 95 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
71 |
+
int *numBlocks,
|
72 |
+
# 95 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
73 |
+
const void *func,
|
74 |
+
# 95 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
75 |
+
int blockSize,
|
76 |
+
# 95 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
77 |
+
size_t dynamicSmemSize){
|
78 |
+
# 96 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
79 |
+
{
|
80 |
+
# 97 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
81 |
+
return cudaErrorUnknown;
|
82 |
+
# 98 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
83 |
+
}}
|
84 |
+
# 100 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
85 |
+
___device__(static __no_sc__) enum cudaError cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(
|
86 |
+
# 100 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
87 |
+
int *numBlocks,
|
88 |
+
# 100 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
89 |
+
const void *func,
|
90 |
+
# 100 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
91 |
+
int blockSize,
|
92 |
+
# 100 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
93 |
+
size_t dynamicSmemSize,
|
94 |
+
# 100 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
95 |
+
unsigned flags){
|
96 |
+
# 101 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
97 |
+
{
|
98 |
+
# 102 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
99 |
+
return cudaErrorUnknown;
|
100 |
+
# 103 "/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda_device_runtime_api.h"
|
101 |
+
}}
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.cudafe1.stub.c
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#pragma GCC diagnostic push
|
2 |
+
#pragma GCC diagnostic ignored "-Wunused-function"
|
3 |
+
#pragma GCC diagnostic ignored "-Wcast-qual"
|
4 |
+
#define __NV_CUBIN_HANDLE_STORAGE__ static
|
5 |
+
#if !defined(__CUDA_INCLUDE_COMPILER_INTERNAL_HEADERS__)
|
6 |
+
#define __CUDA_INCLUDE_COMPILER_INTERNAL_HEADERS__
|
7 |
+
#endif
|
8 |
+
#include "crt/host_runtime.h"
|
9 |
+
#include "CMakeCUDACompilerId.fatbin.c"
|
10 |
+
static void __nv_cudaEntityRegisterCallback(void **);
|
11 |
+
static void __sti____cudaRegisterAll(void) __attribute__((__constructor__));
|
12 |
+
static void __nv_cudaEntityRegisterCallback(void **__T0){__nv_dummy_param_ref(__T0);__nv_save_fatbinhandle_for_managed_rt(__T0);}
|
13 |
+
static void __sti____cudaRegisterAll(void){__cudaRegisterBinary(__nv_cudaEntityRegisterCallback);}
|
14 |
+
|
15 |
+
#pragma GCC diagnostic pop
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.fatbin
ADDED
Binary file (1.15 kB). View file
|
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.fatbin.c
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#ifndef __SKIP_INTERNAL_FATBINARY_HEADERS
|
2 |
+
#include "fatbinary_section.h"
|
3 |
+
#endif
|
4 |
+
#define __CUDAFATBINSECTION ".nvFatBinSegment"
|
5 |
+
#define __CUDAFATBINDATASECTION ".nv_fatbin"
|
6 |
+
asm(
|
7 |
+
".section .nv_fatbin, \"a\"\n"
|
8 |
+
".align 8\n"
|
9 |
+
"fatbinData:\n"
|
10 |
+
".quad 0x00100001ba55ed50,0x0000000000000470,0x0000004001010002,0x00000000000003b0\n"
|
11 |
+
".quad 0x0000000000000000,0x0000003400010007,0x0000000000000000,0x0000000000000011\n"
|
12 |
+
".quad 0x0000000000000000,0x0000000000000000,0x33010102464c457f,0x0000000000000007\n"
|
13 |
+
".quad 0x0000007000be0002,0x0000000000000000,0x0000000000000308,0x00000000000001c8\n"
|
14 |
+
".quad 0x0038004000340534,0x0001000500400003,0x7472747368732e00,0x747274732e006261\n"
|
15 |
+
".quad 0x746d79732e006261,0x746d79732e006261,0x78646e68735f6261,0x666e692e766e2e00\n"
|
16 |
+
".quad 0x65722e766e2e006f,0x6e6f697463612e6c,0x72747368732e0000,0x7274732e00626174\n"
|
17 |
+
".quad 0x6d79732e00626174,0x6d79732e00626174,0x646e68735f626174,0x6e692e766e2e0078\n"
|
18 |
+
".quad 0x722e766e2e006f66,0x6f697463612e6c65,0x000000000000006e,0x0000000000000000\n"
|
19 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0004000300000032,0x0000000000000000\n"
|
20 |
+
".quad 0x0000000000000000,0x000000000000004b,0x222f0a1008020200,0x0000000008000000\n"
|
21 |
+
".quad 0x0000000008080000,0x0000000008100000,0x0000000008180000,0x0000000008200000\n"
|
22 |
+
".quad 0x0000000008280000,0x0000000008300000,0x0000000008380000,0x0000000008000001\n"
|
23 |
+
".quad 0x0000000008080001,0x0000000008100001,0x0000000008180001,0x0000000008200001\n"
|
24 |
+
".quad 0x0000000008280001,0x0000000008300001,0x0000000008380001,0x0000000008000002\n"
|
25 |
+
".quad 0x0000000008080002,0x0000000008100002,0x0000000008180002,0x0000000008200002\n"
|
26 |
+
".quad 0x0000000008280002,0x0000000008300002,0x0000000008380002,0x0000000000000000\n"
|
27 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000000,0x0000000000000000\n"
|
28 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000000,0x0000000300000001\n"
|
29 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000040,0x0000000000000041\n"
|
30 |
+
".quad 0x0000000000000000,0x0000000000000001,0x0000000000000000,0x000000030000000b\n"
|
31 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000081,0x0000000000000041\n"
|
32 |
+
".quad 0x0000000000000000,0x0000000000000001,0x0000000000000000,0x0000000200000013\n"
|
33 |
+
".quad 0x0000000000000000,0x0000000000000000,0x00000000000000c8,0x0000000000000030\n"
|
34 |
+
".quad 0x0000000100000002,0x0000000000000008,0x0000000000000018,0x7000000b00000032\n"
|
35 |
+
".quad 0x0000000000000000,0x0000000000000000,0x00000000000000f8,0x00000000000000d0\n"
|
36 |
+
".quad 0x0000000000000000,0x0000000000000008,0x0000000000000008,0x0000000500000006\n"
|
37 |
+
".quad 0x0000000000000308,0x0000000000000000,0x0000000000000000,0x00000000000000a8\n"
|
38 |
+
".quad 0x00000000000000a8,0x0000000000000008,0x0000000500000001,0x0000000000000000\n"
|
39 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000000,0x0000000000000000\n"
|
40 |
+
".quad 0x0000000000000008,0x0000000600000001,0x0000000000000000,0x0000000000000000\n"
|
41 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000000,0x0000000000000008\n"
|
42 |
+
".quad 0x0000004801010001,0x0000000000000038,0x0000004000000036,0x0000003400070002\n"
|
43 |
+
".quad 0x0000000000000000,0x0000000000002011,0x0000000000000000,0x0000000000000038\n"
|
44 |
+
".quad 0x0000000000000000,0x762e21f000010a13,0x37206e6f69737265,0x677261742e0a322e\n"
|
45 |
+
".quad 0x32355f6d73207465,0x7365726464612e0a,0x3620657a69735f73,0x0000000a0a0a0a34\n"
|
46 |
+
".text\n");
|
47 |
+
#ifdef __cplusplus
|
48 |
+
extern "C" {
|
49 |
+
#endif
|
50 |
+
extern const unsigned long long fatbinData[144];
|
51 |
+
#ifdef __cplusplus
|
52 |
+
}
|
53 |
+
#endif
|
54 |
+
#ifdef __cplusplus
|
55 |
+
extern "C" {
|
56 |
+
#endif
|
57 |
+
static const __fatBinC_Wrapper_t __fatDeviceText __attribute__ ((aligned (8))) __attribute__ ((section (__CUDAFATBINSECTION)))=
|
58 |
+
{ 0x466243b1, 1, fatbinData, 0 };
|
59 |
+
#ifdef __cplusplus
|
60 |
+
}
|
61 |
+
#endif
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.module_id
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
_27_CMakeCUDACompilerId_cpp1_ii_bd57c623
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.o
ADDED
Binary file (6.48 kB). View file
|
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.ptx
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
//
|
2 |
+
// Generated by NVIDIA NVVM Compiler
|
3 |
+
//
|
4 |
+
// Compiler Build ID: CL-29618528
|
5 |
+
// Cuda compilation tools, release 11.2, V11.2.152
|
6 |
+
// Based on NVVM 7.0.1
|
7 |
+
//
|
8 |
+
|
9 |
+
.version 7.2
|
10 |
+
.target sm_52
|
11 |
+
.address_size 64
|
12 |
+
|
13 |
+
|
14 |
+
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/CMakeCUDACompilerId.sm_52.cubin
ADDED
Binary file (944 Bytes). View file
|
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/a_dlink.fatbin
ADDED
Binary file (1.02 kB). View file
|
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/a_dlink.fatbin.c
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#ifndef __SKIP_INTERNAL_FATBINARY_HEADERS
|
2 |
+
#include "fatbinary_section.h"
|
3 |
+
#endif
|
4 |
+
#define __CUDAFATBINSECTION ".nvFatBinSegment"
|
5 |
+
#define __CUDAFATBINDATASECTION ".nv_fatbin"
|
6 |
+
asm(
|
7 |
+
".section .nv_fatbin, \"a\"\n"
|
8 |
+
".align 8\n"
|
9 |
+
"fatbinData:\n"
|
10 |
+
".quad 0x00100001ba55ed50,0x00000000000003f0,0x0000004001010002,0x00000000000003b0\n"
|
11 |
+
".quad 0x0000000000000000,0x0000003400010007,0x0000000000000000,0x0000000000000011\n"
|
12 |
+
".quad 0x0000000000000000,0x0000000000000000,0x33010102464c457f,0x0000000000000007\n"
|
13 |
+
".quad 0x0000007000be0002,0x0000000000000000,0x0000000000000308,0x00000000000001c8\n"
|
14 |
+
".quad 0x0038004000340534,0x0001000500400003,0x7472747368732e00,0x747274732e006261\n"
|
15 |
+
".quad 0x746d79732e006261,0x746d79732e006261,0x78646e68735f6261,0x666e692e766e2e00\n"
|
16 |
+
".quad 0x65722e766e2e006f,0x6e6f697463612e6c,0x72747368732e0000,0x7274732e00626174\n"
|
17 |
+
".quad 0x6d79732e00626174,0x6d79732e00626174,0x646e68735f626174,0x6e692e766e2e0078\n"
|
18 |
+
".quad 0x722e766e2e006f66,0x6f697463612e6c65,0x000000000000006e,0x0000000000000000\n"
|
19 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0004000300000032,0x0000000000000000\n"
|
20 |
+
".quad 0x0000000000000000,0x000000000000004b,0x222f0a1008020200,0x0000000008000000\n"
|
21 |
+
".quad 0x0000000008080000,0x0000000008100000,0x0000000008180000,0x0000000008200000\n"
|
22 |
+
".quad 0x0000000008280000,0x0000000008300000,0x0000000008380000,0x0000000008000001\n"
|
23 |
+
".quad 0x0000000008080001,0x0000000008100001,0x0000000008180001,0x0000000008200001\n"
|
24 |
+
".quad 0x0000000008280001,0x0000000008300001,0x0000000008380001,0x0000000008000002\n"
|
25 |
+
".quad 0x0000000008080002,0x0000000008100002,0x0000000008180002,0x0000000008200002\n"
|
26 |
+
".quad 0x0000000008280002,0x0000000008300002,0x0000000008380002,0x0000000000000000\n"
|
27 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000000,0x0000000000000000\n"
|
28 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000000,0x0000000300000001\n"
|
29 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000040,0x0000000000000041\n"
|
30 |
+
".quad 0x0000000000000000,0x0000000000000001,0x0000000000000000,0x000000030000000b\n"
|
31 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000081,0x0000000000000041\n"
|
32 |
+
".quad 0x0000000000000000,0x0000000000000001,0x0000000000000000,0x0000000200000013\n"
|
33 |
+
".quad 0x0000000000000000,0x0000000000000000,0x00000000000000c8,0x0000000000000030\n"
|
34 |
+
".quad 0x0000000100000002,0x0000000000000008,0x0000000000000018,0x7000000b00000032\n"
|
35 |
+
".quad 0x0000000000000000,0x0000000000000000,0x00000000000000f8,0x00000000000000d0\n"
|
36 |
+
".quad 0x0000000000000000,0x0000000000000008,0x0000000000000008,0x0000000500000006\n"
|
37 |
+
".quad 0x0000000000000308,0x0000000000000000,0x0000000000000000,0x00000000000000a8\n"
|
38 |
+
".quad 0x00000000000000a8,0x0000000000000008,0x0000000500000001,0x0000000000000000\n"
|
39 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000000,0x0000000000000000\n"
|
40 |
+
".quad 0x0000000000000008,0x0000000600000001,0x0000000000000000,0x0000000000000000\n"
|
41 |
+
".quad 0x0000000000000000,0x0000000000000000,0x0000000000000000,0x0000000000000008\n"
|
42 |
+
".text\n");
|
43 |
+
#ifdef __cplusplus
|
44 |
+
extern "C" {
|
45 |
+
#endif
|
46 |
+
extern const unsigned long long fatbinData[128];
|
47 |
+
#ifdef __cplusplus
|
48 |
+
}
|
49 |
+
#endif
|
50 |
+
#ifdef __cplusplus
|
51 |
+
extern "C" {
|
52 |
+
#endif
|
53 |
+
static const __fatBinC_Wrapper_t __fatDeviceText __attribute__ ((aligned (8))) __attribute__ ((section (__CUDAFATBINSECTION)))=
|
54 |
+
{ 0x466243b1, 2, fatbinData, (void**)__cudaPrelinkedFatbins };
|
55 |
+
#ifdef __cplusplus
|
56 |
+
}
|
57 |
+
#endif
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/a_dlink.o
ADDED
Binary file (3.03 kB). View file
|
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/a_dlink.reg.c
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
#define NUM_PRELINKED_OBJECTS 0
|
build/CMakeFiles/3.25.0/CompilerIdCUDA/tmp/a_dlink.sm_52.cubin
ADDED
Binary file (944 Bytes). View file
|
|
build/CMakeFiles/3.25.0/CompilerIdCXX/CMakeCXXCompilerId.cpp
ADDED
@@ -0,0 +1,857 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* This source file must have a .cpp extension so that all C++ compilers
|
2 |
+
recognize the extension without flags. Borland does not know .cxx for
|
3 |
+
example. */
|
4 |
+
#ifndef __cplusplus
|
5 |
+
# error "A C compiler has been selected for C++."
|
6 |
+
#endif
|
7 |
+
|
8 |
+
#if !defined(__has_include)
|
9 |
+
/* If the compiler does not have __has_include, pretend the answer is
|
10 |
+
always no. */
|
11 |
+
# define __has_include(x) 0
|
12 |
+
#endif
|
13 |
+
|
14 |
+
|
15 |
+
/* Version number components: V=Version, R=Revision, P=Patch
|
16 |
+
Version date components: YYYY=Year, MM=Month, DD=Day */
|
17 |
+
|
18 |
+
#if defined(__COMO__)
|
19 |
+
# define COMPILER_ID "Comeau"
|
20 |
+
/* __COMO_VERSION__ = VRR */
|
21 |
+
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
|
22 |
+
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
|
23 |
+
|
24 |
+
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
25 |
+
# define COMPILER_ID "Intel"
|
26 |
+
# if defined(_MSC_VER)
|
27 |
+
# define SIMULATE_ID "MSVC"
|
28 |
+
# endif
|
29 |
+
# if defined(__GNUC__)
|
30 |
+
# define SIMULATE_ID "GNU"
|
31 |
+
# endif
|
32 |
+
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
33 |
+
except that a few beta releases use the old format with V=2021. */
|
34 |
+
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
35 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
36 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
37 |
+
# if defined(__INTEL_COMPILER_UPDATE)
|
38 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
39 |
+
# else
|
40 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
41 |
+
# endif
|
42 |
+
# else
|
43 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
44 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
45 |
+
/* The third version component from --version is an update index,
|
46 |
+
but no macro is provided for it. */
|
47 |
+
# define COMPILER_VERSION_PATCH DEC(0)
|
48 |
+
# endif
|
49 |
+
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
50 |
+
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
51 |
+
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
52 |
+
# endif
|
53 |
+
# if defined(_MSC_VER)
|
54 |
+
/* _MSC_VER = VVRR */
|
55 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
56 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
57 |
+
# endif
|
58 |
+
# if defined(__GNUC__)
|
59 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
60 |
+
# elif defined(__GNUG__)
|
61 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
62 |
+
# endif
|
63 |
+
# if defined(__GNUC_MINOR__)
|
64 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
65 |
+
# endif
|
66 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
67 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
68 |
+
# endif
|
69 |
+
|
70 |
+
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
71 |
+
# define COMPILER_ID "IntelLLVM"
|
72 |
+
#if defined(_MSC_VER)
|
73 |
+
# define SIMULATE_ID "MSVC"
|
74 |
+
#endif
|
75 |
+
#if defined(__GNUC__)
|
76 |
+
# define SIMULATE_ID "GNU"
|
77 |
+
#endif
|
78 |
+
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
79 |
+
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
80 |
+
* VVVV is no smaller than the current year when a version is released.
|
81 |
+
*/
|
82 |
+
#if __INTEL_LLVM_COMPILER < 1000000L
|
83 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
84 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
85 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
86 |
+
#else
|
87 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
88 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
89 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
90 |
+
#endif
|
91 |
+
#if defined(_MSC_VER)
|
92 |
+
/* _MSC_VER = VVRR */
|
93 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
94 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
95 |
+
#endif
|
96 |
+
#if defined(__GNUC__)
|
97 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
98 |
+
#elif defined(__GNUG__)
|
99 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
100 |
+
#endif
|
101 |
+
#if defined(__GNUC_MINOR__)
|
102 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
103 |
+
#endif
|
104 |
+
#if defined(__GNUC_PATCHLEVEL__)
|
105 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
106 |
+
#endif
|
107 |
+
|
108 |
+
#elif defined(__PATHCC__)
|
109 |
+
# define COMPILER_ID "PathScale"
|
110 |
+
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
111 |
+
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
112 |
+
# if defined(__PATHCC_PATCHLEVEL__)
|
113 |
+
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
114 |
+
# endif
|
115 |
+
|
116 |
+
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
117 |
+
# define COMPILER_ID "Embarcadero"
|
118 |
+
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
119 |
+
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
120 |
+
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
121 |
+
|
122 |
+
#elif defined(__BORLANDC__)
|
123 |
+
# define COMPILER_ID "Borland"
|
124 |
+
/* __BORLANDC__ = 0xVRR */
|
125 |
+
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
126 |
+
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
127 |
+
|
128 |
+
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
129 |
+
# define COMPILER_ID "Watcom"
|
130 |
+
/* __WATCOMC__ = VVRR */
|
131 |
+
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
132 |
+
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
133 |
+
# if (__WATCOMC__ % 10) > 0
|
134 |
+
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
135 |
+
# endif
|
136 |
+
|
137 |
+
#elif defined(__WATCOMC__)
|
138 |
+
# define COMPILER_ID "OpenWatcom"
|
139 |
+
/* __WATCOMC__ = VVRP + 1100 */
|
140 |
+
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
141 |
+
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
142 |
+
# if (__WATCOMC__ % 10) > 0
|
143 |
+
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
144 |
+
# endif
|
145 |
+
|
146 |
+
#elif defined(__SUNPRO_CC)
|
147 |
+
# define COMPILER_ID "SunPro"
|
148 |
+
# if __SUNPRO_CC >= 0x5100
|
149 |
+
/* __SUNPRO_CC = 0xVRRP */
|
150 |
+
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
151 |
+
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
152 |
+
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
153 |
+
# else
|
154 |
+
/* __SUNPRO_CC = 0xVRP */
|
155 |
+
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
156 |
+
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
157 |
+
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
158 |
+
# endif
|
159 |
+
|
160 |
+
#elif defined(__HP_aCC)
|
161 |
+
# define COMPILER_ID "HP"
|
162 |
+
/* __HP_aCC = VVRRPP */
|
163 |
+
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
164 |
+
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
165 |
+
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
166 |
+
|
167 |
+
#elif defined(__DECCXX)
|
168 |
+
# define COMPILER_ID "Compaq"
|
169 |
+
/* __DECCXX_VER = VVRRTPPPP */
|
170 |
+
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
|
171 |
+
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
|
172 |
+
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
|
173 |
+
|
174 |
+
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
|
175 |
+
# define COMPILER_ID "zOS"
|
176 |
+
/* __IBMCPP__ = VRP */
|
177 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
178 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
179 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
180 |
+
|
181 |
+
#elif defined(__open_xl__) && defined(__clang__)
|
182 |
+
# define COMPILER_ID "IBMClang"
|
183 |
+
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
184 |
+
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
185 |
+
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
186 |
+
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
187 |
+
|
188 |
+
|
189 |
+
#elif defined(__ibmxl__) && defined(__clang__)
|
190 |
+
# define COMPILER_ID "XLClang"
|
191 |
+
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
192 |
+
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
193 |
+
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
194 |
+
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
195 |
+
|
196 |
+
|
197 |
+
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
|
198 |
+
# define COMPILER_ID "XL"
|
199 |
+
/* __IBMCPP__ = VRP */
|
200 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
201 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
202 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
203 |
+
|
204 |
+
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
|
205 |
+
# define COMPILER_ID "VisualAge"
|
206 |
+
/* __IBMCPP__ = VRP */
|
207 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
208 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
209 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
210 |
+
|
211 |
+
#elif defined(__NVCOMPILER)
|
212 |
+
# define COMPILER_ID "NVHPC"
|
213 |
+
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
214 |
+
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
215 |
+
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
216 |
+
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
217 |
+
# endif
|
218 |
+
|
219 |
+
#elif defined(__PGI)
|
220 |
+
# define COMPILER_ID "PGI"
|
221 |
+
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
222 |
+
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
223 |
+
# if defined(__PGIC_PATCHLEVEL__)
|
224 |
+
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
225 |
+
# endif
|
226 |
+
|
227 |
+
#elif defined(_CRAYC)
|
228 |
+
# define COMPILER_ID "Cray"
|
229 |
+
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
230 |
+
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
231 |
+
|
232 |
+
#elif defined(__TI_COMPILER_VERSION__)
|
233 |
+
# define COMPILER_ID "TI"
|
234 |
+
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
235 |
+
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
236 |
+
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
237 |
+
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
238 |
+
|
239 |
+
#elif defined(__CLANG_FUJITSU)
|
240 |
+
# define COMPILER_ID "FujitsuClang"
|
241 |
+
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
242 |
+
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
243 |
+
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
244 |
+
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
245 |
+
|
246 |
+
|
247 |
+
#elif defined(__FUJITSU)
|
248 |
+
# define COMPILER_ID "Fujitsu"
|
249 |
+
# if defined(__FCC_version__)
|
250 |
+
# define COMPILER_VERSION __FCC_version__
|
251 |
+
# elif defined(__FCC_major__)
|
252 |
+
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
253 |
+
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
254 |
+
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
255 |
+
# endif
|
256 |
+
# if defined(__fcc_version)
|
257 |
+
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
258 |
+
# elif defined(__FCC_VERSION)
|
259 |
+
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
260 |
+
# endif
|
261 |
+
|
262 |
+
|
263 |
+
#elif defined(__ghs__)
|
264 |
+
# define COMPILER_ID "GHS"
|
265 |
+
/* __GHS_VERSION_NUMBER = VVVVRP */
|
266 |
+
# ifdef __GHS_VERSION_NUMBER
|
267 |
+
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
268 |
+
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
269 |
+
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
270 |
+
# endif
|
271 |
+
|
272 |
+
#elif defined(__TASKING__)
|
273 |
+
# define COMPILER_ID "Tasking"
|
274 |
+
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
275 |
+
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
276 |
+
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
277 |
+
|
278 |
+
#elif defined(__SCO_VERSION__)
|
279 |
+
# define COMPILER_ID "SCO"
|
280 |
+
|
281 |
+
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
282 |
+
# define COMPILER_ID "ARMCC"
|
283 |
+
#if __ARMCC_VERSION >= 1000000
|
284 |
+
/* __ARMCC_VERSION = VRRPPPP */
|
285 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
286 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
287 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
288 |
+
#else
|
289 |
+
/* __ARMCC_VERSION = VRPPPP */
|
290 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
291 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
292 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
293 |
+
#endif
|
294 |
+
|
295 |
+
|
296 |
+
#elif defined(__clang__) && defined(__apple_build_version__)
|
297 |
+
# define COMPILER_ID "AppleClang"
|
298 |
+
# if defined(_MSC_VER)
|
299 |
+
# define SIMULATE_ID "MSVC"
|
300 |
+
# endif
|
301 |
+
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
302 |
+
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
303 |
+
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
304 |
+
# if defined(_MSC_VER)
|
305 |
+
/* _MSC_VER = VVRR */
|
306 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
307 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
308 |
+
# endif
|
309 |
+
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
310 |
+
|
311 |
+
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
312 |
+
# define COMPILER_ID "ARMClang"
|
313 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
314 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
315 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
|
316 |
+
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
317 |
+
|
318 |
+
#elif defined(__clang__)
|
319 |
+
# define COMPILER_ID "Clang"
|
320 |
+
# if defined(_MSC_VER)
|
321 |
+
# define SIMULATE_ID "MSVC"
|
322 |
+
# endif
|
323 |
+
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
324 |
+
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
325 |
+
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
326 |
+
# if defined(_MSC_VER)
|
327 |
+
/* _MSC_VER = VVRR */
|
328 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
329 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
330 |
+
# endif
|
331 |
+
|
332 |
+
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
333 |
+
# define COMPILER_ID "LCC"
|
334 |
+
# define COMPILER_VERSION_MAJOR DEC(1)
|
335 |
+
# if defined(__LCC__)
|
336 |
+
# define COMPILER_VERSION_MINOR DEC(__LCC__- 100)
|
337 |
+
# endif
|
338 |
+
# if defined(__LCC_MINOR__)
|
339 |
+
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
340 |
+
# endif
|
341 |
+
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
342 |
+
# define SIMULATE_ID "GNU"
|
343 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
344 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
345 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
346 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
347 |
+
# endif
|
348 |
+
# endif
|
349 |
+
|
350 |
+
#elif defined(__GNUC__) || defined(__GNUG__)
|
351 |
+
# define COMPILER_ID "GNU"
|
352 |
+
# if defined(__GNUC__)
|
353 |
+
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
354 |
+
# else
|
355 |
+
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
|
356 |
+
# endif
|
357 |
+
# if defined(__GNUC_MINOR__)
|
358 |
+
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
359 |
+
# endif
|
360 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
361 |
+
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
362 |
+
# endif
|
363 |
+
|
364 |
+
#elif defined(_MSC_VER)
|
365 |
+
# define COMPILER_ID "MSVC"
|
366 |
+
/* _MSC_VER = VVRR */
|
367 |
+
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
368 |
+
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
369 |
+
# if defined(_MSC_FULL_VER)
|
370 |
+
# if _MSC_VER >= 1400
|
371 |
+
/* _MSC_FULL_VER = VVRRPPPPP */
|
372 |
+
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
373 |
+
# else
|
374 |
+
/* _MSC_FULL_VER = VVRRPPPP */
|
375 |
+
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
376 |
+
# endif
|
377 |
+
# endif
|
378 |
+
# if defined(_MSC_BUILD)
|
379 |
+
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
380 |
+
# endif
|
381 |
+
|
382 |
+
#elif defined(_ADI_COMPILER)
|
383 |
+
# define COMPILER_ID "ADSP"
|
384 |
+
#if defined(__VERSIONNUM__)
|
385 |
+
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
386 |
+
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
387 |
+
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
388 |
+
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
389 |
+
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
390 |
+
#endif
|
391 |
+
|
392 |
+
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
393 |
+
# define COMPILER_ID "IAR"
|
394 |
+
# if defined(__VER__) && defined(__ICCARM__)
|
395 |
+
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
396 |
+
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
397 |
+
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
398 |
+
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
399 |
+
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
400 |
+
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
401 |
+
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
402 |
+
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
403 |
+
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
404 |
+
# endif
|
405 |
+
|
406 |
+
|
407 |
+
/* These compilers are either not known or too old to define an
|
408 |
+
identification macro. Try to identify the platform and guess that
|
409 |
+
it is the native compiler. */
|
410 |
+
#elif defined(__hpux) || defined(__hpua)
|
411 |
+
# define COMPILER_ID "HP"
|
412 |
+
|
413 |
+
#else /* unknown compiler */
|
414 |
+
# define COMPILER_ID ""
|
415 |
+
#endif
|
416 |
+
|
417 |
+
/* Construct the string literal in pieces to prevent the source from
|
418 |
+
getting matched. Store it in a pointer rather than an array
|
419 |
+
because some compilers will just produce instructions to fill the
|
420 |
+
array rather than assigning a pointer to a static array. */
|
421 |
+
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
422 |
+
#ifdef SIMULATE_ID
|
423 |
+
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
424 |
+
#endif
|
425 |
+
|
426 |
+
#ifdef __QNXNTO__
|
427 |
+
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
428 |
+
#endif
|
429 |
+
|
430 |
+
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
431 |
+
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
432 |
+
#endif
|
433 |
+
|
434 |
+
#define STRINGIFY_HELPER(X) #X
|
435 |
+
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
436 |
+
|
437 |
+
/* Identify known platforms by name. */
|
438 |
+
#if defined(__linux) || defined(__linux__) || defined(linux)
|
439 |
+
# define PLATFORM_ID "Linux"
|
440 |
+
|
441 |
+
#elif defined(__MSYS__)
|
442 |
+
# define PLATFORM_ID "MSYS"
|
443 |
+
|
444 |
+
#elif defined(__CYGWIN__)
|
445 |
+
# define PLATFORM_ID "Cygwin"
|
446 |
+
|
447 |
+
#elif defined(__MINGW32__)
|
448 |
+
# define PLATFORM_ID "MinGW"
|
449 |
+
|
450 |
+
#elif defined(__APPLE__)
|
451 |
+
# define PLATFORM_ID "Darwin"
|
452 |
+
|
453 |
+
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
454 |
+
# define PLATFORM_ID "Windows"
|
455 |
+
|
456 |
+
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
457 |
+
# define PLATFORM_ID "FreeBSD"
|
458 |
+
|
459 |
+
#elif defined(__NetBSD__) || defined(__NetBSD)
|
460 |
+
# define PLATFORM_ID "NetBSD"
|
461 |
+
|
462 |
+
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
463 |
+
# define PLATFORM_ID "OpenBSD"
|
464 |
+
|
465 |
+
#elif defined(__sun) || defined(sun)
|
466 |
+
# define PLATFORM_ID "SunOS"
|
467 |
+
|
468 |
+
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
469 |
+
# define PLATFORM_ID "AIX"
|
470 |
+
|
471 |
+
#elif defined(__hpux) || defined(__hpux__)
|
472 |
+
# define PLATFORM_ID "HP-UX"
|
473 |
+
|
474 |
+
#elif defined(__HAIKU__)
|
475 |
+
# define PLATFORM_ID "Haiku"
|
476 |
+
|
477 |
+
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
478 |
+
# define PLATFORM_ID "BeOS"
|
479 |
+
|
480 |
+
#elif defined(__QNX__) || defined(__QNXNTO__)
|
481 |
+
# define PLATFORM_ID "QNX"
|
482 |
+
|
483 |
+
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
484 |
+
# define PLATFORM_ID "Tru64"
|
485 |
+
|
486 |
+
#elif defined(__riscos) || defined(__riscos__)
|
487 |
+
# define PLATFORM_ID "RISCos"
|
488 |
+
|
489 |
+
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
490 |
+
# define PLATFORM_ID "SINIX"
|
491 |
+
|
492 |
+
#elif defined(__UNIX_SV__)
|
493 |
+
# define PLATFORM_ID "UNIX_SV"
|
494 |
+
|
495 |
+
#elif defined(__bsdos__)
|
496 |
+
# define PLATFORM_ID "BSDOS"
|
497 |
+
|
498 |
+
#elif defined(_MPRAS) || defined(MPRAS)
|
499 |
+
# define PLATFORM_ID "MP-RAS"
|
500 |
+
|
501 |
+
#elif defined(__osf) || defined(__osf__)
|
502 |
+
# define PLATFORM_ID "OSF1"
|
503 |
+
|
504 |
+
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
505 |
+
# define PLATFORM_ID "SCO_SV"
|
506 |
+
|
507 |
+
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
508 |
+
# define PLATFORM_ID "ULTRIX"
|
509 |
+
|
510 |
+
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
511 |
+
# define PLATFORM_ID "Xenix"
|
512 |
+
|
513 |
+
#elif defined(__WATCOMC__)
|
514 |
+
# if defined(__LINUX__)
|
515 |
+
# define PLATFORM_ID "Linux"
|
516 |
+
|
517 |
+
# elif defined(__DOS__)
|
518 |
+
# define PLATFORM_ID "DOS"
|
519 |
+
|
520 |
+
# elif defined(__OS2__)
|
521 |
+
# define PLATFORM_ID "OS2"
|
522 |
+
|
523 |
+
# elif defined(__WINDOWS__)
|
524 |
+
# define PLATFORM_ID "Windows3x"
|
525 |
+
|
526 |
+
# elif defined(__VXWORKS__)
|
527 |
+
# define PLATFORM_ID "VxWorks"
|
528 |
+
|
529 |
+
# else /* unknown platform */
|
530 |
+
# define PLATFORM_ID
|
531 |
+
# endif
|
532 |
+
|
533 |
+
#elif defined(__INTEGRITY)
|
534 |
+
# if defined(INT_178B)
|
535 |
+
# define PLATFORM_ID "Integrity178"
|
536 |
+
|
537 |
+
# else /* regular Integrity */
|
538 |
+
# define PLATFORM_ID "Integrity"
|
539 |
+
# endif
|
540 |
+
|
541 |
+
# elif defined(_ADI_COMPILER)
|
542 |
+
# define PLATFORM_ID "ADSP"
|
543 |
+
|
544 |
+
#else /* unknown platform */
|
545 |
+
# define PLATFORM_ID
|
546 |
+
|
547 |
+
#endif
|
548 |
+
|
549 |
+
/* For windows compilers MSVC and Intel we can determine
|
550 |
+
the architecture of the compiler being used. This is because
|
551 |
+
the compilers do not have flags that can change the architecture,
|
552 |
+
but rather depend on which compiler is being used
|
553 |
+
*/
|
554 |
+
#if defined(_WIN32) && defined(_MSC_VER)
|
555 |
+
# if defined(_M_IA64)
|
556 |
+
# define ARCHITECTURE_ID "IA64"
|
557 |
+
|
558 |
+
# elif defined(_M_ARM64EC)
|
559 |
+
# define ARCHITECTURE_ID "ARM64EC"
|
560 |
+
|
561 |
+
# elif defined(_M_X64) || defined(_M_AMD64)
|
562 |
+
# define ARCHITECTURE_ID "x64"
|
563 |
+
|
564 |
+
# elif defined(_M_IX86)
|
565 |
+
# define ARCHITECTURE_ID "X86"
|
566 |
+
|
567 |
+
# elif defined(_M_ARM64)
|
568 |
+
# define ARCHITECTURE_ID "ARM64"
|
569 |
+
|
570 |
+
# elif defined(_M_ARM)
|
571 |
+
# if _M_ARM == 4
|
572 |
+
# define ARCHITECTURE_ID "ARMV4I"
|
573 |
+
# elif _M_ARM == 5
|
574 |
+
# define ARCHITECTURE_ID "ARMV5I"
|
575 |
+
# else
|
576 |
+
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
577 |
+
# endif
|
578 |
+
|
579 |
+
# elif defined(_M_MIPS)
|
580 |
+
# define ARCHITECTURE_ID "MIPS"
|
581 |
+
|
582 |
+
# elif defined(_M_SH)
|
583 |
+
# define ARCHITECTURE_ID "SHx"
|
584 |
+
|
585 |
+
# else /* unknown architecture */
|
586 |
+
# define ARCHITECTURE_ID ""
|
587 |
+
# endif
|
588 |
+
|
589 |
+
#elif defined(__WATCOMC__)
|
590 |
+
# if defined(_M_I86)
|
591 |
+
# define ARCHITECTURE_ID "I86"
|
592 |
+
|
593 |
+
# elif defined(_M_IX86)
|
594 |
+
# define ARCHITECTURE_ID "X86"
|
595 |
+
|
596 |
+
# else /* unknown architecture */
|
597 |
+
# define ARCHITECTURE_ID ""
|
598 |
+
# endif
|
599 |
+
|
600 |
+
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
601 |
+
# if defined(__ICCARM__)
|
602 |
+
# define ARCHITECTURE_ID "ARM"
|
603 |
+
|
604 |
+
# elif defined(__ICCRX__)
|
605 |
+
# define ARCHITECTURE_ID "RX"
|
606 |
+
|
607 |
+
# elif defined(__ICCRH850__)
|
608 |
+
# define ARCHITECTURE_ID "RH850"
|
609 |
+
|
610 |
+
# elif defined(__ICCRL78__)
|
611 |
+
# define ARCHITECTURE_ID "RL78"
|
612 |
+
|
613 |
+
# elif defined(__ICCRISCV__)
|
614 |
+
# define ARCHITECTURE_ID "RISCV"
|
615 |
+
|
616 |
+
# elif defined(__ICCAVR__)
|
617 |
+
# define ARCHITECTURE_ID "AVR"
|
618 |
+
|
619 |
+
# elif defined(__ICC430__)
|
620 |
+
# define ARCHITECTURE_ID "MSP430"
|
621 |
+
|
622 |
+
# elif defined(__ICCV850__)
|
623 |
+
# define ARCHITECTURE_ID "V850"
|
624 |
+
|
625 |
+
# elif defined(__ICC8051__)
|
626 |
+
# define ARCHITECTURE_ID "8051"
|
627 |
+
|
628 |
+
# elif defined(__ICCSTM8__)
|
629 |
+
# define ARCHITECTURE_ID "STM8"
|
630 |
+
|
631 |
+
# else /* unknown architecture */
|
632 |
+
# define ARCHITECTURE_ID ""
|
633 |
+
# endif
|
634 |
+
|
635 |
+
#elif defined(__ghs__)
|
636 |
+
# if defined(__PPC64__)
|
637 |
+
# define ARCHITECTURE_ID "PPC64"
|
638 |
+
|
639 |
+
# elif defined(__ppc__)
|
640 |
+
# define ARCHITECTURE_ID "PPC"
|
641 |
+
|
642 |
+
# elif defined(__ARM__)
|
643 |
+
# define ARCHITECTURE_ID "ARM"
|
644 |
+
|
645 |
+
# elif defined(__x86_64__)
|
646 |
+
# define ARCHITECTURE_ID "x64"
|
647 |
+
|
648 |
+
# elif defined(__i386__)
|
649 |
+
# define ARCHITECTURE_ID "X86"
|
650 |
+
|
651 |
+
# else /* unknown architecture */
|
652 |
+
# define ARCHITECTURE_ID ""
|
653 |
+
# endif
|
654 |
+
|
655 |
+
#elif defined(__TI_COMPILER_VERSION__)
|
656 |
+
# if defined(__TI_ARM__)
|
657 |
+
# define ARCHITECTURE_ID "ARM"
|
658 |
+
|
659 |
+
# elif defined(__MSP430__)
|
660 |
+
# define ARCHITECTURE_ID "MSP430"
|
661 |
+
|
662 |
+
# elif defined(__TMS320C28XX__)
|
663 |
+
# define ARCHITECTURE_ID "TMS320C28x"
|
664 |
+
|
665 |
+
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
666 |
+
# define ARCHITECTURE_ID "TMS320C6x"
|
667 |
+
|
668 |
+
# else /* unknown architecture */
|
669 |
+
# define ARCHITECTURE_ID ""
|
670 |
+
# endif
|
671 |
+
|
672 |
+
# elif defined(__ADSPSHARC__)
|
673 |
+
# define ARCHITECTURE_ID "SHARC"
|
674 |
+
|
675 |
+
# elif defined(__ADSPBLACKFIN__)
|
676 |
+
# define ARCHITECTURE_ID "Blackfin"
|
677 |
+
|
678 |
+
#elif defined(__TASKING__)
|
679 |
+
|
680 |
+
# if defined(__CTC__) || defined(__CPTC__)
|
681 |
+
# define ARCHITECTURE_ID "TriCore"
|
682 |
+
|
683 |
+
# elif defined(__CMCS__)
|
684 |
+
# define ARCHITECTURE_ID "MCS"
|
685 |
+
|
686 |
+
# elif defined(__CARM__)
|
687 |
+
# define ARCHITECTURE_ID "ARM"
|
688 |
+
|
689 |
+
# elif defined(__CARC__)
|
690 |
+
# define ARCHITECTURE_ID "ARC"
|
691 |
+
|
692 |
+
# elif defined(__C51__)
|
693 |
+
# define ARCHITECTURE_ID "8051"
|
694 |
+
|
695 |
+
# elif defined(__CPCP__)
|
696 |
+
# define ARCHITECTURE_ID "PCP"
|
697 |
+
|
698 |
+
# else
|
699 |
+
# define ARCHITECTURE_ID ""
|
700 |
+
# endif
|
701 |
+
|
702 |
+
#else
|
703 |
+
# define ARCHITECTURE_ID
|
704 |
+
#endif
|
705 |
+
|
706 |
+
/* Convert integer to decimal digit literals. */
|
707 |
+
#define DEC(n) \
|
708 |
+
('0' + (((n) / 10000000)%10)), \
|
709 |
+
('0' + (((n) / 1000000)%10)), \
|
710 |
+
('0' + (((n) / 100000)%10)), \
|
711 |
+
('0' + (((n) / 10000)%10)), \
|
712 |
+
('0' + (((n) / 1000)%10)), \
|
713 |
+
('0' + (((n) / 100)%10)), \
|
714 |
+
('0' + (((n) / 10)%10)), \
|
715 |
+
('0' + ((n) % 10))
|
716 |
+
|
717 |
+
/* Convert integer to hex digit literals. */
|
718 |
+
#define HEX(n) \
|
719 |
+
('0' + ((n)>>28 & 0xF)), \
|
720 |
+
('0' + ((n)>>24 & 0xF)), \
|
721 |
+
('0' + ((n)>>20 & 0xF)), \
|
722 |
+
('0' + ((n)>>16 & 0xF)), \
|
723 |
+
('0' + ((n)>>12 & 0xF)), \
|
724 |
+
('0' + ((n)>>8 & 0xF)), \
|
725 |
+
('0' + ((n)>>4 & 0xF)), \
|
726 |
+
('0' + ((n) & 0xF))
|
727 |
+
|
728 |
+
/* Construct a string literal encoding the version number. */
|
729 |
+
#ifdef COMPILER_VERSION
|
730 |
+
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
731 |
+
|
732 |
+
/* Construct a string literal encoding the version number components. */
|
733 |
+
#elif defined(COMPILER_VERSION_MAJOR)
|
734 |
+
char const info_version[] = {
|
735 |
+
'I', 'N', 'F', 'O', ':',
|
736 |
+
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
737 |
+
COMPILER_VERSION_MAJOR,
|
738 |
+
# ifdef COMPILER_VERSION_MINOR
|
739 |
+
'.', COMPILER_VERSION_MINOR,
|
740 |
+
# ifdef COMPILER_VERSION_PATCH
|
741 |
+
'.', COMPILER_VERSION_PATCH,
|
742 |
+
# ifdef COMPILER_VERSION_TWEAK
|
743 |
+
'.', COMPILER_VERSION_TWEAK,
|
744 |
+
# endif
|
745 |
+
# endif
|
746 |
+
# endif
|
747 |
+
']','\0'};
|
748 |
+
#endif
|
749 |
+
|
750 |
+
/* Construct a string literal encoding the internal version number. */
|
751 |
+
#ifdef COMPILER_VERSION_INTERNAL
|
752 |
+
char const info_version_internal[] = {
|
753 |
+
'I', 'N', 'F', 'O', ':',
|
754 |
+
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
755 |
+
'i','n','t','e','r','n','a','l','[',
|
756 |
+
COMPILER_VERSION_INTERNAL,']','\0'};
|
757 |
+
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
758 |
+
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
759 |
+
#endif
|
760 |
+
|
761 |
+
/* Construct a string literal encoding the version number components. */
|
762 |
+
#ifdef SIMULATE_VERSION_MAJOR
|
763 |
+
char const info_simulate_version[] = {
|
764 |
+
'I', 'N', 'F', 'O', ':',
|
765 |
+
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
766 |
+
SIMULATE_VERSION_MAJOR,
|
767 |
+
# ifdef SIMULATE_VERSION_MINOR
|
768 |
+
'.', SIMULATE_VERSION_MINOR,
|
769 |
+
# ifdef SIMULATE_VERSION_PATCH
|
770 |
+
'.', SIMULATE_VERSION_PATCH,
|
771 |
+
# ifdef SIMULATE_VERSION_TWEAK
|
772 |
+
'.', SIMULATE_VERSION_TWEAK,
|
773 |
+
# endif
|
774 |
+
# endif
|
775 |
+
# endif
|
776 |
+
']','\0'};
|
777 |
+
#endif
|
778 |
+
|
779 |
+
/* Construct the string literal in pieces to prevent the source from
|
780 |
+
getting matched. Store it in a pointer rather than an array
|
781 |
+
because some compilers will just produce instructions to fill the
|
782 |
+
array rather than assigning a pointer to a static array. */
|
783 |
+
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
784 |
+
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
785 |
+
|
786 |
+
|
787 |
+
|
788 |
+
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
|
789 |
+
# if defined(__INTEL_CXX11_MODE__)
|
790 |
+
# if defined(__cpp_aggregate_nsdmi)
|
791 |
+
# define CXX_STD 201402L
|
792 |
+
# else
|
793 |
+
# define CXX_STD 201103L
|
794 |
+
# endif
|
795 |
+
# else
|
796 |
+
# define CXX_STD 199711L
|
797 |
+
# endif
|
798 |
+
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
|
799 |
+
# define CXX_STD _MSVC_LANG
|
800 |
+
#else
|
801 |
+
# define CXX_STD __cplusplus
|
802 |
+
#endif
|
803 |
+
|
804 |
+
const char* info_language_standard_default = "INFO" ":" "standard_default["
|
805 |
+
#if CXX_STD > 202002L
|
806 |
+
"23"
|
807 |
+
#elif CXX_STD > 201703L
|
808 |
+
"20"
|
809 |
+
#elif CXX_STD >= 201703L
|
810 |
+
"17"
|
811 |
+
#elif CXX_STD >= 201402L
|
812 |
+
"14"
|
813 |
+
#elif CXX_STD >= 201103L
|
814 |
+
"11"
|
815 |
+
#else
|
816 |
+
"98"
|
817 |
+
#endif
|
818 |
+
"]";
|
819 |
+
|
820 |
+
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
821 |
+
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
822 |
+
defined(__TI_COMPILER_VERSION__)) && \
|
823 |
+
!defined(__STRICT_ANSI__)
|
824 |
+
"ON"
|
825 |
+
#else
|
826 |
+
"OFF"
|
827 |
+
#endif
|
828 |
+
"]";
|
829 |
+
|
830 |
+
/*--------------------------------------------------------------------------*/
|
831 |
+
|
832 |
+
int main(int argc, char* argv[])
|
833 |
+
{
|
834 |
+
int require = 0;
|
835 |
+
require += info_compiler[argc];
|
836 |
+
require += info_platform[argc];
|
837 |
+
require += info_arch[argc];
|
838 |
+
#ifdef COMPILER_VERSION_MAJOR
|
839 |
+
require += info_version[argc];
|
840 |
+
#endif
|
841 |
+
#ifdef COMPILER_VERSION_INTERNAL
|
842 |
+
require += info_version_internal[argc];
|
843 |
+
#endif
|
844 |
+
#ifdef SIMULATE_ID
|
845 |
+
require += info_simulate[argc];
|
846 |
+
#endif
|
847 |
+
#ifdef SIMULATE_VERSION_MAJOR
|
848 |
+
require += info_simulate_version[argc];
|
849 |
+
#endif
|
850 |
+
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
851 |
+
require += info_cray[argc];
|
852 |
+
#endif
|
853 |
+
require += info_language_standard_default[argc];
|
854 |
+
require += info_language_extensions_default[argc];
|
855 |
+
(void)argv;
|
856 |
+
return require;
|
857 |
+
}
|
build/CMakeFiles/3.25.0/CompilerIdCXX/a.out
ADDED
Binary file (8.49 kB). View file
|
|
build/CMakeFiles/CMakeDirectoryInformation.cmake
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# CMAKE generated file: DO NOT EDIT!
|
2 |
+
# Generated by "Unix Makefiles" Generator, CMake Version 3.25
|
3 |
+
|
4 |
+
# Relative path conversion top directories.
|
5 |
+
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/content/instant-ngp")
|
6 |
+
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/content/instant-ngp/build")
|
7 |
+
|
8 |
+
# Force unix paths in dependencies.
|
9 |
+
set(CMAKE_FORCE_UNIX_PATHS 1)
|
10 |
+
|
11 |
+
|
12 |
+
# The C and CXX include file regular expressions for this directory.
|
13 |
+
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
14 |
+
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
15 |
+
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
16 |
+
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
build/CMakeFiles/CMakeOutput.log
ADDED
The diff for this file is too large to render.
See raw diff
|
|
build/CMakeFiles/CMakeRuleHashes.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
# Hashes of file build rules.
|
2 |
+
e2e9545d786c60bed4b6927e982d2b1a optix_ptx.h
|
build/CMakeFiles/FindOpenMP/ompver_C.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d278871b4100e3d5c37ac5dbe48e55d7bf982cf3310daae14151b8669a65356f
|
3 |
+
size 8584
|
build/CMakeFiles/FindOpenMP/ompver_CXX.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8317abd53c98014a8c61f5e826ef0499d73deda7e83be8ec1b51784340e9322
|
3 |
+
size 8592
|
build/CMakeFiles/Makefile.cmake
ADDED
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# CMAKE generated file: DO NOT EDIT!
|
2 |
+
# Generated by "Unix Makefiles" Generator, CMake Version 3.25
|
3 |
+
|
4 |
+
# The generator used is:
|
5 |
+
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
6 |
+
|
7 |
+
# The top level Makefile was generated from the following files:
|
8 |
+
set(CMAKE_MAKEFILE_DEPENDS
|
9 |
+
"CMakeCache.txt"
|
10 |
+
"/content/instant-ngp/CMakeLists.txt"
|
11 |
+
"CMakeFiles/3.25.0/CMakeCCompiler.cmake"
|
12 |
+
"CMakeFiles/3.25.0/CMakeCUDACompiler.cmake"
|
13 |
+
"CMakeFiles/3.25.0/CMakeCXXCompiler.cmake"
|
14 |
+
"CMakeFiles/3.25.0/CMakeSystem.cmake"
|
15 |
+
"/content/instant-ngp/dependencies/pybind11/CMakeLists.txt"
|
16 |
+
"/content/instant-ngp/dependencies/pybind11/tools/JoinPaths.cmake"
|
17 |
+
"/content/instant-ngp/dependencies/pybind11/tools/pybind11Common.cmake"
|
18 |
+
"/content/instant-ngp/dependencies/pybind11/tools/pybind11NewTools.cmake"
|
19 |
+
"/content/instant-ngp/dependencies/tiny-cuda-nn/CMakeLists.txt"
|
20 |
+
"/content/instant-ngp/dependencies/tiny-cuda-nn/dependencies/fmt/CMakeLists.txt"
|
21 |
+
"/content/instant-ngp/dependencies/tiny-cuda-nn/dependencies/fmt/support/cmake/JoinPaths.cmake"
|
22 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCCompiler.cmake.in"
|
23 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCCompilerABI.c"
|
24 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCInformation.cmake"
|
25 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCUDACompiler.cmake.in"
|
26 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCUDACompilerABI.cu"
|
27 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCUDAInformation.cmake"
|
28 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXCompiler.cmake.in"
|
29 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXCompilerABI.cpp"
|
30 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXInformation.cmake"
|
31 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
|
32 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCommonLanguageInclude.cmake"
|
33 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeCompilerIdDetection.cmake"
|
34 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeDependentOption.cmake"
|
35 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCCompiler.cmake"
|
36 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCUDACompiler.cmake"
|
37 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCXXCompiler.cmake"
|
38 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompileFeatures.cmake"
|
39 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompiler.cmake"
|
40 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompilerABI.cmake"
|
41 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompilerId.cmake"
|
42 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake"
|
43 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeFindBinUtils.cmake"
|
44 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeGenericSystem.cmake"
|
45 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeInitializeConfigs.cmake"
|
46 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeLanguageInformation.cmake"
|
47 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakePackageConfigHelpers.cmake"
|
48 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeParseArguments.cmake"
|
49 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeParseImplicitIncludeInfo.cmake"
|
50 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeParseImplicitLinkInfo.cmake"
|
51 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeParseLibraryArchitecture.cmake"
|
52 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeSystem.cmake.in"
|
53 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeSystemSpecificInformation.cmake"
|
54 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeSystemSpecificInitialize.cmake"
|
55 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake"
|
56 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCUDACompiler.cmake"
|
57 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCXXCompiler.cmake"
|
58 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCompilerCommon.cmake"
|
59 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CMakeUnixFindMake.cmake"
|
60 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CUDA/architectures.cmake"
|
61 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CheckCXXCompilerFlag.cmake"
|
62 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/CheckCXXSourceCompiles.cmake"
|
63 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/ADSP-DetermineCompiler.cmake"
|
64 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
|
65 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
|
66 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
|
67 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Borland-DetermineCompiler.cmake"
|
68 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
|
69 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
70 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Clang-DetermineCompiler.cmake"
|
71 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
|
72 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
|
73 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
|
74 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
|
75 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Cray-DetermineCompiler.cmake"
|
76 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
|
77 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
|
78 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake"
|
79 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GHS-DetermineCompiler.cmake"
|
80 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
|
81 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-C.cmake"
|
82 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
|
83 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-CXX.cmake"
|
84 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-FindBinUtils.cmake"
|
85 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU.cmake"
|
86 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/HP-C-DetermineCompiler.cmake"
|
87 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
|
88 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IAR-DetermineCompiler.cmake"
|
89 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
|
90 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
|
91 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake"
|
92 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake"
|
93 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Intel-DetermineCompiler.cmake"
|
94 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake"
|
95 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/LCC-C-DetermineCompiler.cmake"
|
96 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake"
|
97 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/MSVC-DetermineCompiler.cmake"
|
98 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/NVHPC-DetermineCompiler.cmake"
|
99 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/NVIDIA-CUDA.cmake"
|
100 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
|
101 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
|
102 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/PGI-DetermineCompiler.cmake"
|
103 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/PathScale-DetermineCompiler.cmake"
|
104 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SCO-DetermineCompiler.cmake"
|
105 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
|
106 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
|
107 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
|
108 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/TI-DetermineCompiler.cmake"
|
109 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Tasking-DetermineCompiler.cmake"
|
110 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
|
111 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
|
112 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
|
113 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Watcom-DetermineCompiler.cmake"
|
114 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XL-C-DetermineCompiler.cmake"
|
115 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
|
116 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
|
117 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
|
118 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
|
119 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
|
120 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/FindOpenMP.cmake"
|
121 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake"
|
122 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/FindPackageMessage.cmake"
|
123 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/FindPython.cmake"
|
124 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/FindPython/Support.cmake"
|
125 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/GNUInstallDirs.cmake"
|
126 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Internal/CheckCompilerFlag.cmake"
|
127 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Internal/CheckFlagCommonConfig.cmake"
|
128 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Internal/CheckSourceCompiles.cmake"
|
129 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Internal/FeatureTesting.cmake"
|
130 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-Determine-CXX.cmake"
|
131 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-GNU-C.cmake"
|
132 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-GNU-CXX.cmake"
|
133 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-GNU.cmake"
|
134 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux.cmake"
|
135 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/Platform/UnixPaths.cmake"
|
136 |
+
"/usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.25/Modules/WriteBasicConfigVersionFile.cmake"
|
137 |
+
)
|
138 |
+
|
139 |
+
# The corresponding makefile is:
|
140 |
+
set(CMAKE_MAKEFILE_OUTPUTS
|
141 |
+
"Makefile"
|
142 |
+
"CMakeFiles/cmake.check_cache"
|
143 |
+
)
|
144 |
+
|
145 |
+
# Byproducts of CMake generate step:
|
146 |
+
set(CMAKE_MAKEFILE_PRODUCTS
|
147 |
+
"CMakeFiles/3.25.0/CMakeSystem.cmake"
|
148 |
+
"CMakeFiles/3.25.0/CMakeCCompiler.cmake"
|
149 |
+
"CMakeFiles/3.25.0/CMakeCXXCompiler.cmake"
|
150 |
+
"CMakeFiles/3.25.0/CMakeCUDACompiler.cmake"
|
151 |
+
"CMakeFiles/3.25.0/CMakeCCompiler.cmake"
|
152 |
+
"CMakeFiles/3.25.0/CMakeCXXCompiler.cmake"
|
153 |
+
"CMakeFiles/3.25.0/CMakeCUDACompiler.cmake"
|
154 |
+
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
155 |
+
"dependencies/tiny-cuda-nn/CMakeFiles/CMakeDirectoryInformation.cmake"
|
156 |
+
"dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/CMakeDirectoryInformation.cmake"
|
157 |
+
"dependencies/pybind11/CMakeFiles/CMakeDirectoryInformation.cmake"
|
158 |
+
)
|
159 |
+
|
160 |
+
# Dependency information for all targets:
|
161 |
+
set(CMAKE_DEPEND_INFO_FILES
|
162 |
+
"CMakeFiles/optix_program.dir/DependInfo.cmake"
|
163 |
+
"CMakeFiles/ngp.dir/DependInfo.cmake"
|
164 |
+
"CMakeFiles/instant-ngp.dir/DependInfo.cmake"
|
165 |
+
"CMakeFiles/pyngp.dir/DependInfo.cmake"
|
166 |
+
"dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/DependInfo.cmake"
|
167 |
+
"dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/DependInfo.cmake"
|
168 |
+
)
|
build/CMakeFiles/Makefile2
ADDED
@@ -0,0 +1,306 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# CMAKE generated file: DO NOT EDIT!
|
2 |
+
# Generated by "Unix Makefiles" Generator, CMake Version 3.25
|
3 |
+
|
4 |
+
# Default target executed when no arguments are given to make.
|
5 |
+
default_target: all
|
6 |
+
.PHONY : default_target
|
7 |
+
|
8 |
+
#=============================================================================
|
9 |
+
# Special targets provided by cmake.
|
10 |
+
|
11 |
+
# Disable implicit rules so canonical targets will work.
|
12 |
+
.SUFFIXES:
|
13 |
+
|
14 |
+
# Disable VCS-based implicit rules.
|
15 |
+
% : %,v
|
16 |
+
|
17 |
+
# Disable VCS-based implicit rules.
|
18 |
+
% : RCS/%
|
19 |
+
|
20 |
+
# Disable VCS-based implicit rules.
|
21 |
+
% : RCS/%,v
|
22 |
+
|
23 |
+
# Disable VCS-based implicit rules.
|
24 |
+
% : SCCS/s.%
|
25 |
+
|
26 |
+
# Disable VCS-based implicit rules.
|
27 |
+
% : s.%
|
28 |
+
|
29 |
+
.SUFFIXES: .hpux_make_needs_suffix_list
|
30 |
+
|
31 |
+
# Command-line flag to silence nested $(MAKE).
|
32 |
+
$(VERBOSE)MAKESILENT = -s
|
33 |
+
|
34 |
+
#Suppress display of executed commands.
|
35 |
+
$(VERBOSE).SILENT:
|
36 |
+
|
37 |
+
# A target that is always out of date.
|
38 |
+
cmake_force:
|
39 |
+
.PHONY : cmake_force
|
40 |
+
|
41 |
+
#=============================================================================
|
42 |
+
# Set environment variables for the build.
|
43 |
+
|
44 |
+
# The shell in which to execute make rules.
|
45 |
+
SHELL = /bin/sh
|
46 |
+
|
47 |
+
# The CMake executable.
|
48 |
+
CMAKE_COMMAND = /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake
|
49 |
+
|
50 |
+
# The command to remove a file.
|
51 |
+
RM = /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E rm -f
|
52 |
+
|
53 |
+
# Escaping for special characters.
|
54 |
+
EQUALS = =
|
55 |
+
|
56 |
+
# The top-level source directory on which CMake was run.
|
57 |
+
CMAKE_SOURCE_DIR = /content/instant-ngp
|
58 |
+
|
59 |
+
# The top-level build directory on which CMake was run.
|
60 |
+
CMAKE_BINARY_DIR = /content/instant-ngp/build
|
61 |
+
|
62 |
+
#=============================================================================
|
63 |
+
# Directory level rules for the build root directory
|
64 |
+
|
65 |
+
# The main recursive "all" target.
|
66 |
+
all: CMakeFiles/optix_program.dir/all
|
67 |
+
all: CMakeFiles/ngp.dir/all
|
68 |
+
all: CMakeFiles/instant-ngp.dir/all
|
69 |
+
all: CMakeFiles/pyngp.dir/all
|
70 |
+
all: dependencies/tiny-cuda-nn/all
|
71 |
+
all: dependencies/pybind11/all
|
72 |
+
.PHONY : all
|
73 |
+
|
74 |
+
# The main recursive "preinstall" target.
|
75 |
+
preinstall: dependencies/tiny-cuda-nn/preinstall
|
76 |
+
preinstall: dependencies/pybind11/preinstall
|
77 |
+
.PHONY : preinstall
|
78 |
+
|
79 |
+
# The main recursive "clean" target.
|
80 |
+
clean: CMakeFiles/optix_program.dir/clean
|
81 |
+
clean: CMakeFiles/ngp.dir/clean
|
82 |
+
clean: CMakeFiles/instant-ngp.dir/clean
|
83 |
+
clean: CMakeFiles/pyngp.dir/clean
|
84 |
+
clean: dependencies/tiny-cuda-nn/clean
|
85 |
+
clean: dependencies/pybind11/clean
|
86 |
+
.PHONY : clean
|
87 |
+
|
88 |
+
#=============================================================================
|
89 |
+
# Directory level rules for directory dependencies/pybind11
|
90 |
+
|
91 |
+
# Recursive "all" directory target.
|
92 |
+
dependencies/pybind11/all:
|
93 |
+
.PHONY : dependencies/pybind11/all
|
94 |
+
|
95 |
+
# Recursive "preinstall" directory target.
|
96 |
+
dependencies/pybind11/preinstall:
|
97 |
+
.PHONY : dependencies/pybind11/preinstall
|
98 |
+
|
99 |
+
# Recursive "clean" directory target.
|
100 |
+
dependencies/pybind11/clean:
|
101 |
+
.PHONY : dependencies/pybind11/clean
|
102 |
+
|
103 |
+
#=============================================================================
|
104 |
+
# Directory level rules for directory dependencies/tiny-cuda-nn
|
105 |
+
|
106 |
+
# Recursive "all" directory target.
|
107 |
+
dependencies/tiny-cuda-nn/all: dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/all
|
108 |
+
dependencies/tiny-cuda-nn/all: dependencies/tiny-cuda-nn/dependencies/fmt/all
|
109 |
+
.PHONY : dependencies/tiny-cuda-nn/all
|
110 |
+
|
111 |
+
# Recursive "preinstall" directory target.
|
112 |
+
dependencies/tiny-cuda-nn/preinstall: dependencies/tiny-cuda-nn/dependencies/fmt/preinstall
|
113 |
+
.PHONY : dependencies/tiny-cuda-nn/preinstall
|
114 |
+
|
115 |
+
# Recursive "clean" directory target.
|
116 |
+
dependencies/tiny-cuda-nn/clean: dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/clean
|
117 |
+
dependencies/tiny-cuda-nn/clean: dependencies/tiny-cuda-nn/dependencies/fmt/clean
|
118 |
+
.PHONY : dependencies/tiny-cuda-nn/clean
|
119 |
+
|
120 |
+
#=============================================================================
|
121 |
+
# Directory level rules for directory dependencies/tiny-cuda-nn/dependencies/fmt
|
122 |
+
|
123 |
+
# Recursive "all" directory target.
|
124 |
+
dependencies/tiny-cuda-nn/dependencies/fmt/all: dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/all
|
125 |
+
.PHONY : dependencies/tiny-cuda-nn/dependencies/fmt/all
|
126 |
+
|
127 |
+
# Recursive "preinstall" directory target.
|
128 |
+
dependencies/tiny-cuda-nn/dependencies/fmt/preinstall:
|
129 |
+
.PHONY : dependencies/tiny-cuda-nn/dependencies/fmt/preinstall
|
130 |
+
|
131 |
+
# Recursive "clean" directory target.
|
132 |
+
dependencies/tiny-cuda-nn/dependencies/fmt/clean: dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/clean
|
133 |
+
.PHONY : dependencies/tiny-cuda-nn/dependencies/fmt/clean
|
134 |
+
|
135 |
+
#=============================================================================
|
136 |
+
# Target rules for target CMakeFiles/optix_program.dir
|
137 |
+
|
138 |
+
# All Build rule for target.
|
139 |
+
CMakeFiles/optix_program.dir/all:
|
140 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/optix_program.dir/build.make CMakeFiles/optix_program.dir/depend
|
141 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/optix_program.dir/build.make CMakeFiles/optix_program.dir/build
|
142 |
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/content/instant-ngp/build/CMakeFiles --progress-num=23,24,25 "Built target optix_program"
|
143 |
+
.PHONY : CMakeFiles/optix_program.dir/all
|
144 |
+
|
145 |
+
# Build rule for subdir invocation for target.
|
146 |
+
CMakeFiles/optix_program.dir/rule: cmake_check_build_system
|
147 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 3
|
148 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/optix_program.dir/all
|
149 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 0
|
150 |
+
.PHONY : CMakeFiles/optix_program.dir/rule
|
151 |
+
|
152 |
+
# Convenience name for target.
|
153 |
+
optix_program: CMakeFiles/optix_program.dir/rule
|
154 |
+
.PHONY : optix_program
|
155 |
+
|
156 |
+
# clean rule for target.
|
157 |
+
CMakeFiles/optix_program.dir/clean:
|
158 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/optix_program.dir/build.make CMakeFiles/optix_program.dir/clean
|
159 |
+
.PHONY : CMakeFiles/optix_program.dir/clean
|
160 |
+
|
161 |
+
#=============================================================================
|
162 |
+
# Target rules for target CMakeFiles/ngp.dir
|
163 |
+
|
164 |
+
# All Build rule for target.
|
165 |
+
CMakeFiles/ngp.dir/all: CMakeFiles/optix_program.dir/all
|
166 |
+
CMakeFiles/ngp.dir/all: dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/all
|
167 |
+
CMakeFiles/ngp.dir/all: dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/all
|
168 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/ngp.dir/build.make CMakeFiles/ngp.dir/depend
|
169 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/ngp.dir/build.make CMakeFiles/ngp.dir/build
|
170 |
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/content/instant-ngp/build/CMakeFiles --progress-num=6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22 "Built target ngp"
|
171 |
+
.PHONY : CMakeFiles/ngp.dir/all
|
172 |
+
|
173 |
+
# Build rule for subdir invocation for target.
|
174 |
+
CMakeFiles/ngp.dir/rule: cmake_check_build_system
|
175 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 34
|
176 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/ngp.dir/all
|
177 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 0
|
178 |
+
.PHONY : CMakeFiles/ngp.dir/rule
|
179 |
+
|
180 |
+
# Convenience name for target.
|
181 |
+
ngp: CMakeFiles/ngp.dir/rule
|
182 |
+
.PHONY : ngp
|
183 |
+
|
184 |
+
# clean rule for target.
|
185 |
+
CMakeFiles/ngp.dir/clean:
|
186 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/ngp.dir/build.make CMakeFiles/ngp.dir/clean
|
187 |
+
.PHONY : CMakeFiles/ngp.dir/clean
|
188 |
+
|
189 |
+
#=============================================================================
|
190 |
+
# Target rules for target CMakeFiles/instant-ngp.dir
|
191 |
+
|
192 |
+
# All Build rule for target.
|
193 |
+
CMakeFiles/instant-ngp.dir/all: CMakeFiles/ngp.dir/all
|
194 |
+
CMakeFiles/instant-ngp.dir/all: dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/all
|
195 |
+
CMakeFiles/instant-ngp.dir/all: dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/all
|
196 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/instant-ngp.dir/build.make CMakeFiles/instant-ngp.dir/depend
|
197 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/instant-ngp.dir/build.make CMakeFiles/instant-ngp.dir/build
|
198 |
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/content/instant-ngp/build/CMakeFiles --progress-num=4,5 "Built target instant-ngp"
|
199 |
+
.PHONY : CMakeFiles/instant-ngp.dir/all
|
200 |
+
|
201 |
+
# Build rule for subdir invocation for target.
|
202 |
+
CMakeFiles/instant-ngp.dir/rule: cmake_check_build_system
|
203 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 36
|
204 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/instant-ngp.dir/all
|
205 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 0
|
206 |
+
.PHONY : CMakeFiles/instant-ngp.dir/rule
|
207 |
+
|
208 |
+
# Convenience name for target.
|
209 |
+
instant-ngp: CMakeFiles/instant-ngp.dir/rule
|
210 |
+
.PHONY : instant-ngp
|
211 |
+
|
212 |
+
# clean rule for target.
|
213 |
+
CMakeFiles/instant-ngp.dir/clean:
|
214 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/instant-ngp.dir/build.make CMakeFiles/instant-ngp.dir/clean
|
215 |
+
.PHONY : CMakeFiles/instant-ngp.dir/clean
|
216 |
+
|
217 |
+
#=============================================================================
|
218 |
+
# Target rules for target CMakeFiles/pyngp.dir
|
219 |
+
|
220 |
+
# All Build rule for target.
|
221 |
+
CMakeFiles/pyngp.dir/all: CMakeFiles/ngp.dir/all
|
222 |
+
CMakeFiles/pyngp.dir/all: dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/all
|
223 |
+
CMakeFiles/pyngp.dir/all: dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/all
|
224 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/pyngp.dir/build.make CMakeFiles/pyngp.dir/depend
|
225 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/pyngp.dir/build.make CMakeFiles/pyngp.dir/build
|
226 |
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/content/instant-ngp/build/CMakeFiles --progress-num=26,27 "Built target pyngp"
|
227 |
+
.PHONY : CMakeFiles/pyngp.dir/all
|
228 |
+
|
229 |
+
# Build rule for subdir invocation for target.
|
230 |
+
CMakeFiles/pyngp.dir/rule: cmake_check_build_system
|
231 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 36
|
232 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/pyngp.dir/all
|
233 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 0
|
234 |
+
.PHONY : CMakeFiles/pyngp.dir/rule
|
235 |
+
|
236 |
+
# Convenience name for target.
|
237 |
+
pyngp: CMakeFiles/pyngp.dir/rule
|
238 |
+
.PHONY : pyngp
|
239 |
+
|
240 |
+
# clean rule for target.
|
241 |
+
CMakeFiles/pyngp.dir/clean:
|
242 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/pyngp.dir/build.make CMakeFiles/pyngp.dir/clean
|
243 |
+
.PHONY : CMakeFiles/pyngp.dir/clean
|
244 |
+
|
245 |
+
#=============================================================================
|
246 |
+
# Target rules for target dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir
|
247 |
+
|
248 |
+
# All Build rule for target.
|
249 |
+
dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/all: dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/all
|
250 |
+
$(MAKE) $(MAKESILENT) -f dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/depend
|
251 |
+
$(MAKE) $(MAKESILENT) -f dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build
|
252 |
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/content/instant-ngp/build/CMakeFiles --progress-num=28,29,30,31,32,33,34,35,36,37,38 "Built target tiny-cuda-nn"
|
253 |
+
.PHONY : dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/all
|
254 |
+
|
255 |
+
# Build rule for subdir invocation for target.
|
256 |
+
dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/rule: cmake_check_build_system
|
257 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 14
|
258 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/all
|
259 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 0
|
260 |
+
.PHONY : dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/rule
|
261 |
+
|
262 |
+
# Convenience name for target.
|
263 |
+
tiny-cuda-nn: dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/rule
|
264 |
+
.PHONY : tiny-cuda-nn
|
265 |
+
|
266 |
+
# clean rule for target.
|
267 |
+
dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/clean:
|
268 |
+
$(MAKE) $(MAKESILENT) -f dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/build.make dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/clean
|
269 |
+
.PHONY : dependencies/tiny-cuda-nn/CMakeFiles/tiny-cuda-nn.dir/clean
|
270 |
+
|
271 |
+
#=============================================================================
|
272 |
+
# Target rules for target dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir
|
273 |
+
|
274 |
+
# All Build rule for target.
|
275 |
+
dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/all:
|
276 |
+
$(MAKE) $(MAKESILENT) -f dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/build.make dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/depend
|
277 |
+
$(MAKE) $(MAKESILENT) -f dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/build.make dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/build
|
278 |
+
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/content/instant-ngp/build/CMakeFiles --progress-num=1,2,3 "Built target fmt"
|
279 |
+
.PHONY : dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/all
|
280 |
+
|
281 |
+
# Build rule for subdir invocation for target.
|
282 |
+
dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/rule: cmake_check_build_system
|
283 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 3
|
284 |
+
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/all
|
285 |
+
$(CMAKE_COMMAND) -E cmake_progress_start /content/instant-ngp/build/CMakeFiles 0
|
286 |
+
.PHONY : dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/rule
|
287 |
+
|
288 |
+
# Convenience name for target.
|
289 |
+
fmt: dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/rule
|
290 |
+
.PHONY : fmt
|
291 |
+
|
292 |
+
# clean rule for target.
|
293 |
+
dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/clean:
|
294 |
+
$(MAKE) $(MAKESILENT) -f dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/build.make dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/clean
|
295 |
+
.PHONY : dependencies/tiny-cuda-nn/dependencies/fmt/CMakeFiles/fmt.dir/clean
|
296 |
+
|
297 |
+
#=============================================================================
|
298 |
+
# Special targets to cleanup operation of make.
|
299 |
+
|
300 |
+
# Special rule to run CMake to check the build system integrity.
|
301 |
+
# No rule that depends on this can have commands that come from listfiles
|
302 |
+
# because they might be regenerated.
|
303 |
+
cmake_check_build_system:
|
304 |
+
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
305 |
+
.PHONY : cmake_check_build_system
|
306 |
+
|