Download Makefile from camenduru/tiny-cuda-nn: direct link, hf CLI and curl.
- Browser
- Download file 14.8 kB
-
https://huggingface.co/camenduru/tiny-cuda-nn/resolve/main/Makefile
- Command line
-
hf download hf://camenduru/tiny-cuda-nn/Makefile
-
curl -L -o Makefile https://huggingface.co/camenduru/tiny-cuda-nn/resolve/main/Makefile
14.8 kB
| # CMAKE generated file: DO NOT EDIT! | |
| # Generated by "Unix Makefiles" Generator, CMake Version 3.27 | |
| # Default target executed when no arguments are given to make. | |
| default_target: all | |
| .PHONY : default_target | |
| # Allow only one "make -f Makefile2" at a time, but pass parallelism. | |
| .NOTPARALLEL: | |
| #============================================================================= | |
| # Special targets provided by cmake. | |
| # Disable implicit rules so canonical targets will work. | |
| .SUFFIXES: | |
| # Disable VCS-based implicit rules. | |
| % : %,v | |
| # Disable VCS-based implicit rules. | |
| % : RCS/% | |
| # Disable VCS-based implicit rules. | |
| % : RCS/%,v | |
| # Disable VCS-based implicit rules. | |
| % : SCCS/s.% | |
| # Disable VCS-based implicit rules. | |
| % : s.% | |
| .SUFFIXES: .hpux_make_needs_suffix_list | |
| # Command-line flag to silence nested $(MAKE). | |
| $(VERBOSE)MAKESILENT = -s | |
| #Suppress display of executed commands. | |
| $(VERBOSE).SILENT: | |
| # A target that is always out of date. | |
| cmake_force: | |
| .PHONY : cmake_force | |
| #============================================================================= | |
| # Set environment variables for the build. | |
| # The shell in which to execute make rules. | |
| SHELL = /bin/sh | |
| # The CMake executable. | |
| CMAKE_COMMAND = /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake | |
| # The command to remove a file. | |
| RM = /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E rm -f | |
| # Escaping for special characters. | |
| EQUALS = = | |
| # The top-level source directory on which CMake was run. | |
| CMAKE_SOURCE_DIR = /content/tiny-cuda-nn | |
| # The top-level build directory on which CMake was run. | |
| CMAKE_BINARY_DIR = /content/tiny-cuda-nn/build | |
| #============================================================================= | |
| # Targets provided globally by CMake. | |
| # Special rule for the target edit_cache | |
| edit_cache: | |
| @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "No interactive CMake dialog available..." | |
| /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. | |
| .PHONY : edit_cache | |
| # Special rule for the target edit_cache | |
| edit_cache/fast: edit_cache | |
| .PHONY : edit_cache/fast | |
| # Special rule for the target rebuild_cache | |
| rebuild_cache: | |
| @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..." | |
| /usr/local/lib/python3.10/dist-packages/cmake/data/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) | |
| .PHONY : rebuild_cache | |
| # Special rule for the target rebuild_cache | |
| rebuild_cache/fast: rebuild_cache | |
| .PHONY : rebuild_cache/fast | |
| # The main all target | |
| all: cmake_check_build_system | |
| $(CMAKE_COMMAND) -E cmake_progress_start /content/tiny-cuda-nn/build/CMakeFiles /content/tiny-cuda-nn/build//CMakeFiles/progress.marks | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all | |
| $(CMAKE_COMMAND) -E cmake_progress_start /content/tiny-cuda-nn/build/CMakeFiles 0 | |
| .PHONY : all | |
| # The main clean target | |
| clean: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean | |
| .PHONY : clean | |
| # The main clean target | |
| clean/fast: clean | |
| .PHONY : clean/fast | |
| # Prepare targets for installation. | |
| preinstall: all | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall | |
| .PHONY : preinstall | |
| # Prepare targets for installation. | |
| preinstall/fast: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall | |
| .PHONY : preinstall/fast | |
| # clear depends | |
| depend: | |
| $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 | |
| .PHONY : depend | |
| #============================================================================= | |
| # Target rules for targets named tiny-cuda-nn | |
| # Build rule for target. | |
| tiny-cuda-nn: cmake_check_build_system | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 tiny-cuda-nn | |
| .PHONY : tiny-cuda-nn | |
| # fast build rule for target. | |
| tiny-cuda-nn/fast: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/build | |
| .PHONY : tiny-cuda-nn/fast | |
| #============================================================================= | |
| # Target rules for targets named fmt | |
| # Build rule for target. | |
| fmt: cmake_check_build_system | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 fmt | |
| .PHONY : fmt | |
| # fast build rule for target. | |
| fmt/fast: | |
| $(MAKE) $(MAKESILENT) -f dependencies/fmt/CMakeFiles/fmt.dir/build.make dependencies/fmt/CMakeFiles/fmt.dir/build | |
| .PHONY : fmt/fast | |
| #============================================================================= | |
| # Target rules for targets named mlp_learning_an_image | |
| # Build rule for target. | |
| mlp_learning_an_image: cmake_check_build_system | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 mlp_learning_an_image | |
| .PHONY : mlp_learning_an_image | |
| # fast build rule for target. | |
| mlp_learning_an_image/fast: | |
| $(MAKE) $(MAKESILENT) -f samples/CMakeFiles/mlp_learning_an_image.dir/build.make samples/CMakeFiles/mlp_learning_an_image.dir/build | |
| .PHONY : mlp_learning_an_image/fast | |
| #============================================================================= | |
| # Target rules for targets named bench_image_ours | |
| # Build rule for target. | |
| bench_image_ours: cmake_check_build_system | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 bench_image_ours | |
| .PHONY : bench_image_ours | |
| # fast build rule for target. | |
| bench_image_ours/fast: | |
| $(MAKE) $(MAKESILENT) -f benchmarks/image/CMakeFiles/bench_image_ours.dir/build.make benchmarks/image/CMakeFiles/bench_image_ours.dir/build | |
| .PHONY : bench_image_ours/fast | |
| src/common_host.o: src/common_host.cu.o | |
| .PHONY : src/common_host.o | |
| # target to build an object file | |
| src/common_host.cu.o: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/common_host.cu.o | |
| .PHONY : src/common_host.cu.o | |
| src/common_host.i: src/common_host.cu.i | |
| .PHONY : src/common_host.i | |
| # target to preprocess a source file | |
| src/common_host.cu.i: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/common_host.cu.i | |
| .PHONY : src/common_host.cu.i | |
| src/common_host.s: src/common_host.cu.s | |
| .PHONY : src/common_host.s | |
| # target to generate assembly for a file | |
| src/common_host.cu.s: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/common_host.cu.s | |
| .PHONY : src/common_host.cu.s | |
| src/cpp_api.o: src/cpp_api.cu.o | |
| .PHONY : src/cpp_api.o | |
| # target to build an object file | |
| src/cpp_api.cu.o: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/cpp_api.cu.o | |
| .PHONY : src/cpp_api.cu.o | |
| src/cpp_api.i: src/cpp_api.cu.i | |
| .PHONY : src/cpp_api.i | |
| # target to preprocess a source file | |
| src/cpp_api.cu.i: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/cpp_api.cu.i | |
| .PHONY : src/cpp_api.cu.i | |
| src/cpp_api.s: src/cpp_api.cu.s | |
| .PHONY : src/cpp_api.s | |
| # target to generate assembly for a file | |
| src/cpp_api.cu.s: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/cpp_api.cu.s | |
| .PHONY : src/cpp_api.cu.s | |
| src/cutlass_mlp.o: src/cutlass_mlp.cu.o | |
| .PHONY : src/cutlass_mlp.o | |
| # target to build an object file | |
| src/cutlass_mlp.cu.o: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/cutlass_mlp.cu.o | |
| .PHONY : src/cutlass_mlp.cu.o | |
| src/cutlass_mlp.i: src/cutlass_mlp.cu.i | |
| .PHONY : src/cutlass_mlp.i | |
| # target to preprocess a source file | |
| src/cutlass_mlp.cu.i: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/cutlass_mlp.cu.i | |
| .PHONY : src/cutlass_mlp.cu.i | |
| src/cutlass_mlp.s: src/cutlass_mlp.cu.s | |
| .PHONY : src/cutlass_mlp.s | |
| # target to generate assembly for a file | |
| src/cutlass_mlp.cu.s: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/cutlass_mlp.cu.s | |
| .PHONY : src/cutlass_mlp.cu.s | |
| src/encoding.o: src/encoding.cu.o | |
| .PHONY : src/encoding.o | |
| # target to build an object file | |
| src/encoding.cu.o: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.o | |
| .PHONY : src/encoding.cu.o | |
| src/encoding.i: src/encoding.cu.i | |
| .PHONY : src/encoding.i | |
| # target to preprocess a source file | |
| src/encoding.cu.i: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.i | |
| .PHONY : src/encoding.cu.i | |
| src/encoding.s: src/encoding.cu.s | |
| .PHONY : src/encoding.s | |
| # target to generate assembly for a file | |
| src/encoding.cu.s: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/encoding.cu.s | |
| .PHONY : src/encoding.cu.s | |
| src/fully_fused_mlp.o: src/fully_fused_mlp.cu.o | |
| .PHONY : src/fully_fused_mlp.o | |
| # target to build an object file | |
| src/fully_fused_mlp.cu.o: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/fully_fused_mlp.cu.o | |
| .PHONY : src/fully_fused_mlp.cu.o | |
| src/fully_fused_mlp.i: src/fully_fused_mlp.cu.i | |
| .PHONY : src/fully_fused_mlp.i | |
| # target to preprocess a source file | |
| src/fully_fused_mlp.cu.i: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/fully_fused_mlp.cu.i | |
| .PHONY : src/fully_fused_mlp.cu.i | |
| src/fully_fused_mlp.s: src/fully_fused_mlp.cu.s | |
| .PHONY : src/fully_fused_mlp.s | |
| # target to generate assembly for a file | |
| src/fully_fused_mlp.cu.s: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/fully_fused_mlp.cu.s | |
| .PHONY : src/fully_fused_mlp.cu.s | |
| src/loss.o: src/loss.cu.o | |
| .PHONY : src/loss.o | |
| # target to build an object file | |
| src/loss.cu.o: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/loss.cu.o | |
| .PHONY : src/loss.cu.o | |
| src/loss.i: src/loss.cu.i | |
| .PHONY : src/loss.i | |
| # target to preprocess a source file | |
| src/loss.cu.i: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/loss.cu.i | |
| .PHONY : src/loss.cu.i | |
| src/loss.s: src/loss.cu.s | |
| .PHONY : src/loss.s | |
| # target to generate assembly for a file | |
| src/loss.cu.s: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/loss.cu.s | |
| .PHONY : src/loss.cu.s | |
| src/network.o: src/network.cu.o | |
| .PHONY : src/network.o | |
| # target to build an object file | |
| src/network.cu.o: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/network.cu.o | |
| .PHONY : src/network.cu.o | |
| src/network.i: src/network.cu.i | |
| .PHONY : src/network.i | |
| # target to preprocess a source file | |
| src/network.cu.i: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/network.cu.i | |
| .PHONY : src/network.cu.i | |
| src/network.s: src/network.cu.s | |
| .PHONY : src/network.s | |
| # target to generate assembly for a file | |
| src/network.cu.s: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/network.cu.s | |
| .PHONY : src/network.cu.s | |
| src/object.o: src/object.cu.o | |
| .PHONY : src/object.o | |
| # target to build an object file | |
| src/object.cu.o: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/object.cu.o | |
| .PHONY : src/object.cu.o | |
| src/object.i: src/object.cu.i | |
| .PHONY : src/object.i | |
| # target to preprocess a source file | |
| src/object.cu.i: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/object.cu.i | |
| .PHONY : src/object.cu.i | |
| src/object.s: src/object.cu.s | |
| .PHONY : src/object.s | |
| # target to generate assembly for a file | |
| src/object.cu.s: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/object.cu.s | |
| .PHONY : src/object.cu.s | |
| src/optimizer.o: src/optimizer.cu.o | |
| .PHONY : src/optimizer.o | |
| # target to build an object file | |
| src/optimizer.cu.o: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/optimizer.cu.o | |
| .PHONY : src/optimizer.cu.o | |
| src/optimizer.i: src/optimizer.cu.i | |
| .PHONY : src/optimizer.i | |
| # target to preprocess a source file | |
| src/optimizer.cu.i: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/optimizer.cu.i | |
| .PHONY : src/optimizer.cu.i | |
| src/optimizer.s: src/optimizer.cu.s | |
| .PHONY : src/optimizer.s | |
| # target to generate assembly for a file | |
| src/optimizer.cu.s: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/optimizer.cu.s | |
| .PHONY : src/optimizer.cu.s | |
| src/reduce_sum.o: src/reduce_sum.cu.o | |
| .PHONY : src/reduce_sum.o | |
| # target to build an object file | |
| src/reduce_sum.cu.o: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/reduce_sum.cu.o | |
| .PHONY : src/reduce_sum.cu.o | |
| src/reduce_sum.i: src/reduce_sum.cu.i | |
| .PHONY : src/reduce_sum.i | |
| # target to preprocess a source file | |
| src/reduce_sum.cu.i: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/reduce_sum.cu.i | |
| .PHONY : src/reduce_sum.cu.i | |
| src/reduce_sum.s: src/reduce_sum.cu.s | |
| .PHONY : src/reduce_sum.s | |
| # target to generate assembly for a file | |
| src/reduce_sum.cu.s: | |
| $(MAKE) $(MAKESILENT) -f CMakeFiles/tiny-cuda-nn.dir/build.make CMakeFiles/tiny-cuda-nn.dir/src/reduce_sum.cu.s | |
| .PHONY : src/reduce_sum.cu.s | |
| # Help Target | |
| help: | |
| @echo "The following are some of the valid targets for this Makefile:" | |
| @echo "... all (the default if no target is provided)" | |
| @echo "... clean" | |
| @echo "... depend" | |
| @echo "... edit_cache" | |
| @echo "... rebuild_cache" | |
| @echo "... bench_image_ours" | |
| @echo "... fmt" | |
| @echo "... mlp_learning_an_image" | |
| @echo "... tiny-cuda-nn" | |
| @echo "... src/common_host.o" | |
| @echo "... src/common_host.i" | |
| @echo "... src/common_host.s" | |
| @echo "... src/cpp_api.o" | |
| @echo "... src/cpp_api.i" | |
| @echo "... src/cpp_api.s" | |
| @echo "... src/cutlass_mlp.o" | |
| @echo "... src/cutlass_mlp.i" | |
| @echo "... src/cutlass_mlp.s" | |
| @echo "... src/encoding.o" | |
| @echo "... src/encoding.i" | |
| @echo "... src/encoding.s" | |
| @echo "... src/fully_fused_mlp.o" | |
| @echo "... src/fully_fused_mlp.i" | |
| @echo "... src/fully_fused_mlp.s" | |
| @echo "... src/loss.o" | |
| @echo "... src/loss.i" | |
| @echo "... src/loss.s" | |
| @echo "... src/network.o" | |
| @echo "... src/network.i" | |
| @echo "... src/network.s" | |
| @echo "... src/object.o" | |
| @echo "... src/object.i" | |
| @echo "... src/object.s" | |
| @echo "... src/optimizer.o" | |
| @echo "... src/optimizer.i" | |
| @echo "... src/optimizer.s" | |
| @echo "... src/reduce_sum.o" | |
| @echo "... src/reduce_sum.i" | |
| @echo "... src/reduce_sum.s" | |
| .PHONY : help | |
| #============================================================================= | |
| # Special targets to cleanup operation of make. | |
| # Special rule to run CMake to check the build system integrity. | |
| # No rule that depends on this can have commands that come from listfiles | |
| # because they might be regenerated. | |
| cmake_check_build_system: | |
| $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 | |
| .PHONY : cmake_check_build_system | |