triton
triton copied to clipboard
make error
[ 66%] Building CXX object lib/Dialect/TritonGPU/Transforms/CMakeFiles/TritonGPUTransforms.dir/ReorderInstructions.cpp.o
[ 67%] Building CXX object lib/Dialect/TritonGPU/Transforms/CMakeFiles/TritonGPUTransforms.dir/Utility.cpp.o
[ 67%] Built target TritonGPUTransforms
[ 67%] Building CXX object lib/Conversion/TritonToTritonGPU/CMakeFiles/TritonToTritonGPU.dir/TritonToTritonGPUPass.cpp.o
[ 67%] Building CXX object lib/Dialect/TritonNvidiaGPU/Transforms/CMakeFiles/TritonNvidiaGPUTransforms.dir/PlanCTA.cpp.o
[ 70%] Building CXX object lib/Dialect/TritonNvidiaGPU/Transforms/CMakeFiles/TritonNvidiaGPUTransforms.dir/FenceInsertion.cpp.o
[ 70%] Building CXX object lib/Conversion/TritonToTritonGPU/CMakeFiles/TritonToTritonGPU.dir/TritonGPUConversion.cpp.o
[ 71%] Building CXX object lib/Dialect/TritonNvidiaGPU/Transforms/CMakeFiles/TritonNvidiaGPUTransforms.dir/TMALowering.cpp.o
[ 71%] Built target TritonNvidiaGPUTransforms
[ 72%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/TypeConverter.cpp.o
[ 72%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/ConvertLayoutOpToLLVM/SharedToDotOperandFMA.cpp.o
[ 72%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/DotOpToLLVM/FMA.cpp.o
[ 72%] Built target TritonToTritonGPU
[ 73%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/Utility.cpp.o
[ 75%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/ElementwiseOpToLLVM.cpp.o
[ 75%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/MemoryOpToLLVM.cpp.o
[ 76%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/AssertOpToLLVM.cpp.o
[ 76%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/ViewOpToLLVM.cpp.o
[ 77%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/MakeRangeOpToLLVM.cpp.o
[ 77%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/HistogramOpToLLVM.cpp.o
[ 78%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/AllocateSharedMemory.cpp.o
[ 78%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/ReduceOpToLLVM.cpp.o
[ 79%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/ScanOpToLLVM.cpp.o
[ 80%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/ConvertLayoutOpToLLVM.cpp.o
[ 80%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/ControlFlowOpToLLVM.cpp.o
[ 82%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/FuncOpToLLVM.cpp.o
[ 82%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/SPMDOpToLLVM.cpp.o
[ 83%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/DecomposeUnsupportedConversions.cpp.o
[ 83%] Building CXX object lib/Conversion/TritonGPUToLLVM/CMakeFiles/TritonGPUToLLVM.dir/PrintOpToLLVM.cpp.o
[ 83%] Built target TritonGPUToLLVM
[ 84%] Building CXX object lib/Target/LLVMIR/CMakeFiles/TritonLLVMIR.dir/LLVMDIScope.cpp.o
[ 84%] Building CXX object lib/Target/LLVMIR/CMakeFiles/TritonLLVMIR.dir/LLVMIRBreakPhiStruct.cpp.o
[ 84%] Built target TritonLLVMIR
[ 89%] Building CXX object bin/CMakeFiles/triton-reduce.dir/triton-reduce.cpp.o
[ 89%] Building CXX object bin/CMakeFiles/triton-llvm-opt.dir/triton-llvm-opt.cpp.o
[ 89%] Building CXX object bin/CMakeFiles/triton-lsp.dir/triton-lsp.cpp.o
[ 89%] Building CXX object bin/CMakeFiles/triton-opt.dir/triton-opt.cpp.o
In file included from /home/tpy/source_code/triton/bin/./RegisterTritonDialects.h:2,
from /home/tpy/source_code/triton/bin/triton-opt.cpp:1:
/home/tpy/source_code/triton/./third_party/nvidia/include/Dialect/NVGPU/IR/Dialect.h:32:10: fatal error: nvidia/include/Dialect/NVGPU/IR/Dialect.h.inc: No such file or directory
32 | #include "nvidia/include/Dialect/NVGPU/IR/Dialect.h.inc"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/tpy/source_code/triton/bin/./RegisterTritonDialects.h:2,
from /home/tpy/source_code/triton/bin/triton-lsp.cpp:1:
/home/tpy/source_code/triton/./third_party/nvidia/include/Dialect/NVGPU/IR/Dialect.h:32:10: fatal error: nvidia/include/Dialect/NVGPU/IR/Dialect.h.inc: No such file or directory
32 | #include "nvidia/include/Dialect/NVGPU/IR/Dialect.h.inc"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [bin/CMakeFiles/triton-opt.dir/build.make:76: bin/CMakeFiles/triton-opt.dir/triton-opt.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2954: bin/CMakeFiles/triton-opt.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [bin/CMakeFiles/triton-lsp.dir/build.make:76: bin/CMakeFiles/triton-lsp.dir/triton-lsp.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3030: bin/CMakeFiles/triton-lsp.dir/all] Error 2
In file included from /home/tpy/source_code/triton/bin/./RegisterTritonDialects.h:2,
from /home/tpy/source_code/triton/bin/triton-reduce.cpp:1:
/home/tpy/source_code/triton/./third_party/nvidia/include/Dialect/NVGPU/IR/Dialect.h:32:10: fatal error: nvidia/include/Dialect/NVGPU/IR/Dialect.h.inc: No such file or directory
32 | #include "nvidia/include/Dialect/NVGPU/IR/Dialect.h.inc"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [bin/CMakeFiles/triton-reduce.dir/build.make:76: bin/CMakeFiles/triton-reduce.dir/triton-reduce.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2992: bin/CMakeFiles/triton-reduce.dir/all] Error 2
[ 89%] Linking CXX executable triton-llvm-opt
/usr/bin/ld: cannot find -lNVGPUIR
collect2: error: ld returned 1 exit status
make[2]: *** [bin/CMakeFiles/triton-llvm-opt.dir/build.make:374: bin/triton-llvm-opt] Error 1
make[1]: *** [CMakeFiles/Makefile2:3066: bin/CMakeFiles/triton-llvm-opt.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
When I use make to compile and install, I get a problem that there is no above file, the third-party inventory is in the corresponding file but does not have the .inc suffix.